00:00
00:00
Newgrounds Background Image Theme

ozziel94 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"

Good tutorial but i need a bit of help still

1) how would i make it goto a game over screen after enemy hits player?
and also my movement of player is a bit choppy even though i copy an pasted ur exact scripts.
also when i move player left enemy follows perfect but when i go up down an right the enemy doesn't follow my exact movement and moves away from player slightly i checked scripts twice any idea how to fix this or should i just try exporting it an playing first because i tried flash test in flash so i dunno...

[plz help thx

Good Tutorial

The code ALMOST works for the explosions, it's a case sensitive typo. To fix it simply lower case "Play" in this code you're given

onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy)) {
_root.player.Play();
}
}

You'll know if it's done right as Flash will make the test blue (or some color code).

So it should read:

_root.player.play();

NOT

_root.player.Play();

Explosion?

Two points off because the explosion won't work. Otherwise, great work! I used part of this tutorial in an RPG I'm making.

enemy wont follow me

enemy wont follow me plz help

Good, but...

Its a great tutorial, but I'm having a bit of a problem with the explosion, after I got it in there and tried it out my player explodes without the enemy touching him, can someone tell me where I went wrong? Because I've gone through this tutorial a few times now and can't figure it out.