How I can do the sonic the hedgehog spindash?

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

Nobody replys.,
Here are too slow…

It’s a weekend. People are spread across time zones. I have no clue how do it. Be patient.

Which aspect do you need help with? Try explaining it as if nobody knows what a Sonic is. I know the game but it has been a long time since I played it.

I’m guessing it could involve a timer. Start a timer when a button is pressed. When the button is released set the speed either to a set value or a value related to the timer using a formula and restrict it to a maximum value. I don’t recall if Sonic automatically took off after so many seconds or how the speed was calculated. That’s why it would help to explain the mechanism.

I’m assuming it would then simulate the appropriate pressed key using another timer. Again, I don’t recall if the speed is consistent or gradually decreases.

I would also search the forum. Others have made Sonic inspired games.

Hi, I need when the down key is pressed, sonic crouch and sonic makes a crouch animation and if is crouching and Press the jump button, makes the spindash animation and when the jump button is released, sonic spins (with animation) and sonic automatically goes to the direction that he is viewing (if sonic is viewing to the right, sonic goes to the right)

If you can, put a image of how to do it

Hi, as Keith has written, you have to be more patient. I didn’t reply to your post, because I never made a Sonic-game and cannot be of any help for you. If you google: gdevelop sonic framework. You will find the itch.io page of Kennoir who has a free to use Sonic framework for Gdevelop. The same author also has a youtube channel called Kxnnoir and a website. You could check that out but be careful with downloading files from private websites.

2 Likes

Thanks, I underStand that you doesn’t how to do a sonic game

@Keith_1357 sorry if I bother you but why is it talking you so long

Did you look at the links that Drona recommend?

https://www.youtube.com/@kxnnoir/videos

And

https://kennoir.itch.io/sonic-gdevelop

Sometimes the forum is busy and sometimes it’s slow. Except for a few people, we’re all ordinary users with a range of knowledge and other things to do in the real world. It might take some time.for the right person to see your question.

I want with image how you will can do the spindash ability

Please, be patient. When people can help, they will help. Help being the keyword. If you are impatient it can come across in a negative way. It might take some time.

In the meantime, search the foum, search the web, try a chat bot, look for techniques used in other game creating languages and try to recreate the methodology in Gdevelop.

We honestly want to help you.

Ok, I will be patient. take your time for find the way to do it

1 Like

When you are ready, send me the image, ok?

Hello! Ex-moderator here. Just wanting to chime in so you don’t go down a path that could lead to you getting in trouble:

  • Please don’t bump your own thread with posts pinging other users trying to help saying they’re taking too long. It comes off pretty rude and can make people not want to help you further.
  • Also, I want to be clear that no one in this thread has agreed to provide you images, so please don’t bump your own thread asking them for something they didn’t say they would provide. In general, people usually aren’t going to build out events for you, so I’m not sure you will find anyone willing to provide said images for you.

For your next steps, I’d recommend that you go through the videos and templates mentioned above to see if it has the info you need. If not, then I recommend searching further in the forums as there have been other spin dash questions in the past. If you can’t find those threads, you’ll unfortunately have to start working towards building it out yourself.

Hi, I searched videos and theres only very Hard frameworks without tutorials, I searched on the forum and I can’t find answer. So this is my final option. Sorry if I lag the Page from others on the forum and if him cant provide image. Thank you for your attention.

@Keith_1357 please take your time for find the way to do the spindash ability and if you can send me a image

I’ve already said that I have no idea. I can’t help you. I’ve helped you as much as I can. I’ve also asked you to be patient. Things don’t always get answered quickly here. You are only making people less likely to help you.

At some point, you either need to wait or try to solve it on your own. People will be more willing to help you if you can show some progress.

You already know what you want to happen. I’m sure you know how to check for keys or buttons, you know how to change the animation, I’m assuming you would need to add a timer to prevent the dash from starting immediately and another timer to lock the player into dash mode. You would also need to set the max speed and probably acceleration when in dash mode and then back to a default when not in dash mode.

Create what you can and post it here. Someone will help you refine it. People want to help. They are less likely to just write the events for you. That would help nobody. We prefer to teach.

I wish you well.

Your worst mistake is you are trying to do something get ready logic for it

Instead of collecting pieces to combine them into one big thing that would do what you want

Look
As simple as it gets we gonna do it step by step

1st of all we gonna achieve 2 things
You are most likely using platformer behavior
So
Condition
Player is on the floor
INVERTED Player is moving
Down key is pressed

Add sub event to it
And in it
Condition
INVERTED Space key is pressed
Player animation is NOT Spin

Action
Change animation to Crouch

This animation should not be set to loop

Now another sub event
Condition
Space key is pressed

Action
Change player animation to Spin

Do it show me that you did it and link game preview so i can test you did follow what is written above
And we will move to next thing

2 Likes

@ZeroX4 For some reason when I Press the space key sonic jumps, can you help me?

Add to your player behavior remap controls for platformer

You can now disable/enable modify what key do and when
So when down is pressed and player is on the ground
You would change controls scheme where jump key is empty
Where you should also in player behavior find in platfoermer behavior default controls and disable it

@ZeroX4 doesnt work for some reason pls help me
Pd: with platformer you mean platformer character behavior?