My gift to you: A totally FREE iPhone game! I made this game several years ago with some other way-cool game-dev friends. In “Elephants!” you save the giraffes while jumping on a rolled up squirrel! More fun than a barrel of pigeons! For Christmas this year I figured I’d port it over to the iPhone for you 🙂 Check it out!
From the dev side, yeah, this is my first attempt at “python” on the iPhone. Even though it’s actually restricted tinypy code. Here’s a sample of game code so you get the idea of what’s behind this game. All this code is converted by tinypy into C++ code so I can compile it with Xcode for the iPhone:
def elephant_new(g:Level,pos:List(int))->Sprite: s = Sprite('elephant',pygame.Rect(43-14,8,28,48)) s.rect.set_centerx(pos) s.rect.set_bottom(pos) g.sprites.append(s) s.ball = ball_new(g,(int(s.rect.get_centerx()),int(s.rect.get_bottom()))) s.suit = ElephantSuit() s.vy = 0 s.vx = 0 s.jump = 0 s.facing = 'e' s.score = 0 s.z = 1 s.state = 'live' s.name = 'elephant' return s