Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 ViewsAt 1/27/08 12:17 AM, sspecter wrote: which errors are you getting?
and what do you mean by "playing over and over"? Do the movieclip don't stop? In this case just use this.stop();
Well thanks.
I Sort of do, but I just started taking this class so I will be new at it.
I did use stop(): at the stop of the first code witch has a button that sends the move into frame2 and stops (well supposes to)
If I put it into a movie clip then my pawn will not be inbetween the two. so how would this work?
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, keyHandlerRelease);
var UP:Boolean = false;
var DOWN:Boolean = false;
var LEFT:Boolean = false;
var RIGHT:Boolean = false;
var UP1:Boolean = false;
var Down1:Boolean = false;
var left1:Boolean = false;
var right1:Boolean = false;
function keyHandler(event:KeyboardEvent):void {
if (LEFT) {
PlayMove.x = PlayMove.x - 1;
}
if (UP) {
PlayMove.y = PlayMove.y - 1;
}
if (RIGHT) {
PlayMove.x = PlayMove.x + 1;
}
if (DOWN) {
PlayMove.y = PlayMove.y + 1;
}
if (event.keyCode == 37 && !LEFT) {
PlayMove.x = PlayMove.x - 1;
LEFT =true;
}
if (event.keyCode == 38 && !UP) {
PlayMove.y = PlayMove.y - 1;
UP=true;
}
if (event.keyCode == 39 && !RIGHT) {
PlayMove.x = PlayMove.x + 1;
RIGHT=true;
}
if (event.keyCode == 40 && !DOWN) {
PlayMove.y = PlayMove.y + 1;
DOWN=true;
}
}
function keyHandlerRelease(event:KeyboardEvent):void {
if (event.keyCode == 37) {
LEFT=false;
}
if (event.keyCode == 38) {
UP=false;
}
if (event.keyCode == 39) {
RIGHT=false;
}
if (event.keyCode == 40) {
DOWN=false;
}
if (left1) {
PlayMove1.x = PlayMove1.x - 1;
}
if (UP1) {
PlayMove1.y = PlayMove1.y - 1;
}
if (right1) {
PlayMove1.x = PlayMove1.x + 1;
}
if (Down1) {
PlayMove1.y = PlayMove1.y + 1;
}
if (event.keyCode == 37 && !left1) {
PlayMove1.x = PlayMove1.x - 1;
left1 =true;
}
if (event.keyCode == 38 && !UP1) {
PlayMove1.y = PlayMove1.y - 1;
UP1=true;
}
if (event.keyCode == 39 && !right1) {
PlayMove1.x = PlayMove1.x + 1;
right1=true;
}
if (event.keyCode == 40 && !Down1) {
PlayMove1.y = PlayMove1.y + 1;
Down1=true;
}
if (event.keyCode == 37) {
left1=false;
}
if (event.keyCode == 38) {
UP1=false;
}
if (event.keyCode == 39) {
right1=false;
}
if (event.keyCode == 40) {
Down1=false;
}
}
I have two parts of the stage, the Back and the front that goes in front of the game piece.
I'm trying to have both stages move at the same time with the same button.
I have tried using just Playmove and used the instance on both, but one section (the back) wont move at all with this.
Above I've tried to use both Playmove and Playmove1 but I keep getting errors, and it keeps playing over and over and not stoping at all.
Help is needed Thanks! :]
Hello New Grounds
I've been a NG Fan for a few years now, I just managed to make a account haha ^__^ I'm slow.
Anyway, I'm about to start working on ideas for a small 5 min flash to be my first one done for NG and an school flash project.
The Mini-Series Name is : Broken Roses
Time Limit : 5 Min
Story: Broken roses follows the story of Mike,Sarah, and Cody. simple Hard rock Teens from Red cloud Nebraska. Why'll Sarah and cody have fine lifes and start to fall in love with each other, mike relises how much he cares about her after all,
Male Roles:
Mike- Mid-Tone Voice, Age 16. Into The major Goth Life.
Cody- Light to Mid Tone, Age 17. more to the emo side of life.
female Roles
sarah- mid Tone- Age 16. Look at Gaz from Invador zim for the voice it should be around.
Thanks guys! I really want this to turn out great :]
please send an Email to pwh311@stu.aii.edu or post here!
:]