Game Maker Issues (Attacking An Enemy)
Hi all. I've been working with Game Maker for a few days now and am embarking on my first game (name pending). Everything is going relatively smoothly, except I need to be able to let the player attack the enemies. So far, when the player presses the space bar, the character sprite will change to the "Sword swinging" sprite, and change back. I want it to be able to hit the space bar, and check if an enemy is beside the player, and if so, destroy the enemy. Can you help me with this?