yes, you can easily set the gravity of a scene to be positive or negative, in the Scene Attributes, you can set it to 500, or 1000, or -100 or whatever.
INSTANCES of an Actor in the Scene have access to the Scene Attributes. (The prototype of the actor does not...) (Double click on an actor already in the Scene to see this. You'll need to unlock it first)
As such, you could have one actor in the Scene that's just out of the view/Invisible and acts as sort of a "Gravity Controller"
You could create a global game attribute called something like CurrentGravity.
Adjusting the accelerometers on the device would adjust this value accordingly
Then have the Gravity Controller adjust the gravity of the Scene based on this global attribute.
I had the same issue with my new game "golf Ball Juggle". what I decided to do is just have a constant sideways acceleration applied to my actor. Work fine for me. Check it out.
Comments
INSTANCES of an Actor in the Scene have access to the Scene Attributes.
(The prototype of the actor does not...)
(Double click on an actor already in the Scene to see this. You'll need to unlock it first)
As such, you could have one actor in the Scene that's just out of the view/Invisible and acts as sort of a "Gravity Controller"
You could create a global game attribute called something like CurrentGravity.
Adjusting the accelerometers on the device would adjust this value accordingly
Then have the Gravity Controller adjust the gravity of the Scene based on this global attribute.
Hope this helps!
Joe
~Thanks again
http://gamesalad.com/game/play/30518