How I can do the sonic the hedgehog spindash?

Yes
You most likely are using platformer character behavior on your player or am i wrong?

You cant really expect an immediate response, or any to be honest. I would wait a few days for answers. But, this is your first post, so Its understandable. :slight_smile:

@ZeroX4 yes I use the platformer character but for some reason doesnt work the animation of sonic spinning and spindashing

I did not ask what works and what not
I asked you to do what i wrote above
And show me you did it

Fixing stuff can be taken care of later
1st i wanna see you are actually doing it
And then i can tell you what you did wrong or what to check
Right now i have nothing to work with
And you telling me something is not working gives me nothing

How I can send you my game?
pd:sorry for be very later

I dunno what you guys thinkā€¦
but imho it surely is not as easy as it looksā€¦specially for non-experienced usersā€¦

Imho this will require a mix of platformer behaviour and phisics 2 behaviour,
i had Sonic at day one, the moment it came out with my megadrive,ā€¦and itā€™s not just the spin, but the bouncing/flipper behaviour too.

keep him crouching and spinning with the jump keypress is the easier stepā€¦problems will comes laterā€¦
maybe the bouncing extension could simplify thingsā€¦but a full understanding of forces (instant and permanent) is mandatoryā€¦in this caseā€¦
and iā€™m not including the fact that he should stick to floor at full speed and at the moment i donā€™t think curved platforms are availableā€¦
(we donā€™t even have slopes yet)ā€¦(i would try something with the svg curves extension but surely with no good resultsā€“)

sonic is basically a Flipper gameā€¦if you can make a flipper than you can make a Sonic game

Just sayingā€¦i canā€™t help hereā€¦ :joy:

GL

sonic-the-hedgehog-sonic-mania

Kennoir made an extension that is currently in review:

1 Like

wellā€¦thatā€™s impressiveā€¦
It seems something good will come out soonā€¦

So he basically created curved platforms in Tiled?..i didnā€™t knew it were possibleā€¦guess he used the autodetect featureā€¦

any way to have it implemented in the actual platformer behavior so the player can stick to arbitrary(curved) floor angles?

edit:thx davy for this https://info.sonicretro.org/SPG:Solid_Tiles#Regression
i find amazing how such an old game could have all these mechanics already includedā€¦
i felt incompetent while reading thisā€¦ :pensive:

I did not ask for your game but for sceenshot of your events proving you did what i told you to do

Ok I will send you the image

@ZeroX4 Theres is my code

For now i not gonna look into it
I did ask on discord user who is also making sonic clone and is far deeper in development to share his logic with you
We will wait for him to reply
So just BE PATIENT and donā€™t @ him since it needs to be his choice do he want to share it or not
If not then i gonna try create it step by step with you

iā€™d make 2 variables for the player:

  • SpindashOn (indicates if spindash is active).
  • Spindash power (the current power of the spindash).
  • RollOn (indicates if the object is rolling).
1 Like

@Kennoir Ok, what I have to do after?

(deactivate default controls on platformer behavior properties)
----------------------------------Ā±--------------------------------+
if space key pressed
trigger once
----------------------------------------Ā±--------------------------------+
----- if down key pressed. set SpindashOn = 1
----- if on ground
----------------------------------Ā±--------------------------------+
if SpindashOn = 0. simulate jump key
if space key pressed
----------------------------------Ā±--------------------------------+

what do you mean with ā€œtrigger oneā€? @Kennoir

iā€™m free for a while today, so if you want i can help you now

@Kennoir Can you send me all the code?

I donā€™t want to sound harsh but youā€™re basically asking to a gold miner to give u all the gold he hardly worked onā€¦

Ppl on this forum are developers and developers are called like this bcs develops things.

There are no finished Sonic the Hedgeog game to share here if it is what you need.

If instead you want to learn how to make your hedgeog spin but you donā€™t know what a trigger once is, then for start youā€™re on the wrong way bcs even if someone share with you ā€œall the codeā€ and you donā€™t even have a clue on what it isā€¦then waz the point?..what you gonna do next?..

this is your OP

ā€œHi, im trying to do a sonic game. Some can help me to do the spindash ability?
Please help meā€

Ok,ā€¦you want to do a Sonic game.thaz clear.

Letā€™s say someone share with you the spindash ability but you donā€™t know what the hell it isā€¦the next threads would be How to make sonic roll, how to make sonic bounce, how to make sonic stick ont he floor eccā€¦

and you know what,ā€¦ your answer is already here, some post above, that you probaly didā€™nt even taken a look atā€¦

Thaz all the code.

Just sayingā€¦ it seems youā€™re very motivatedā€¦(and thaz great)ā€¦but motivation is not enough when making a game