Make sure the Qt (>= 5.6) development libraries are installed:
- In Ubuntu/Debian:
apt-get install qt5-default qttools5-dev-tools zlib1g-dev
- In Fedora:
sudo dnf builddep tiled
- In Arch Linux:
pacman -S qt
- In Mac OS X with Homebrew:
brew install qt5
brew link qt5 --force
- Or you can download Qt from: https://www.qt.io/download-open-source/
Now you can compile by running:
qmake (or qmake-qt5 on some systems)
make
To do a shadow build, you can run qmake from a different directory and refer it to space-invaders.pro, for example:
mkdir build
cd build
qmake ../src/space-invaders.pro
make
- Menu
- ↑ / ↓ - Navigate menu
- Enter - Select option
- ← / → - Change parameters
- Game
- ← / → - Move
- Space - Shoot
- P - Pause
- Esc / Q - Exit game