Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Damn! I need a new code for something...


Mod of Doom

Status: Offline
Posts: 574
Date: Jul 17, 2006
Damn! I need a new code for something...


It's gonna be a surprise...


 


Alright, I want to know how to make enemies follow you if your instance name is player_mc. Help me out, please.

I also need to know some save/load codes for my game, since I'm making it longer.

And don't link me to AS:main, those codes just don't work for me. Who knows why? Anyways, I need some of your codes, OK? Thank you. I'll put you in the credits...



__________________


Invader Zim Freaks 3 Creator

Status: Offline
Posts: 3272
Date: Jul 17, 2006

put that on the enemys


onClipEvent (enterFrame) {
if (_root.player_mc._x>_x) {
_x += 6;
}
}
onClipEvent (enterFrame) {
if (_root.player_mc._x_y) {
_y += 6;
}
}
onClipEvent (enterFrame) {
if (_root.player_mc._y

__________________


Mod of Doom

Status: Offline
Posts: 574
Date: Jul 25, 2006

But they can't go through walls of the name "level_mc"


 


They can go through them in that code...



__________________


Invader Zim Freaks 3 Creator

Status: Offline
Posts: 3272
Date: Jul 26, 2006

www.newgrounds.com/bbs

ask them...i'm stuck haha

__________________
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard