Libraries

stmm-games

Latest version: 0.14

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/bins/stmm-games-0.14-1-dist.tar.gz
$ sha256sum stmm-games-0.14-1-dist.tar.gz    # should return
$ # 31b6783e7a103d9a000e71c3667e50de60046973b6b9c1412647ccd67ec0ed1b
$ tar xvz -f stmm-games-0.14-1-dist.tar.gz
$ cd stmm-games-0.14
$ ./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.

This project is also available in the AUR (Arch User Repository) at https://aur.archlinux.org/packages/stmm-games/.

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/bins/stmm-games-0.14-1-x86_64.pkg.tar.xz
$ sha256sum stmm-games-0.14-1-x86_64.pkg.tar.xz    # should return
$ # 00eda505ac81af359e5fcd120b4a7606c09c5cf258a5c6c4a134507b28abc73a
$ sudo pacman -U stmm-games-0.14-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

Source code

Gitlab: https://gitlab.com/efanomars/stmm-games

Tarball: https://www.efanomars.com/sources/stmm-games-0.14.tar.gz

(sha256sum: d398bf6fda16fa17ff47497ea3fa0b18fb97a11d74c295065efabe71bccb72a4)

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