Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sinislosion/raquet

2D Game Engine written in pure C99
https://github.com/sinislosion/raquet

c99 game-engine retro sdl sdl2

Last synced: 4 months ago
JSON representation

2D Game Engine written in pure C99

Awesome Lists containing this project

README

        

![Version Badge](https://img.shields.io/badge/Pre_Release-1.1.0-%2365aaff) ![SDL Badge](https://img.shields.io/badge/Backend-SDL2-%23dd6fff)

# Raquet Game Engine
![Raquet Game Engine -- Logo by Chris S.](/raquetlogo.png)

Lightweight SDL Engine made for Sinislosion Projects, and also free (as in free speech AND free beer) Game Engine/Framework to speed up SDL development while also providing tools to make games resembling those from the computers of yesteryear.

Documentation can be found at [https://raquet.sinislosion.net/](https://raquet.sinislosion.net/)


# Features
- 2D 4 Color Tile-Based Rendering
- Audio Playback using SDL Mixer
- Keyboard and Mouse Input Handling
- Collision Detection
- Video-Game-Specific Math Functions
- Palette Swapping
- Basic Game Object Management (Actors)

## Compilation
### Linux
1. First install the necessary dependencies

Debian Linux:

`sudo apt-get install clang sdl2-devel libsdl2-mixer-dev`

Arch Linux:

`sudo pacman -S clang sdl2 sdl2_mixer`
2. cd into the repo's directory
3. run `make`

### Windows
You'll need to use MSYS2, or use a cross compiler for this
1. On Windows, download [MSYS2](https://www.msys2.org/)
2. Run `MSYS2 MINGW64`
3. Update MSYS2 with `pacman -Syyu`
4. Install the necessary dependencies with `pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_mixer`
5. cd into the repo's directory
6. Run `make`

# License/Credits
- "2A03_Kevvviiinnn-Superfusion.wav" exported from Famitracker's demo included songs is licensed under the GPL v2.0 and was created by [symfonikev](https://www.youtube.com/watch?v=gvhjNV9uKl8)

- Everything else is licensed under the [WTFPL](http://www.wtfpl.net/about/)
- Palette is "Digital Prime" by FirebrandX at [firebrandx.com](http://www.firebrandx.com/nespalettes.html) and used with permission


![sinislosion_userbar](https://github.com/Sinislosion/Raquet/assets/144758323/def817b8-65ae-451c-ab79-ace6702e44ae)