Posted: 19th Oct 2011 9:07
how do I set the shape of the sprite ? and how to solve the collision between two sprites?
Posted: 19th Oct 2011 15:19
Halley, are you using physics or ordinary sprite collision?

Also what do you mean by "solve the collision"?
Posted: 19th Oct 2011 15:29
ordinary sprite collision.

I mean there is a animation about a people. the people in different images has different position. because it's a jumping animation. I didn't control the jumping of people by program. the artists make the jumping process of a people.

I am afraid that the different position of the different images will take vision mistakes when the sprite hit the bullets.
Posted: 19th Oct 2011 15:36
Have you tried using "SetSpriteShape(iSpriteIndex,3)" each time you change the image? Not sure how fast it is but it might re-calculate the sprite boundaries...?
Posted: 19th Oct 2011 15:45
No, I think what you said is a good advice .I'll try it.