Worked like a charm - Thanks!
And thanks for the debug explanation, as well!
Develop games in your browser. Powerful, performant & highly capable.
That would technically "work", but it's not an exact solution.
In 2d Zeldas (excluding the NES/Gameboy titles), the sword deals damage when it makes contact with the enemy during the swing arc, not when the enemy is simply in range of the attack.
Hey all. I've been trying to get a 2d Zelda-style attacking system (with mouse-aiming) to work, but the sword seems to randomly not make collision with enemies. It only registers a collision about 30% of the time.
Here's the commented capx, if anyone would like to help; thanks!: dl.dropbox.com/u/68722177/test.capx
Member since 25 Jan, 2013