Hi I'm new and working on a project and i was just wondering, I'm trying to make my guy punch and then have the sprite I punched move. I'm just trying to figure out how to do this I have a different costume with a different color in order to show the punch thanks.
Offline
How about having the the punching sprite switch to a punching costume and then broadcast "punch" and have the other sprite receive "punch" and be moved back.
Last edited by CheeseMunchy (2012-08-13 22:22:27)
Offline
Ok i will try that.
Offline
Sorry I should have been more specific I have multiple sprites that can get punched and I want only ones close to my main sprite to be affected.
Offline
Ep1cMarshmallow wrote:
Sorry I should have been more specific I have multiple sprites that can get punched and I want only ones close to my main sprite to be affected.
when I receive [punch v] if <touching [player v]?> whatever your moving-back script is end
Last edited by videogame9 (2012-08-13 22:37:53)
Offline
Thanks that worked. I'll obviously have to tweek the numbers though.
Offline