@Mobiius
Quote: "Maybe split the animation into a number of bones with collision on each? (Using spriter / boned. (or whetever it's called))"
I can't use bone because I made all animations without bone.
@BatVink
Quote: "If you set the sprite shape manually, it will be quicker. You can save the polygon coordinates in an array."
I set manually Polygon shape with SetSpriteShapePolygon() command according to baxslash method like below but it won't work currently in this project:
w# = GetSpriteWidth(spr2)
h# = GetSpriteHeight(spr2)
points = 4
SetSpriteShapePolygon(spr2, points, 0, -w#/4, -h#/4)
SetSpriteShapePolygon(spr2, points, 1, -w#/8, -h#/2)
SetSpriteShapePolygon(spr2, points, 2, w#/8, -h#/2)
SetSpriteShapePolygon(spr2, points, 3, w#/4, -h#/4)
SetSpriteShape() command work very well for my characters but it make decrease frame.
is there any way for use SetSpriteShape() without decrease FPS?
at the first I should be fix this problem for continue make other parts on my game.
I thank the person who could help me.
EDIT: Really I don't know say this problem is a bug or not. because current shape should call in every frame for work correctly and when use it in loop, it make decrease FPS. also when I use
SetSpriteShapeBox() command, it good not work correctly like SetSpriteShape() command in do--loop. please You be the judge.