00:00
00:00
Newgrounds Background Image Theme

soniccrackers23 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Reviews for "flashforbeginners:script"

THANKS MAN!

this is greast now i get it!!

This is helpful.

this is fun and helpful

Good tutorial!

Good tutorial, but there are some bugs:
-The player will explode for ever. Solution: Just put a stop(); in the last keyframe from your player explosion animation.
-This is another way to make the code for the player:
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_y -= 10;
_rotation = 270;
}
if (Key.isDown(Key.DOWN)) {
_y -= -10;
_rotation = 90;
}
if (Key.isDown(Key.LEFT)) {
_x -= 10;
_rotation = 180;
}
if (Key.isDown(Key.RIGHT)) {
_x -= -10;
_rotation = 0;
}
if (this.hitTest(_root.enemy)) {
_root.player.play();
}
}
-This another way to make the code for the enemy:
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_y -= 10;
_rotation = 270;
}
if (Key.isDown(Key.DOWN)) {
_y -= -10;
_rotation = 90;
}
if (Key.isDown(Key.LEFT)) {
_x -= 10;
_rotation = 180;
}
if (Key.isDown(Key.RIGHT)) {
_x -= -10;
_rotation = 0;
}
if (this.hitTest(_root.enemy)) {
_root.player.play();
}
}

yeah

"Up" control did not work.

Action Scripts suck!

The action Scripts never work it is so stupid, it makes making games to complicated!