Posted 01 July 2012 - 07:00 PM
Posted 01 July 2012 - 07:07 PM
Posted 01 July 2012 - 07:09 PM
Posted 01 July 2012 - 07:18 PM
if its the first one best thing to do is to make a image on your player sprite of a fist being threwn from the player.
then have your event for when the player takes damage exlude thie image.
now for a sword or something its best to have a seperate sprite and object for the game.
then have 2 images 1 with sword still and 2nd with the sword at a wacking angle.
then same as before witha simple change.
Posted 01 July 2012 - 09:22 PM
It's all pretty simple, really. Although you may want to consider using collision_line() to check for a collision only where the fist is at.
But for swords and stuff, use a separate object like everyone else already said.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users