How do I make it that if you don’t press the up arrow then it would be on frame one and if you do then it would be on frame 2.
The thing that happened to me was that I was stuck on frame 2 when I pressed the up arrow.
Just do if(!isKeyDown(“up”)) {
gotoAndStop(number or name)
}
Indent the gotoAndStop. Also learn wicks built in functions and the basics of JavaScript before making a game
thanks but is there a way to make it when you are not clicking the up arrow then it would go back to frame one?
Hello! me need INSPERATION
any one on wick?..
Hellooooooooo I’m hereeee!
GOOD! now, what 2 do what 2 do…
That’s why there is a ! Before the action in the if statement
if (keyIsDown('up')) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
If you want it to continue playing the timeline after 1 or 2, change gotoAndStop
to gotoAndPlay
.
For more info, visit https://www.wickeditor.com/#/learn/reference.
Oh okay :)
hello guys I’m so bored so here is a meme
just gimme a sec real quick
Helloo!!
Do you like chicken nuggets?
put u and ur friend pointing at a weird couple
cool animation!
Hope U Like It!
This also works but it is a little longer than it needs to be for what they are doing