10 Second Slaughter by KJScott
Requires installation of Python 2.7 and Pygame 1.9
Use the Antichrist's shadow to kill the vile redshirt menace by manipulating your environment without killing yourself.
Press Z to toggle shadow mode
Press X to interact with objects
Press C to jump
Max score is approximately 120
Contact : @nerdofgamers - Graphics, @tccoxon & @db434 - Programming
Use the Antichrist's shadow to kill the vile redshirt menace by manipulating your environment without killing yourself.
Press Z to toggle shadow mode
Press X to interact with objects
Press C to jump
Max score is approximately 120
Contact : @nerdofgamers - Graphics, @tccoxon & @db434 - Programming
| Python | http://bytten.net/downloads/ludum27/10SecondSlaughter.zip |
| Original URL | https://ludumdare.com/compo/ludum-dare-27/?action=preview&uid=19560 |
If you're on linux, do you have (libmp3)lame installed? This library is required to playback MP3s.
The error printed is:
Traceback (most recent call last):
File "src/main.py", line 62, in <module>
main()
File "src/main.py", line 40, in main
game.event(ev)
File "/home/arthur/Downloads/LD27_Entries/10SecondSlaughter/src/gamestates.py", line 296, in event
self._state.event(ev)
File "/home/arthur/Downloads/LD27_Entries/10SecondSlaughter/src/gamestates.py", line 54, in event
self.game.set_state(PlayState(self.game))
File "/home/arthur/Downloads/LD27_Entries/10SecondSlaughter/src/gamestates.py", line 174, in set_state
self._state.leave()
File "/home/arthur/Downloads/LD27_Entries/10SecondSlaughter/src/gamestates.py", line 49, in leave
sound.play_main_music()
File "/home/arthur/Downloads/LD27_Entries/10SecondSlaughter/src/sound.py", line 20, in play_main_music
mixer.music.load(os.path.join('assets','music.mp3'))
pygame.error: Unrecognized music format
To fix it, I applied the following patch to src/sound.py:
def play_main_music():
+ print "Music disabled"
- mixer.music.load(os.path.join('assets','music.mp3'))
- mixer.music.play()
...
def play_gameover_music():
+ print "Music disabled"
- mixer.music.load(os.path.join('assets','gameover.mp3'))
- mixer.music.play()
I am probably using an old version of pygame-music, or am missing a python-lame extension or something...
I am running Python 2.7.3 with Pygame 1.9.1 (at least that is what Fedora claims it is). Also, lame is version 3.99.5.