Tilt: an iPhone Game
Tilt is a proof-of-concept game developed by Nicole Lazzaro, Joe Hewitt, Colin Toomey, Kent Bye and Felipe Ortiz during last weekend's iPhoneDevCamp. To play, you tilt your iPhone to catch each falling block in its properly colored receptacle--blue in blue, green in green. The catch is that the green receptacle only appears when your iPhone is in portrait orientation, the blue in landscape. If you'd like to give it a try, point your iPhone to the game page and give it a try. In the current version, you get only 14 chances to catch and there's no way to "win".


![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
Matt said 2:50PM on 7-12-2007
I just gave it a try. It's not a great game by any measure, but it does show off what developers can do with the iPhone. It’s great that developers will be able to use the information provided by the sensors to develop Web Apps.
Reply
artifex said 3:14PM on 7-12-2007
Hopefully they'll add another color option for people with color blindness. :) I could see it being a problem in bright light, too.
Reply
Fabio P said 3:31PM on 7-12-2007
okey, the game is fun, but it doesnt access the sensor.
all it does is check the screenWidth which is 320px if in portraitmode and bigger if in landscape mode.
so its just a way to kind-of read the sensor but not real read the sensor.
Reply
Steven Fisher said 3:40PM on 7-12-2007
If there's a reliable way of detecting which way the screen is held, I don't care if it is done through an API or through web standards.
Actually, I lie -- it's better to do it through web standards.
Reply
meatmcguffin said 3:52PM on 7-12-2007
"will be able to use the information provided by the sensors"
Isn't it just checking for the screensize? If horizontal > vertical then the iPhone is on it's side. If vertical > horizontal then the iPhone is the right way up.
Reply
Fabio P said 4:16PM on 7-12-2007
@steven
yes you are right, standarts are always better. but reading the real sensor datas would be better. why?
all we get is with the standarts is "landscape or portrait". but something like "37° clockwise" would be more accurate. so you could see if the screen is turned right or left, and how fast/slow and far.
this could be used to make a game where you have to balance something. this you cant do with "standarts".
just proving the point
Reply
Victor Agreda Jr said 1:29PM on 7-13-2007
i think until apple opens up access to accelerometer in the os of the phone this is what we're stuck with folks. still, i love the creative way they solved the problem!
Reply