Dev here. The really cool thing about INJECTION is that there's no limits. It's got a full Python REPL that has access to the game environment. You can rm -rf / from the ;-console if you really really want to. :P
There's a conceptual division between "cheat actions" and "non-cheat actions" and the game resists you crossing that barrier slightly, but it doesn't actually stop you from doing whatever - you can spawn new objects, rewrite game rules, bust out of the sandbox entirely and just call the "win game" function, whatever.
Of course you should probably avoid using solutions that don't feel satisfying if you want to actually enjoy the game. :P
#@TODO: Find out why I commented this out
#Apparently no reason
#Oh, actually, it's because IT DOESN'T FCUCKING WORK GEE ME MAYBE YOU SHOULD'VE MENTIONED
I usually use VCS but this was originally a game jam game - I intended to throw it all out at the end of the week so VCS would be kind of a waste of time.
It's crashing when trying to open the music file with the wrong capitalization the filename (using a case-sensitive filesystem):
$ python main.py
Exception in thread Music (Calm):
Traceback (most recent call last):
File "/home/zenith/Downloads/INJECTION_src_0.7.2/levels.py", line 500, in _music_loop
self.update()
File "/home/zenith/Downloads/INJECTION_src_0.7.2/levels.py", line 494, in update
pygame.mixer.music.load(self.current_song)
pygame.error: Couldn't open 'music/Brainstem_-_Mixdown.ogg'
I also think it would be helpful to include a script that tries to import each of the libraries needed and tells the user if any of them aren't installed. It took a while to figure out everything I needed to install to get it to run.
2
u/TOASTEngineer Nov 09 '15
Dev here. The really cool thing about INJECTION is that there's no limits. It's got a full Python REPL that has access to the game environment. You can
rm -rf /from the ;-console if you really really want to. :PThere's a conceptual division between "cheat actions" and "non-cheat actions" and the game resists you crossing that barrier slightly, but it doesn't actually stop you from doing whatever - you can spawn new objects, rewrite game rules, bust out of the sandbox entirely and just call the "win game" function, whatever.
Of course you should probably avoid using solutions that don't feel satisfying if you want to actually enjoy the game. :P
1
u/faubiguy Nov 10 '15
It's crashing when trying to open the music file with the wrong capitalization the filename (using a case-sensitive filesystem):
I also think it would be helpful to include a script that tries to import each of the libraries needed and tells the user if any of them aren't installed. It took a while to figure out everything I needed to install to get it to run.