Who said that there are no games for Linux?
Other than running games for windows through Wine (as well as nearly any other .exe file), there are many games that run natively on Linux.
I don’t play much, but I’ve personally tried Sauerbraten and Supertux, both of which have been suggested to me by admiral0, a member of the POuL.
Supertux is a nice game, but I’ve found it a bit too difficult to play, especially some levels where there are these flying enemies, identified in this picture:
So, to finish this almost-impossible level, I decided to cheat ๐
And since I’m a programmer, I thought that the easiest way to cheat was to alter the game’s source code ๐ It did not take much time to download the 0.3.1 beta release (which was the version I was playing) and find what to modify.
The code that makes these enemies attack from the sky is defined in
src/badguy/zeekling.cpp
and is the should_we_dive() member function of the Zeekling class.
Just replace the function’s body with a
return false;
and recompile. The game becomes a little bit easier, and I successfully completed the level ๐
Tags: code snippets, linux
September 28, 2009 at 5:21 pm |
fantastico, io baravo cosรฌ ad xmoto ๐
October 5, 2009 at 4:52 pm |
Io l’ho finito.. dopo un estate di duro lavoro ๐
Decisamente avrei fatto meglio a fare come te…
October 5, 2009 at 8:58 pm |
Complimenti ๐ anche io l’ho finito, ma la modifica mi ha consentito di ridurre la difficoltร degli ultimi livelli
June 18, 2010 at 8:28 pm |
sei come il capitano kirk!! miticooo
November 15, 2012 at 9:37 am |
i need to get past lvl 1 and these blocks are blocking me plz help me!!!!!! ๐