Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by reskp

Hi,
My player can give a punch.

Solution 1 :
The punch is in the player sprite.
I change the animSheet position when press shoot.

Solution 2 :
The punch is out of the sprite.
I spawn an entity in front of the player.

Thanks

1 decade ago by reskp

Thanks to CIDIC.
SOLUTION 1 :
Solution is to set the punch on the caracther sprite :)

1 decade ago by Neeko

Solution 1 will work best if you don't need any specialized collision detection on the fist that's punching, or you don't need to have different fist sprites for various types of punches. It really depends on what your design is.
Page 1 of 1
« first « previous next › last »