Craft your dream 2D gaming experiences with the X-Craft engine.
Semi-inspired by the systems of the GameMaker engine but fully source-code based (C++), the X-Craft engine hopes to be the ideal engine for indie game devs coming from a programming background.
No longer do you need to figure out how to integrate your abstractions in your engine of choice; build them in regular code and integrate it with the engine by default!
Requirements:
- SDL, SDL_image, SDL_ttf, and SDL_mixer
- gcc
- make
- Probably Linux system
- May work on other *nix or even Windows/Mac if set up correctly
- Only Linux systems are officially supported tho
Nix users can create a valid shell via nix-shell
- Fork project. You're probably not going to touch the things in the
(src|include)/engine/
folders, but you will mess with everything else - Add your images and audio to the proper folders
- Load your images and audio into the proper global hashmaps a la examples in
main.cpp
- Create your custom GameObjects in the
(src|include)/gameobjs/
folders to define behavior for your game (seePlayer.h/cpp
andBrick.h/cpp
for examples)- This is also where you define sprites for animation frames
- Create rooms to hold instances of GameObjects in the
(src|include)/rooms/
folders (seeRoom0.h/cpp
for examples) - Replace
x-craft
with the name of your game in theMakefile
and insrc/engine/globals.cpp
- Run
make
to build your binary
Check out the x-snake
branch for an example of how to make a game in the engine.