- C++ 55.7%
- C 43.2%
- CMake 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| editor | ||
| engine | ||
| game | ||
| tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| main.cpp | ||
| README.md | ||
| Runtime.cpp | ||
| Runtime.h | ||
Witch-Game
Currently the game isn't doing much. It is drawing 10000 sprites per frame, and you are able to move with WASD and collide with the other sprites.
There is a rudimentary pause menu and the beginnings of an editor.
In my opinion the most interesting part is probably the collision detection in engine/Geometry.
Other than that maybe the world layout or the in my opinion elegant use of move semantics for actors and components could also be interesting.
I hope that I have the time and motivation to continue adding new stuff soon.
To run the game you need the free character sprites. Since I'm not allowed to distribute them, they have to be downloaded separately.
itch.io: https://elvgames.itch.io/free-fantasy-dreamland-sprites
direct download link: https://elvgames.itch.io/free-fantasy-dreamland-sprites/download/eyJleHBpcmVzIjoxNzg2NTU5Njg0LCJpZCI6MTU3NTAyOH0%3d%2e0N9kNgTRx6ilqqz5x9OqrleqmFw%3d
copy 72x72/Char_012.png to game/assets
if you want to use another character you have to rename the png or edit test.json.
The first build will be slow because it is downloading and building all the dependencies.
Since SDL_mixer depends on SDL 3.4 I didn't want to risk systems having an older version and causing problems.
you can build this project in any IDE that supports CMake or from command line
cd src_directory
mkdir build
cd build
cmake ..
cmake --build .
It should build and run on Linux and Windows. It will probably also work on mac, but I wasn't able to test it there.