Wishlist Surf 'n Turf!
https://store.steampowered.com/app/3514850/Surf_n_Turf/
Simondebruijne.com
He's big ✨
He's big ✨
A little sleight of hand, but the player never needs to know ;)
A little sleight of hand, but the player never needs to know ;)
While all other animations happen in place while Munch moves around. The animation for the ledgegrab moves the entirety of Munch.
While all other animations happen in place while Munch moves around. The animation for the ledgegrab moves the entirety of Munch.
A floor would shoot a laser up, a (0,1,0) vector.
That's the one we need, so we check if normal.y = 1
Now we only ledgegrab on flat platforms
A floor would shoot a laser up, a (0,1,0) vector.
That's the one we need, so we check if normal.y = 1
Now we only ledgegrab on flat platforms
To check if what we hit is a flat surface, we can check the normal of what we hit.
A normal of a surface is the direction it's facing. Basically, if you shoot a laser from a hole in that surface, which direction would it go?
To check if what we hit is a flat surface, we can check the normal of what we hit.
A normal of a surface is the direction it's facing. Basically, if you shoot a laser from a hole in that surface, which direction would it go?
This raycast shoots down until it hits something, we can do a ledgegrab!
This raycast shoots down until it hits something, we can do a ledgegrab!
Our solution: give a little leeway when reaching a platform.
Our solution: give a little leeway when reaching a platform.
Introducing Munch, our main character, and the one who will be showing how a ledgegrab works!
Introducing Munch, our main character, and the one who will be showing how a ledgegrab works!
I did, and I will show you how I made it (a thread 🧵):
#indiedev #gamedev #indiegame #indiegames #surfnturfgame
I did, and I will show you how I made it (a thread 🧵):
#indiedev #gamedev #indiegame #indiegames #surfnturfgame
#gamedev #indiedev #indiegames #indiegame
#gamedev #indiedev #indiegames #indiegame
#indiedev #gamedev #indiegame #indiegames
#indiedev #gamedev #indiegame #indiegames