I did start by have the player be able to use W/D but the problem is the Y distance from the player to the grapple point. Say if you press D when you are under the grapple point then you swing anti-clockwise, but if you are above and press D then you go clockwise. The problem with this is that when the Y distance is short, meaning that the player is very close to being classed as "above" or "below". As its a very close, you may try to press D to swing to the right as you are falling, only to be propelled clockwise, which is still to the right, but its above the grapple point instead of a natural swinging motion. Therefore I decided to base the direction from the cursor relative to the player and the grapple point.
I used grapple points because it makes for easier linear level design and it guides the player so that they know where to grapple.
Brooklyn Dev
15
Posts
11
Followers
9
Following
A member registered May 26, 2022 · View creator page →
Creator of
Recent community posts
Harpoon Hunter (Brackeys 2023.2) jam comments · Replied to SAWD Games in Harpoon Hunter (Brackeys 2023.2) jam comments
Brackeys Game Jam 2023.2 community · Posted in I've Rated 200+ Game So Far! Send Me Your Game If I haven't Rated Yet !
Here's my game, it's an underwater grappling platformer: https://itch.io/jam/brackeys-10/rate/2234068
Brackeys Game Jam 2023.2 community · Posted in I'll rate, comment and play your game. But one thing tho! play mine and rate it.
Here's my game, it's an underwater grappling platformer: https://itch.io/jam/brackeys-10/rate/2234068
Here's my game, it's an underwater grappling platformer: https://itch.io/jam/brackeys-10/rate/2234068
Here's my game, it's an underwater grappling platformer: https://itch.io/jam/brackeys-10/rate/2234068
Harpoon Hunter (Brackeys 2023.2) jam comments · Replied to El Manin in Harpoon Hunter (Brackeys 2023.2) jam comments