Godot Version
4.7.1
Question
ok so I have this 2d platformer game I'm working on. The main character attacks using her ponytail (like shantae), and I want to include a grappling hook-ish mechanic that swings her up kinda like mort hooks do in pizza tower.
I've thinking of doing this by making the attack hitbox detect and store what object entered its area 2d, and if the hook is that object, make it send a signal to the player script so it can execute a piece of code to swing the player upwards, but I'm not really experienced with signals and I'm not sure of how make it work, so if someone could tell me how to pull my idea off, or if anyone has a better alternative to make the same thing, I'd gladly appreciate it.