I recently started writing about my experience in porting Tongits (a game running on Adobe AIR) to the iPhone. So far I’ve already written two introductory posts. I’ll be regularly posting technical articles and tutorials specific to iPhone game development as I progress with the project. For those interested in how I will be pulling this off you can visit iTongits and subscribe to the feed.
Archive for the 'Games' Category
Thrower – A Simple Ball Throwing Game in AS3
Published March 12, 2008 AS3 , Experiments , Games 1 Comment 
This is a small experiment on simple ball physics and collision detection wrapped in a frustratingly difficult game. You have to successfully shoot a ball to progress to the next level. The arrow simply rotates by 1 degree on each level. If you successfully complete all 51 levels you’ll be able to play the game in “free play” mode where you can control the direction of the arrow with the mouse. If you manage to finish the game please do tell us about your accuracy rating and how many minutes it took you to win the game. It took me about 15 minutes to finish the game with a very low 24% accuracy. I think this kind of gameplay coupled with a nicer reward system plus better graphics has potential to be a nice little flash game.
How to Make a Tetris Game in AS3
Published March 7, 2008 Games , Intermediate , Tutorials 4 Comments
I had some free time this week so I tried to make a Tetris clone. It is a complete game in under 600 lines of pure AS3 code. It mainly uses 2 dimensional arrays to represent masks for the bricks and to make collision detection easier. The output is simply a bitmap data filled onto a shape object and then scaled to a more comfortable zoom level. I did not refer to available algorithms online, I tried figuring them out by myself so you might find them to not be the most efficient.
Just add some sound, fancy graphics and high score submission and this could be a nice little online game though TTC won’t be too happy about that. I named the game TINT for Tint Is Not Tetris.
Disclaimer: This is purely for educational purposes only.


