Forcing the player to instantly SpinDash

Status
Not open for further replies.

Saturn Ross

The Local Bird-Brain
So, after I saw the new Drop Dash maneuver in Sonic Mania, I got the idea that it could be quickly implemented into SRB2. However, I need to be able to make the player enter the latter half of the SpinDash instantly and rocket off. How can I make Sonic instantly use a charged or semi-charged SpinDash upon hitting the ground, somewhat like it appears in the trailer?
 
Last edited:
I think the idea is using S_PLAY_ATK1 or (player.pflags & PF_SPINNING) along with P_InstaThrust(player.mo, player.mo.angle, player.maxdash*FRACUNIT). As for hitting the ground, I would have it check it the player is jumping (player.pflags & PF_JUMPED) and once a button is pressed, have a timer activate so that when it runs out, the time for the ability's activation is canceled, otherwise if the player hits the ground while the timer is still going, activate the Instathrust for about a second to launch the player.

EDIT: On the other hand, I should do this myself.
 
Status
Not open for further replies.

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

Back
Top