Help with 360 Tilt: one for ORBZ?

UtopianGamesLtdUtopianGamesLtd Member Posts: 120
edited November -1 in Working with GS (Mac)
Bit stuck as i'm trying to make a ball actor accelerate in the direction of tilt.

So if you are in landscape it falls down, if you turn to portrait it falls down so it always falls towards the player holding the device (hope that's clear).

I tried setting up a few rules like.

If game.screen.device.Orientation is Landscape then landscape (boolean=true) if landscape = true then Rule Accelerometer Y > 0.05 and so on but it doesn't work as expected and my iPad struggle to switch Orientation fast enough and even when it does it's buggy.

Is there an easy way to have an actor change gravity depending on Tilt but always pulling down?

Imagine a 360 platform game.

Darren.

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Do you need physics? i.e. Collisions that bounce correctly?

    If not, try my "silky smooth tilt demo"
  • Rob2Rob2 Member Posts: 2,402
Sign In or Register to comment.