Menu
Install the libsdl2-2.0-0, libsdl2-dev, libsdl2-ttf-2.0-0, and libsdl2-ttf-dev libraries. In order to successfully compile and run this project, you will need to have the SDL 2 libraries on your system. CompilationĬompile on Linux with g++ *.cpp `sdl2-config -cflags -libs` -lSDL2_ttfĬompile on Windows with g++ *.cpp -IC:\SDL\i686-w64-mingw32\include\SDL2 -LC:\SDL\i686-w64-mingw32\lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf Requirements For the moment it only supports one speed. The game implements lives system, pause, and Game Over screen. Small prototype of the snake game made in C++ with the SDL 2 library (dev and ttf-dev, from SDL2).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |