00:00
00:00

Reviews for "flashforbeginners:script"

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!

Nice but....

When you do this on macromedia flash 8 it will no work