kickflip-games / github_game_off_2024

https://kickflip-games.github.io/github_game_off_2024/
0 stars 0 forks source link

Retract the grappling hook when reaching a max distance #23

Open nsamelson opened 5 days ago

nsamelson commented 5 days ago

Following the mechanic added where the hook is retracted if reaching a max distance AND hitting something, it should retract even if not hitting something (to avoid launching the hook to infinity and beyond.)

nsamelson commented 3 days ago

Btw I think I fixed that in the branch with the player states, I'll check again and close it

nsamelson commented 2 days ago

Maybe add an animation of retraction. Right now it just disappears when reaching the MAX_HOOK_DISTANCE