A clone of the game Chuckie Egg originally released in 1983. This version, using SDL 2 (among other helper libraries) in C++, was created for the Games Programming module at the University of Lincoln.
The easiest way to download the game is via the releases page.
If you have visual studio, you can also generate an sln file by using premake from the command line:
premake5.bat vs2015
Default controls are:
- WASD - move
- SPACE - jump
- Arrow Keys - move
- Right CTRL - jump
Here is a list of extra features:
- Key remapping - within the assets folder, see the
keys1.txt
andkeys2.txt
for player 1 and 2 respectively. Each control is on a different line, in the order UP, DOWN, LEFT, RIGHT, JUMP. The keys are represented using SDL key codes found here - A tilemap is used for the levels, read in from seperate files
- Animations use a sprite map, with data held in a JSON file and parsed at runtime
- High score is stored persistently
- The simulation accounts for real time, using std::chrono
- Window resizing - also press F11 for full screen
- Press p for a menu
- Audio can be adjusted using
-
(down) and=
(up) - The player movement audio uses panning (use headphones for best effect)
The game uses the following dependencies:
- glew
- glm
- premake
- SDL2
- SDL2_image
- SDL2_mixer
- SDL2_ttf
- JSON for modern C++ (see repo)
Also thanks to Kevin MacLeod for the background music.