This is a small auto runner game created using raylib and C++. I have larger ideas for aesthetic and features for this game that I will probably revisit using a more robust technology but this is a nice test and vibe check.
- Opens a window
- Has Sprites/3D Models: Includes textures, shapes, shaders, 3D models
- Capable of user input: Game controller, mouse input, keyboard input, use of camera
- Sprites/3D Models capable of: Movement, animation, collisions
- Plays audio: Background audio or individual audio clips
- Includes text: Load different fonts
- Uses git/github source control
- Use of header and source files
- Power-ups / Invincibility
- Score and reset game on completion
- Parallax Backgrounds
- Different levels of difficulty
- Prevent crouching while jumping
- Better measure of difficulty
I ran into a lot of trouble using the Raylib Starter template copied from class. Running it on my Mac resulted in a lot of issues with compiling and it really didn't play nicewhich is something I found fairly quickly working on the 'main' branch. This like referencing header files within subdirectories broke as the compiler couldn't see them.
The solution was to start over with a fresh template using CMake which I grabbed from here so credit to Grplyler for getting me to that start line to actually make the project here.
If cloning the repo you'll need to copy the steps of the starter template to build and run the project:
- Clone this repository
- Initialize the submodules:
git submodule update --init --recursive
- Build
./b
- Run
./r
- Raylib CMake Starter Template
- Sounds created using fFXGen