#Potential fix to the plethora of entering wall issues
1 messages · Page 1 of 1 (latest)
if it only were that simple 🙏 😭
I was thinking the way it would work is going clockwise checking every direction they could be spit in, starting with the direction you last moved, then if you aren't pushed out, repeating again with a pixel more checked in each direction
rinse repeat until the player is no longer in the wall
Or void out and spit back to the entrance of the room
not possible in multiplayer
<-- forgets about that
haha
Everyone voids out
Thermonuclear wall clip!
Wait
Couldn't you then just spit them onto another player?
no that would lead to many softlocks and skips
Ah, true
Man fixing issues is harder than I thought
haha welcome to my life
Just sayin, but my solution is what worked for my game
this solution wont work well in QM since you would still be pushed into a solid object, there is no way for the player to escape here
... which is a single player platformer metroidvania made in GMS2, but that couldn't possibly have any meaningful differences
lol
most likely what i will do is that if you get squashed, you will be reset to your last safe position
like when you fall into a hole
Ya
thats the safest approach
I was just about to say the hole and deep water has a reset right?
Could always use that! Have rock particles for getting embedded into the wall
lol
When you get embedded into the wall, it's only one tile right? So you wouldn't have to figure out a long backtrack to get navigable ground?
im already keeping track of the last safe position
and no its not necessarily just one tile unfortunately
i have to keep a history of the last N safe positions
so quick test, but this is kinda the idea
i would prefer to stylize it more, maybe with a goofy mario-like squash animation
Oh hey, that's perfect!
Looks a lot simpler than how I imagined but knowing game dev I know it's not
Squimsh!
yea haha
Have them explode into confetti
squimsh
Rock particles
Confetti detonation
Have a random effect each time, confuse the player for getting squished!
They can squish and then explode into confetti
Just pull a spelunky and have it instantly kill the player