I've been working on a small game to help me practice designing a top down shooter.
I have a small room set up with an enemy and a player. they're both about 128p apart when the level starts.
The enemy has two arms (area 2Ds and collision shapes), that when the player enters them, will queue_free() the player. My issue is, when the level begins, the player gets deleted immediately. I'm not sure where I'm going wrong, and yes, the collision shapes and area 2Ds are correctly proportioned.
I've looked everywhere and haven't found any solutions. Here's the code:
Link to the Image if it doesn't work.