USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 1/28/09 12:57 PM
Sign-Up: 05/05/08
Posts: 1,963
how do you do that? i know the code is something along the lines of
if.(key.is.down)space gotoandplay (2)
or something like that. i know what the code is, but i can't quite put it together
to truly appreciate newgrounds | my store Lemon Demon: fancy pants manifesto collab Here ends another post by the grand master of all things: fluffkomix
Posted at: 1/28/09 01:05 PM
Sign-Up: 12/02/06
Posts: 839
if (Key.isDown(Key.SPACE)){ gotoAndPlay(2); }
BLAM DAMN SPAM. That rhymes! So what do we learn? the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!
Posted at: 1/28/09 01:06 PM
wow i was actually extremely close!
thanks!
Posted at: 1/28/09 01:10 PM
okay wait, i made a new layer below every other one, and put that AS on it, hoping that it would work, but it didn't.
what should i do?
Posted at: 1/28/09 02:14 PM
Sign-Up: 10/12/05
Posts: 213
this works if you put it on a movieclip, i don't know why the code that guy gave you isn't working onClipEvent (enterFrame) { if (Key.isDown(Key.SPACE)){ _root.gotoAndPlay(2); } }
Posted at: 1/28/09 02:17 PM
i was thinking about experimenting with clip events for this, but i forgot the AS
thanks! it worked!
All times are Eastern Standard Time (GMT -5) | Current Time: 05:15 PM
<< Back