Ayolabi12345 wrote:I'm trying to make a mechanic where the character moves to a tapped spot and only when its a tap, does any enemy in the way get hurt. kind of like dark slash
Set the player's position to Touch.X and Touch.Y in the "on tap" condition. Then create a sprite between the player's old position and his new position, rotate it accordingly, then check for collisions with each enemy and apply damage to them.
First time I hear about Dark Slash, seems like a nice game. Thanks.