This program emulates a space invader arcade game from 1978 with gtk-rs.
I assume the rust toolchain is installed.
- Make sure that you have gtk-rs requirements
(
sudo apt install libgtk-3-dev
on a debian base distribution,brew install gtk+3
on osx). - Other than that, it is classic
cargo build
,cargo run
etc.
- The game works on osx, but whenever I increase the size of the windows, it gets really slow, probably linked to the scaling.
key | function |
---|---|
enter | insert coin |
s | start game |
space | fire |
arrow right | go right |
arrow left | go left |
- Add player 2 commands
- Add sound