Skip to content

sugarlabs/stick-hero-activity

Repository files navigation

What is this?

Stick Hero is an arcade game for the Sugar desktop.

How to use?

Stick-Hero is not part of the Sugar desktop, but can be added. Please refer to;

How to upgrade?

On Sugar desktop systems;

How to run?

Stick Hero depends on Python, PyGTK and PyGame.

Stick Hero is started by Sugar.

Stick Hero is not packaged by Debian, Ubuntu and Fedora distributions.
On Ubuntu and Debian systems these required dependencies (python-gtk2-dev and python-pygame) need to be manually installed. On Fedora system these dependencies (pygtk2 and pygame) need to be manually installed.

Running outside Sugar

  • Install the dependencies -

On Debian and Ubuntu systems;

sudo apt install python-gtk2-dev python-pygame

On Fedora systems;

sudo dnf install pygtk2 pygame
  • Clone the repo and run-
git clone https://github.com/sugarlabs/stick-hero-activity.git
cd stick-hero-activity
python main.py

Running inside Sugar

  • Open Terminal activity and change to the Stick Hero activity directory
cd activities\StickHero.activity
  • To run
sugar-activity .