Registered 2018-08-12 by Raphaël Seban

A game skeleton written in C++ and using SDL2 multimedia library.

README.md file excerpt:

SDL2/C++ Game Template
======================

What is it?
-----------

A game skeleton written in C++ and using the SDL2 multimedia library
(<https://www.libsdl.org/>).

Initially written for my own training in C++ with shared libs, this
game template is now released to coders, in the hope it might be useful
in any way.

Only the most generic basis of a game structure has been implemented
here, giving to you the largest freedom of act.

You may find:

* an easy-to-catch game screen switching system,
* pictures, fonts, sounds and music management through asset store
library,
* general purpose sprites and thread-animated sprites,
* highly configurable and specific thread-animated sprites, such as
score text display, score bonus flying texts and user information fade
in / fade out text display,
* multiple players and high-score management libs,
* predefined screens you can freely tune up to meet your own needs,
* and many, many other features to discover on your own.

Please, take a look at **include/** project directory to get more.

Licensing
---------

This project is licensed under the GNU General Public License (GPL),
either in version 2 or in any later version.

You should have received a LICENSE file along with it.

If not, please see <https://www.gnu.org/licenses/>.

Documentation
-------------

Code should be rather self-explanatory as it has been written in a
scholar style.

However, a Doxygen-generated documentation is now available in **doc/**
project directory.

More information opening **documentation.html** file into a web browser
or directly opening **doc/html/index.html** file instead.

Free as a bird
--------------

Feel free to grab this game template, to adapt it or to upgrade it to
meet your own needs.

Written in C++14, tested and compiled OK under Ubuntu 18.04 and later
versions.

Released as is for training purpose, experimental use, with absolutely
no warranty of any kind (see LICENSE terms).

Tools used
----------

* Geany Integrated Development Environment (IDE) - text editor
(<https://www.geany.org/>)
* GNU Compiler Collection (GCC) - g++ - C++ compiler
(<https://gcc.gnu.org/>)
* GNU make
(<https://www.gnu.org/software/make/>)
* SDL2 multimedia library
(<https://www.libsdl.org/>)

How to install SDL2 library?
----------------------------

On a recent Linux Ubuntu distro, open a terminal console and then enter
the following command:

```
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
```

Enjoy!

---
Keep floppy in, get more fun:

SDL2/C Game Template
<https://launchpad.net/sdl2-c-game-template>

SDL2/C++ Game Template
<https://launchpad.net/sdl2-cpp-game-template>

SDL2/C++ Scuba Max
<https://launchpad.net/sdl2-cpp-scuba-max>

Arduino UNO R3 sketches
<https://launchpad.net/arduino-uno-sketches>

Project information

Maintainer:
Raphaël Seban
Driver:
Raphaël Seban
Licence:
GNU GPL v2, GNU GPL v3

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
C++

All bugs Latest bugs reported

More contributors Top contributors

Get Involved