How would I do melee attacks (swords, clubs, etc.) in TGF2? I am working on a top down view game like The Legend of Zelda.
How would I do melee attacks (swords, clubs, etc.) in TGF2? I am working on a top down view game like The Legend of Zelda.
Here is a commented example to help you out.
Feel free to use it for whatever you want. It's open source for everyone. Also, you should remove your password from your above post...
Huh? What? I don't get what you mean...
It almost sounds like you're running your words through a translator program and are forgetting question marks because none of what you're saying is making sense.
Very nonsensical indeed.. But for the actual question, you can just use collision events on the regular animated objects, it'll work fine!
Continuing on this question, how would one make a melee attack possible in a side-scroller? I've got a "short range attack" for my character, and looked at the first example posted above. Using the detector method is giving me some issues, because the detector isn't following the player - it simply appears where they are at that moment in time, so if the character is running and attacks, the detector is left behind.
I understand the best method would be to use this detector, but my question is how to use it when the game revolves around Platform movement.