NeoRaquet is a game engine developed using SDL2 for creating 2D games. This engine includes functionalities for rendering, audio, input handling, and basic game object management.
- 2D Rendering
- Audio playback with SDL2_mixer
- Input handling (keyboard and mouse)
- Basic game object management (actors)
- Collision detection
- GCC (or any compatible C compiler)
- SDL2
- SDL2_mixer
-
Clone the repository:
git clone https://github.com/colack/NeoRaquet.git cd NeoRaquet
-
Install SDL2 and SDL2_mixer:
- Linux:
sudo apt-get install libsdl2-dev libsdl2-mixer-dev
- MacOS:
brew install sdl2 sdl2_mixer
- Windows:
- Download and install SDL2 and SDL2_mixer.
- Linux:
-
Build the project:
make
After building the project, you can run the executable from the bin
directory:
./bin/game
NeoRaquet/
├── src/ # Source files
│ ├── NeoRaquet.h
│ ├── NeoRaquet_Actor.c
│ ├── NeoRaquet_Actor.h
│ ├── NeoRaquet_Audio.c
│ ├── NeoRaquet_Audio.h
│ ├── NeoRaquet_Input.c
│ ├── NeoRaquet_Input.h
│ ├── NeoRaquet_Main.c
│ ├── NeoRaquet_Math.h
│ ├── NeoRaquet_Render.c
│ ├── NeoRaquet_Render.h
│ └── NeoRaquet_Types.h
└── README.md
Contributions are welcome! If you are looking for a way to contribute, just add some new features, look at our issues, or make something.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.