Skip to content

Latest commit

 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StickMayhem

Planned Project Layout:

StickMayhem/
|
|-src/
    |-core/       <- All player/weapon/logic not related to Rendering goes here
    |-client/     <- All rendering logic goes here
|-assets/         <- All textures, sound effects and resources go here

Setup Instructions

CLion Setup

If you are using CLion, the setup is straightforward because it comes with built-in vcpkg support.

  1. Open the project folder in CLion.
  2. CLion will detect the CMakeLists.txt file. Open the CMake tool window.
  3. It will automatically detect the vcpkg.json file and handle the dependency installation for you.
  4. Once CMake finishes configuring, you can just select the StickMayhem executable and click the run button in the top right to build and launch the game.

VS Code Setup

If you are using Visual Studio Code, you will need to add a few extensions to get the game running.

  1. Click on the Extensions tab on the left panel and install the "C/C++" extension and the "CMake Tools" extension.
  2. Since we use an external library (Raylib) to draw the game, you need a tool called vcpkg to download it. If you don't have it, go to the official vcpkg GitHub page, download it to your computer, and follow their quick start guide to install it.
  3. Open this project folder in VS Code.
  4. We need to tell VS Code where your vcpkg tool is located so it can find Raylib. Open your VS Code Settings (File > Preferences > Settings), search for CMake: Toolchain File, and type in the path to the vcpkg file on your computer. It should look something like: C:/path/to/your/vcpkg/scripts/buildsystems/vcpkg.cmake.
  5. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the command palette at the top, type "CMake: Configure", and select it. This will automatically download and set up Raylib for you.
  6. Once that finishes, look at the bottom blue bar in VS Code. Click the "Build" button, and then click the "Play" (Run) button next to it to launch the game, and have fun while playing it :D

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages