Tilt: iPhone Accelerometer Game

Discussion in 'Jailbreaks and iOS Hacks' started by MacRumors, Jul 8, 2007.

  1. MacRumors macrumors bot

    MacRumors

    Joined:
    Apr 12, 2001
    #1
    [​IMG]

    Web developer Joe Hewitt and team posted an alpha version of Tilt -- an rudimentary iPhone game that takes advantage of the iPhone position sensor.

    The is simple, but does provide an example of how to detect the iPhone's position. Andrew Mager describes the game:



    Article Link
     
  2. A Pittarelli macrumors 6502

    Joined:
    Jun 1, 2007
  3. rockthecasbah macrumors 68020

    rockthecasbah

    Joined:
    Apr 12, 2005
    Location:
    Moorestown, NJ
    #3
    Maybe we'll eventually see some games like Labyrinth where you actually tilt the phone in different directions to get it through the maze to the finish! Now that would be cool :)
     
  4. bdj21ya macrumors 6502a

    bdj21ya

    Joined:
    Sep 13, 2006
    #4
    What would be really great is if we could actually get access to the accelerometer data. I got all excited when I saw this, thinking you'd be able to do a lot of really sweet games now with this. Turns out his code is relying not on the accelerometer, but merely on the change in size of the browser window when Safari recognizes a shift.

    However, I don't expect Apple to allow this to go completely unexploited, since you really could do a lot of great games with the accelerometer (especially now that we know it recognizes at least 4 inputs (i.e. some apps recognize the phone in all 4 obvious orientations of the device).
     
  5. billchase2 macrumors 68000

    billchase2

    Joined:
    Feb 28, 2006
    Location:
    Ann Arbor
    #5
    i love the accelerometer games that have come out for powerbooks/macbooks... it'd be GREAT to see some of them for the iphone!
     
  6. Balooba macrumors member

    Joined:
    May 27, 2003
    #6
    Love tilt games

    Bubblegym or neverball next perhaps?
     
  7. Nicole Lazzaro macrumors newbie

    Joined:
    Jul 11, 2007
    #7
    Tilt Has a Home Page!

    Tilt Has a Home Page!

    Since the iPhone Dev Camp Hack-A-Thon we have created a page for Tilt: a game in 1.5 dimensions. It contains the latest information, source code, and updates for Tilt the first motion controlled iPhone game. To play Tilt rotate your iPhone to help Flip eat falling butterflies and leaves of matching color.

    Here’s the main link page for the Tilt iPhone game:http://www.xeodesign.com/tilt
    Here’s the link to play from your iPhone: http://www.xeodesign.com/games/tilt
    Here’s the story of how we made Tilt in a weekend: http://www.xeodesign.com/tiltstory.html

    Have Fun!

    Nicole Lazzaro
    President XEODesign, Inc.
     
  8. bdj21ya macrumors 6502a

    bdj21ya

    Joined:
    Sep 13, 2006
    #8
    If we were actually able to access the accelerometer, you might see some cool things like this. As it is, this app just relies on the fact that Safari is aware of the accelerometer switching page width, so nothing too complex can be done yet. Hopefully Apple will open up access to the accelerometer data for web developers, so we can really get some cool apps going.
     

Share This Page