Hello!
Is it possible to create a layout with two separate gravity areas?
The closest thing that comes to my mind is angry birds space.. So you would have a zero gravity area and when you overlap another area, another gravity would kick in, but only affecting the sprites in that area. I'm guessing that the physics "world gravity" is not going to help me in this..
Any ideas?
Develop games in your browser. Powerful, performant & highly capable.
Ok, I'm now thinking that I could set the gravity at zero and with events, add force to emulate gravity when needed.. I guess that might solve it.. Can't test it now, but if it does, then sorry for the post.. <img src="smileys/smiley9.gif" border="0" align="middle" />
chef
Hi,
take a look at this post
Gravitaion plugin
Nice, I'll definitely have a look at it! Thank you!
gravitation seems to be more for planets etc
you might have better luck just making your own gravity..
on start of layout set gravity to 0
and then to make your own its a case of applying force every tick
Yes, the result was better with the event based custom gravity. Thanks though for the gravitation plugin info Spongehammer!