{"author_link":"\/author\/kjscott\/","author_name":"KJScott","author_uid":"19560","comments":[{"author_name":"Plu","author_uid":"26189","time":"Aug 26, 2013 @ 7:25pm","epoch":1377544800,"text":"Requires installation of Python 2.7 and Pygame 1.9"},{"author_name":"tombsar","author_uid":"24831","time":"Aug 26, 2013 @ 7:40pm","epoch":1377545700,"text":"For some reason Python was unable to load and play the mp3 files on my computer. I removed the appropriate lines from src\/sound.py as a quick-fix solution, but that means playing without music. Any suggestions?"},{"author_name":"KJScott","author_uid":"19560","time":"Aug 26, 2013 @ 7:53pm","epoch":1377546480,"text":"@tombsar, I don't know what the issue is. I worked on the graphics for the game hopefully one of the programmers will get back in touch and let you know how to resolve the issue. By any chance could you post the appropriate lines you need to remove incase anyone else has the same issue."},{"author_name":"tomc","author_uid":"11754","time":"Aug 26, 2013 @ 8:01pm","epoch":1377546960,"text":"@tombsar: I'm one of the coders. Thanks for letting us know. Which operating system are you using? Is anything printed to the console \/ terminal?\r<br\/>\r<br\/>If you're on linux, do you have (libmp3)lame installed? This library is required to playback MP3s."},{"author_name":"tombsar","author_uid":"24831","time":"Aug 27, 2013 @ 7:04pm","epoch":1377629940,"text":"Hey guys, thanks for getting back to me. I have both 'lame' and 'lame-libs' installed on Fedora 18, and can play mp3 files in my browser and media players.\r<br\/>\r<br\/>The error printed is:\r<br\/>\r<br\/>Traceback (most recent call last):\r<br\/>  File &quot;src\/main.py&quot;, line 62, in &lt;module&gt;\r<br\/>    main()\r<br\/>  File &quot;src\/main.py&quot;, line 40, in main\r<br\/>    game.event(ev)\r<br\/>  File &quot;\/home\/arthur\/Downloads\/LD27_Entries\/10SecondSlaughter\/src\/gamestates.py&quot;, line 296, in event\r<br\/>    self._state.event(ev)\r<br\/>  File &quot;\/home\/arthur\/Downloads\/LD27_Entries\/10SecondSlaughter\/src\/gamestates.py&quot;, line 54, in event\r<br\/>    self.game.set_state(PlayState(self.game))\r<br\/>  File &quot;\/home\/arthur\/Downloads\/LD27_Entries\/10SecondSlaughter\/src\/gamestates.py&quot;, line 174, in set_state\r<br\/>    self._state.leave()\r<br\/>  File &quot;\/home\/arthur\/Downloads\/LD27_Entries\/10SecondSlaughter\/src\/gamestates.py&quot;, line 49, in leave\r<br\/>    sound.play_main_music()\r<br\/>  File &quot;\/home\/arthur\/Downloads\/LD27_Entries\/10SecondSlaughter\/src\/sound.py&quot;, line 20, in play_main_music\r<br\/>    mixer.music.load(os.path.join('assets','music.mp3'))\r<br\/>pygame.error: Unrecognized music format\r<br\/>\r<br\/>To fix it, I applied the following patch to src\/sound.py:\r<br\/>\r<br\/> def play_main_music():\r<br\/>+    print &quot;Music disabled&quot;\r<br\/>-    mixer.music.load(os.path.join('assets','music.mp3'))\r<br\/>-    mixer.music.play()\r<br\/>\r<br\/>...\r<br\/>\r<br\/> def play_gameover_music():\r<br\/>+    print &quot;Music disabled&quot;\r<br\/>-    mixer.music.load(os.path.join('assets','gameover.mp3'))\r<br\/>-    mixer.music.play()\r<br\/>\r<br\/>I am probably using an old version of pygame-music, or am missing a python-lame extension or something..."},{"author_name":"tombsar","author_uid":"24831","time":"Aug 27, 2013 @ 7:10pm","epoch":1377630300,"text":"Sorry for the double post, but I wanted to save you having to ask about versions.\r<br\/>\r<br\/>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."},{"author_name":"archaeometrician","author_uid":"27214","time":"Aug 28, 2013 @ 12:02pm","epoch":1377691020,"text":"Is there a way for you to provide an executable ?"},{"author_name":"tomc","author_uid":"11754","time":"Aug 28, 2013 @ 2:05pm","epoch":1377698400,"text":"@tombsar: I've just uploaded a version that fixes this crash (falls back to some OGG files if the MP3 playback fails). I hope that works for you."},{"author_name":"PaperBlurt","author_uid":"26530","time":"Aug 30, 2013 @ 5:41pm","epoch":1377884160,"text":"swell pixels!"},{"author_name":"Arrow-x","author_uid":"17767","time":"Sep 1, 2013 @ 6:19pm","epoch":1378059240,"text":"Good art bro I like this game"},{"author_name":"Jupiter_Hadley","author_uid":"27744","time":"Sep 2, 2013 @ 11:47pm","epoch":1378165320,"text":"&quot;Requires installation of Python 2.7 and Pygame 1.9&quot; Wish I didnt have to install random things to play the game. Due to that, I am unable to include it in my LD27 compilation video. Sorry"},{"author_name":"MrBlade","author_uid":"23232","time":"Sep 12, 2013 @ 8:17pm","epoch":1379016720,"text":"Won't start, sorry. Running the .bat gives some file not found error, running main.py creates a pygame window and then closes right away. Let me know if you find a fix!"}],"images":["ld27\/19560-2c5f4c44d3f613948d4bfe08ffd4a4ca.jpg","ld27\/19560-2fd7a1e62bdd1eaa38aca4a4e7f3a0e3.jpg","ld27\/19560-6cb8e1033b2b7c260e2618f166798ab2.jpg"],"links":[{"url":"http:\/\/bytten.net\/downloads\/ludum27\/10SecondSlaughter.zip","text":"Python"}],"metadata":{"g_key":"23979","g_author":"19560","g_event":"LD27","g_eventkey":"18","g_subevent":"JAM","g_urlkey":"24009","g_title":"10 Second Slaughter","g_status":"UCHK1","g_place":"99999","g_commentcount":"12","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/273708\/19560-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/273708\/19560-shot1.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/273708\/19560-shot2.png-eq-900-500.jpg"],"text":"Requires installation of Python 2.7 and Pygame 1.9\r\n\r\nUse the Antichrist's shadow to kill the vile redshirt menace by manipulating your environment without killing yourself. \r\n\r\nPress Z to toggle shadow mode\r\nPress X to interact with objects\r\nPress C to jump\r\n\r\nMax score is approximately 120\r\n\r\nContact : @nerdofgamers - Graphics, @tccoxon & @db434 - Programming","title":"10 Second Slaughter"}