SDL Breakout Engine
0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource management.
|
This is the complete API reference for SDL2 Breakout version 0.1.0. Contained within are the specifications for each namespace/module/class and the methods from those which you can refer to when writing code which uses headers found within. As the engine that supports this game evolves the game will be updated to fit the engine specification. Version 1.0.0 will be the first engine version.
To build the game and engine run python3 build.py within the Game directory. To build the game from source you will need to have the sdl development libraries installed.
Breakout ships with 3 predefined levels locatable in Game/Assets/levels but you are welcome to define more. To run the game run the executable /bin/breakout like so:
/bin/breakout
You can also pass which level like so:
/bin/breakout level2.txt
You can also pass which language to use like so:
/bin/breakout level2.txt spanish
Note that if you pass a language you have to pass a level :)
You can build your own levels as documented in the LevelManager. Place them within the Assets/levels folder.
By default english to spanish translation is available but you can define your own localization as documented in LocalizationManager. Place your configs within the Assets/localization folder.
Background Music composed by Oscar Owl
Breakout game assets downloaded from unity store, all royalty free.
Feel free to contact me at thermitchellman@gmail.com for more information.