Libraries

stmm-games

Latest version: 0.13

Extensible 2D games library for C++

Beware! This library is very alpha and its API and ABI are constantly changing, even when a new release just increases the minor version number.

Debian binary packages (amd64 architecture only)

For Debian based Linux distros like Debian, Ubuntu, Linux Mint, etc.
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo apt-get install librsvg2-2 libxml++2.6-2v5

Download, unzip and install

$ wget https://www.efanomars.com/stmm-games-0.13-1-dist.tar.gz
$ tar xvz -f stmm-games-0.13-1-dist.tar.gz
$ cd stmm-games-0.13
$ ./install-bin.sh    # with -d also development debs are installed

Uninstall

From the same directory of install-bin.sh
$ ./uninstall-bin.sh    # with -d also development debs are uninstalled

Arch binary packages (amd64 architecture only)

For Linux Arch based distros like Arch, Manjaro, etc.
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo pacman -S librsvg libxml++2.6

Download and install

$ wget https://www.efanomars.com/stmm-games-0.13-1-x86_64.pkg.tar.xz
$ sudo pacman -U stmm-games-0.13-1-x86_64.pkg.tar.xz

Uninstall

$ sudo pacman -R stmm-games

Other linux distributions or architectures

Prerequisite projects (must be installed first)

Prerequisite packages

Download, build and install

$ git clone https://gitlab.com/efanomars/stmm-games.git
$ cd stmm-games
$ STMM_MAKE_OPTIONS="--jobs=4"   ./scripts/install_stmm-games-all.py -b=Release

Uninstall

$ ./scripts/uninstall_stmm-games-all.py

Contents

This source package contains:
  • libstmm-games: library that defines the base classes of the model and the interfaces of the view of a game
  • libstmm-games-fake: library meant for developers that need to test their game based on libstmm-games
  • libstmm-games-gtk: library that implements a view of a game with gtkmm, providing a Gtk::Window subclass that automatically generates preferences, highscore dialogs based on parameters passed to it
  • libstmm-games-xml: library that provides a game and theme definition “language” based on xml and persistency for preferences and highscores