Hello guys, here is my second game made in Codea. My sprites and music replaced with default content. Hope this game will catch you for a couple of minutes. Enjoy!
Gameplay : you must stay alive as long as you can
Joystick class made by Dave1707
Background class made by West
supportedOrientations(LANDSCAPE_ANY)
displayMode(FULLSCREEN)
function setup()
http.request("http://pastebin.com/raw.php?i=n6nMmH68",
function(d) loadstring(d)() setup() end,
function(e) print(e) end
)
end
Nice game, but a slight suggestion. In the code you posted above, instead of using loadstring(), use saveProjectTab() so people can play the game offline too.
@Saturn031000 thank you , i tried to post all code, but forum can fit it in one message. I played with saveProjectTab() , but failed. Can you adit code above to make me understand how it works?
@firewolf Firstly i want break my code to classes, but then i decided to make all things in second tab. If you want ill add commends to my code, also you can go open link in my code (pastebin) and copy it or use jvm’s code to download my project.
@Firewolf as lupino says, this is good enough. The objective (to get an offline version) is fullfilled. But feel free to make a better version and share it with us, if you want.