A tile-based 2D game engine made for fun and learning
The engine is currently undergoing a partial rewrite and will only run on MacOS and Linux at the moment. Support for Windows is on the roadmap.
Setup for Windows
- Download and install Visual Studio
- Download SDL2, SDL2_TTF, SDL2_Mixer and GLEW (you'll want the development libraries for Visual C++)
- Extract these libraries into a directory (example: C:\Developer)
- Setup environment variables for each, SDL2, SDL2_MIXER, SDL2_TTF and GLEW_ROOT_DIR, pointing to their respective folders
- Download and install CMake
- Make a directory called 'build' in the WolfEngine folder
- In your command line, cd into that build folder you just made
- Run 'cmake -G "Visual Studio 12 2013" ..' (unless you're using a different VS version)
- Open the resulting Visual Studio project file and compile. It will fail to run but that's okay.
- Get the debug DLL's for each SDL addon, they're in the respective lib/x86 directory. Put them all (yes, all of them, that includes libpng and the like) where Visual Studio put your EXE
- Copy the Asset folder into the build directory
- Run the executable again, either through Visual Studio or by double clicking it
- You have succesfully setup WolfEngine for development!
Setup for MacOS
(TODO: more detailed instructions)
Install the required libraries (SDL2, SDL2_TTF and SDL2_Mixer) through a package manager and the XCode build tools, then build using CMake.
Note: GLEW is not required on MacOS
Setup for Ubuntu
Just run Setup/Ubuntu.sh and it should build