Mach Running in Gdevelop

How do you replicate the mach running from Pizza Tower? LIKE mach 1, 2, 3, and 4

General Mach Speed Basics:
What you want to do, is make it so that whenever you hold your run button, you set the player’s maximum speed to something like 1200. (I am using 1200 as an example because it is the Mach 3 speed of the player in the original game multiplied by 100 to fit GDevelop’s Platformer behavior.) Then, make a new event for when the player is NOT holding down the run button, and have the action be to set the maximum horizontal speed to be about 400 or so. (You can use whatever you please for the two movement speed numbers I just mentioned.)

Mach 4:
If you want to add Mach 4, make it so that whenever the player is holding the run button and they are at their Mach 3 speed -you have to use “Compare two numbers”, and put “abs([insert player object’s name].PlatformerObject::MaxSpeed)” in the first box, then the Mach 3 speed in the second box by the way- you have an action that adds 0.05 to the player’s maximum speed. Have another event that makes it so that if the player’s maximum speed exceeds 20, you set it back to 20.

I might make this into a series explaining how to make Pizza Tower’s advanced movement in GDevelop, but who knows!