Monday, July 23rd, 2007

Building Brickslayer: Game Programming with Prototype but not the iPhone

Category: Games, iPhone, JavaScript, Prototype

I know it isn’t Friday, but this is a fun tutorial for any JavaScripter. Michal Wallace has written up a thorough step by step tutorial that walks you through the creation of Brickslayer using Prototype.


To contrast this tutorial, Mihai Parparita detailed his tale of failure at developing a game for the iPhone, and the frustration with the events, and the messing with setTimeout/Interval.

Posted by Dion Almaer at 12:02 am

4.2 rating from 28 votes


Comments feed TrackBack URI

On Opera the bar falls bellow the game window. Looks funny =] Anyway 5

Comment by Sergej — July 23, 2007

Conclusion after I’ve read the iPhone article: you can’t bring advanced games to the iPhone. This reinforces my opinion that the iphone is not a smartphone but rather a normal phone with a nicer UI.

Comment by Joeri — July 23, 2007

Hey, a shameless self-plug, but I was able to get my Arkanoid remake from several years back working on the iphone.

It doesn’t do mousemove() which I was using to move the paddle, so I just added a block-level DIV and captured click() on that – then called the same event handler for mousemove(), which would use clientX to set the position. Aside from that, the game is actually playable!

It’s nice to see people writing stuff about the phone, their experiences etc. I was at a related event yesterday and I think Apple will have some good tips for devs, as well as being open to feedback from users, at their coming iPhone tech talks.

Comment by Scott Schiller — July 24, 2007


Comment by 电话录音卡 — August 1, 2007

Leave a comment

You must be logged in to post a comment.