This is an SDL 1.2 game project that implements various game components:
- Player character movement and physics
- Enemy AI with collision detection
- Background with camera support
- Menu system
- Minimap functionality
- Two puzzle/enigma mini-games
assets/- Contains all game resources organized in subdirectoriesenigme1/- Resources for the first puzzleenigme2/- Resources for the second puzzlefonts/- Game fontsmusic/- Music filessounds/- Sound effectstextures/- Game textures and sprites
- Source files:
main.c- Main game loop and state managementassets.c/h- Asset management utilitiesmenu.c/h- Menu systemjoueur.c/h- Player character implementationennemie.c/h- Enemy AI implementationbackground.c/h- Background rendering and cameraminimap.c/h- Minimap functionalityenigme1.c/h- First puzzle implementationenigme2.c/h- Second puzzle implementation
- Run
setup_assets.batto set up the asset directory structure - Make sure you have SDL 1.2 development libraries installed:
- SDL 1.2
- SDL_image 1.2
- SDL_ttf 2.0
- SDL_mixer 1.2
- Compile the project using the makefile
- Run the executable
- Arrow keys: Move player
- Space: Jump
- Esc: Return to menu
The game includes two puzzle mini-games:
- Quiz-style puzzle
- Drag-and-drop puzzle piece matching game