Raquet

2D Game Engine written in pure C99

WTFPL License

Stars
4

Raquet Game Engine

Raquet Game Engine -- Logo by Chris S. 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/

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
    Gentoo Linux:
    sudo emerge -a sys-devel/clang media-libs/libsdl2 media-libs/sdl2-mixer
  2. cd into the repo's directory
  3. run make

Windows

You'll need to use MSYS2, or use a cross compiler like MinGW GCC for this

  1. On Windows, download MSYS2
  2. Run MSYS2 MINGW64
  3. Update MSYS2 with pacman -Syyu
  4. Install the necessary dependencies with pacman -S make mingw-w64-x86_64-binutils 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
  • Everything else is licensed under the WTFPL
  • Palette is "Digital Prime" by FirebrandX at firebrandx.com and used with permission
    sinislosion_userbar