Skip to content
Snippets Groups Projects
Commit e3b7eace authored by Philipp Stahl's avatar Philipp Stahl
Browse files

Merge branch 'master' of...

Merge branch 'master' of edugit.org:Teckids/thementeams/thema-spieleprogrammierung/Workshops/2020-arcade-projekt-corona-ferien/asteroidenschauer
parents 2f505714 1378a662
No related branches found
No related tags found
No related merge requests found
main.py 100644 → 100755
#!/usr/bin/python3
'''
To add:
- fuel canisters
......@@ -202,6 +203,8 @@ class Game(arcade.Window):
shoot.center_y = self.player_sprite.center_y
self.shoot_list.append(shoot)
self.all_sprites_list.append(shoot)
sound = arcade.sound.Sound("sounds/shot.wav")
sound.play(pan=((180 < (self.player_sprite.angle + 90) < 360) - (0 < (self.player_sprite.angle + 90) < 180)))
def on_key_release(self, key, modifier):
if key == CONTROLS["run"]:
......
git clone https://github.com/jarikomppa/soloud.git
cd soloud/build
git clone https://github.com/bkaradzic/genie.git
cd genie
make
cd ..
./genie/bin/linux/genie --os=linux --cc=gcc gmake
cd gmake
make
cd ../..
cp lib/libsoloud.so $HOME/.local/lib/python3.$(python3 -c 'import sys; print(sys.version[2],end="")')/site-packages/arcade/soloud/libsoloud.so
cd ..
rm -fr soloud
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment