The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsI've been looking around the site, and about the login, that logs you into the forum. Yeah, it could use a "sign up" thing on the front page, though.
The pages "under construction" should be.. well, constructed, too.
I personally like the design, even if the rainbow circles are a bit out of place. Some of the animators on there are pretty good, too.
Also, about everyone saying it's not super great, you have to think about it.. you're talking about Newgrounds here. ;P
Just gonna toss in a little something. :P
I have no idea what made me think of this.. :P
Basically what MC is saying is that we are pretty much looking for another team member. (Or so it seems.)
Yes, I'm the other character in our team so far, and we may be OK at ActionScript, but we need someone a bit more experienced than we are.
The term to use is "break."
while (_root.MC.hitTest(this._x, this._y, true)) {
hitting = true;
break;
}
break statement
Appears within a loop (for , for..in, do..while or while) or within a block of statements associated with a particular case within a switch statement. When used in a loop, the break statement instructs Flash to skip the rest of the loop body, stop the looping action, and execute the statement following the loop statement. When used in a switch, the break statement instructs Flash to skip the rest of the statements in that case block and jump to the first statement following the enclosing switch statement.
You'd just use something like this:
function move(Player){
if (Key.isDown(Key.SPACE)) {
Player._x = _xmouse;
Player._y = _ymouse;
}
}
That would move it to the mouse, and then you could call the function using:
move(player_mc);
Remember, since you use "Player" as a parameter, you need to put in the name of the player object in the parentheses.