Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Its not tested yet, tommorow I'll test it.
- // If you're making a game with a rocket or something just like that,
- //You need to make it faster every step in a second.
- //I think thats the roomspeed is 30 at your game, so there are 30 steps in a sec.
- if (speed < 19.9998) // if the speed is lower than 2(
- {speed += 0.33333} // he'll count up 0.3333333 a step
- if (speed > 19.9998}
- {speed -= 0.33333}
- // This need to be placed in the step-event of the object.
- //JoesV
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement