how to make a player punch in a animation

0

Stats

502 visits, 645 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 17 Nov, 2021.

imagepoint

add player to imagepoint and name it a.b and set the image points to the animation

sprite

make a sprite with name a.b

coding

go to seting.every x . 0.1 follw this for all

sprite a add condition set position (player.imagepoint.X ("a")

(player.imagepoint.y ("a")

sprite b add conditin set position (player.imagepoint.x ("b")

(player.imagepoint.x ("b")

and 3 u know colison with enemy subtract 1,variablesenemyhp 15

done follow me

  • 0 Comments

Want to leave a comment? Login or Register an account!