Hi,
I want to draw a shape/path and then move a sprite along that path.
I draw a shape with mouse and i store the x/y coords in mouse move event. Then with a timer i set the sprite position with that stored coords.
The problem is that i need a constant and normalized moviment and not the slower or faster mouse moviment.
I want to do something like this:
https://play.google.com/store/apps/details?id=com.playcreek.MagicWingdom
Comments
And also: i have to do all with box2d? The moviment random, the moviment along the path and the collision? I do not use box2d
Thanks i m new with gidetos and lua
https://play.google.com/store/apps/developer?id=Arcadia Solutions
There are two ways to handle this:
1) if you want simply check a bounding box collision between sprites, without rotation or any other modification, you can use this simple method:
http://www.tntparticlesengine.com/?cat=15
Likes: atilim
https://play.google.com/store/apps/developer?id=Arcadia Solutions