overbound / SonicTimeTwisted

Source Code for a Sonic Fan Game Made in Game Maker Studio
https://overboundstudio.com/
GNU General Public License v3.0
60 stars 16 forks source link

Miss Jumps near platform edges in Special Stages. #28

Closed overbound closed 3 years ago

overbound commented 6 years ago

When jumping at the edges of platforms in special stages the player can miss some jumps that probably should have landed due to poor collision detection. This may be fixed by increasing the player's hit box. If done enemy and hazard hitboxes should probably be decreased.

AlexKhayrullin commented 3 years ago

I've intentionally slowly moved the player over bottomless pits. The shadow seems to circle their hitboxes quite accurately, so if there's a radius increase we should apply to the player's hitbox, it's not immediately clear.

is it a matter of two or three pixels?

VectorSatyr commented 3 years ago

It's a matter of optics. Most players feel like they should be able to land on platforms from further away than they are actually able to. It was a common complaint around the game's release period:

"[...] The player clips through the edges of special stage platforms, which can lead to some unfair losses." ~ WhoWhatWhenWhale

"I keep clipping through the floor in the second Chaos Emerald Special Stage. I SHOULD BE ABLE TO JUMP THOSE GAPS!" ~ Techokami

"[...] from what I can tell, for the special stage, it's because the collisions are based off of your shadow rather than your character, making it feel really off. Trimming the shadow and thus the hit-box could help with this." ~ Okamikurainya