My sprite starts at moving to ... for 1.5 seconds. On level 2, I want it to speed up to doing it in 1 second, and so on...Please help!!!!
Offline
I'm not sure how to use variables
Offline
Frankie101 wrote:
I'm not sure how to use variables
Umm, OK. Lemme give ya a tutorial.
Variables are basically like a piece of paper. You can write something down, and access it whenever you like. With Variables, you can also replace what you've written using the
set [whatever v] to [whatever]block. Variables, when created, are blank.
change [whatever v] by (1)block. The contents of your variable can be accessed at any time using the reporter block with the variable's name on it:
(whatever)and can be used in any text/number input.
if <(level) = [1]> glide (1.5) secs to x: (0) y: (0) end if <(level) = [2]> glide (1) secs to x: (0) y: (0) endand so on.
Offline
Ok thanks, I get how variables work... But...Now nothing is moving!! Lol!
Offline
I've fixed it now!! Thanks!!
Offline