There are many ways to do this, but here is a very basic one to start with:
move (speed) steps wait (1) secsOr you could try:
move (10) steps wait <(1)- <(speed)/(10)> > secsGood luck!
Last edited by LiquidMetal (2012-03-23 14:37:45)
Offline
Make a variable. Say you name it "whatever". Then, you can change "whatever" based on what you want it to change to. For example:
When [g] key pressed Set [whatever v] to (5)Then, in the ball sprite you do something like this:
When gf clicked Forever Move (whatever) stepsThis way, whatever you set "whatever" to the ball moves that amount of steps.
Last edited by turkey3 (2012-03-23 16:20:18)
Offline
The easiest way to do this would be to put something like this in:
when gf clicked set [speed v] to [the default speed]and then in the blocks where you have it saying how many steps to move/what to change the x/y by when a key is pressed put in the speed variable block, so this way whatever the speed is set to is the amount the ball moves by
Offline