Fixed Super Sonic Float Bug?

Status
Not open for further replies.

Icezer

Local Ice Cube Frien. Robotic Hedgehog Enthusiast.
So me and a friend found that in the base game if Sonic holds jump while super he'll float like metal sonic (slow fall and all.) Is this intentional?
EDIT: Found that it's apparently intentional. Pay this thread no more mind.
EDIT 2: Glad that I wasn't going crazy.
 

Attachments

  • srb20287.gif
    srb20287.gif
    5 MB · Views: 326
Last edited:
This is not an bug, this is part of the game, it's like an:
Congratulations! you got the Emeralds! now you can use this new abilitie when you are super
 
The bug is that he begins to slow fall downwards, which isn't supposed to be the case when Super is floating at a slow speed.
nevermind lol
 
It is intentional, and is NOT a bug.
I mean, it has always been like this.
__________________
"Yeah! I won!" - Tails
My Discord is FurretPokeMilk#8416 if you have any questions.
 
The bug is that he begins to slow fall downwards, which isn't supposed to be the case when Super is floating at a slow speed.

This is correct, for the longest time now Super Sonic has dropped like a rock when he goes too slow. I even went in and tested on the latest version and he still definitely drops faster than Metal. Not sure how the OP managed to get him to have slow fall without intending it.
 
For anyone who wants to look into this, this is a result of this block in P_DoJumpStuff (p_user.c):
Code:
	if (cmd->buttons & BT_JUMP)
	{
		player->pflags |= PF_JUMPDOWN;

		if ((!(gametyperules & GTR_TEAMFLAGS) || !player->gotflag) && !player->exiting)
		{
			if (player->secondjump == 1 && player->charability != CA_DOUBLEJUMP)
			{
				fixed_t potentialmomz;
				if (player->charability == CA_SLOWFALL)
					potentialmomz = -gravity*4;
				else
					potentialmomz = ((player->speed < 10*player->mo->scale)
					? (player->speed - 10*player->mo->scale)/5
					: 0);
				if (P_MobjFlip(player->mo)*player->mo->momz < potentialmomz)
					player->mo->momz = P_MobjFlip(player->mo)*potentialmomz;
				player->pflags &= ~PF_SPINNING;
			}
		}
	}
Activating super float sets secondjump to 1, allowing the player to slowfall by holding jump after that (even if not still holding spin).
 
This is not intentional and therefore a bug; I did not see the above code block when I was making the changes to the super float for 2.2.5, oops!
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top