This was the first app I wrote as an experiment entirely using the iPad (no blue tooth keyboard either!), and my first taste of Lua.
-
If you have an iPad1, use this version: http://dizzysnakepilot.posterous.com/lander-ipad1
(displayMode() doesn’t work on iPad1, so no fullscreen.)
I wrote a 7 segment display so I could show numbers on the screen for the lander.
The dots above the numbers glow green or red depending on if you are going slow enough (or are straight enough) to land. There is one larger landing pad in the center, and two smaller ones to the sides. There’s no instructions- intention is player will soon learn what the lights and buttons do.
The fuel has no light until it gets to half, then it flashes yellow, finally red.
It’s intentionally old school: of course I could have color coded the numbers themselves, but I seemed more in the spirit of the 1960’s technology to represent a plain display and a colored circular light.
Yes, you can crash into peaks sticking up out of the ground. =)
Cursor placement is a royal pain on the interface, so the code itself is a bit ugly- unrefactored, no-version-control old-school code!
BTW, to get out of the new full screen mode, triple tap three times.
Thanks for this really fun app!
http://www.thevenom.net/codea/lander/lander_flying.png