Forum Topic: Actionscript help( im confuzed) PLZ

(120 views • 5 replies)

This topic is 1 page long.

<< < > >>
None

computermouse

Reply To Post Reply & Quote

Posted at: 9/2/06 09:43 PM

computermouse NEUTRAL LEVEL 10

Sign-Up: 12/30/05

Posts: 23

erm, i have been making this game for a while, its called ninja blood, and its a side on adventure game, ive got tha basic idea how to actionscript but i dont know what i went wrong with my movement animation;
i have the main character, the ninja
ive got the movement, ground and interacting scripts done but when i press a movement key(Left arrow, Right arrow etc) the character plays the first frame of the jump animation!
i needz helpz HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEPS!

TY in Advance


None

UltimateFragger

Reply To Post Reply & Quote

Posted at: 9/2/06 09:50 PM

UltimateFragger EVIL LEVEL 06

Sign-Up: 02/06/05

Posts: 567

May we see the script your using. Its obviously a scripting error.

I have a wooden spoon. Don't piss me off...


None

computermouse

Reply To Post Reply & Quote

Posted at: 9/2/06 10:16 PM

computermouse NEUTRAL LEVEL 10

Sign-Up: 12/30/05

Posts: 23

well i used the "RPG'ish PLATFORMER'ish tutorial" scripting and i then added

on (keyPress "<Left>") {
gotoAndStop("player", 1);
}
on (keyPress "<Right>") {
gotoAndStop("player", 2);
}
on (keyPress "<Up>") {
gotoAndStop("player", 3);
}
on (keyPress "<Down>") {
gotoAndStop("player", 4);
}
on (release, keyPress "<Space>") {
gotoAndStop("player", 5);
}

also the accual animations are in clips in each of the frames of the player movie clip

sorry that i couldnt get the otter scripting cause its through a few other clips but their not the problem


None

UltimateFragger

Reply To Post Reply & Quote

Posted at: 9/2/06 10:29 PM

UltimateFragger EVIL LEVEL 06

Sign-Up: 02/06/05

Posts: 567

instead of keyPress, try if (Key.isDown(Key)) {Actions}. Its how I do it.

I have a wooden spoon. Don't piss me off...


None

computermouse

Reply To Post Reply & Quote

Posted at: 9/3/06 12:39 AM

computermouse NEUTRAL LEVEL 10

Sign-Up: 12/30/05

Posts: 23

thanks Mate


None

UltimateFragger

Reply To Post Reply & Quote

Posted at: 9/3/06 09:00 AM

UltimateFragger EVIL LEVEL 06

Sign-Up: 02/06/05

Posts: 567

no problem, PM me if you need more help.

I have a wooden spoon. Don't piss me off...


All times are Eastern Standard Time (GMT -5) | Current Time: 09:32 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!