View Full Version : Easy walls
Killslasher
05-10-2008, 11:51 PM
Now,theres already a tutorial I know about basic movement.
Im planning to make a test though.
How do you make walls that will send you to the losing frame,if the character touches it?
CarMan1390
05-11-2008, 10:02 AM
Make a wall Movie Clip and instance name it "wall". Now, go to your character and enter this code in the Actions panel:
onClipEvent(enterFrame){
if(this.hitTest(_root.wall)){
_root.gotoAndStop(10);
}
}
Here, frame 10 would be the losing frame.
TotalReview
05-11-2008, 10:17 AM
That's a good game to start off with. It will give you some experience and it is not too hard. Also, people like Carman will be ready to help you if you need it.
Killslasher
05-11-2008, 12:27 PM
Make a wall Movie Clip and instance name it "wall". Now, go to your character and enter this code in the Actions panel:
onClipEvent(enterFrame){
if(this.hitTest(_root.wall)){
_root.gotoAndStop(10);
}
}
Here, frame 10 would be the losing frame.
Thanks!
That's a good game to start off with. It will give you some experience and it is not too hard. Also, people like Carman will be ready to help you if you need it.
Lol,thats cool. And yeah it is a good game to start with.
It has coding that i just learned a bit,then its
not too hard,its pretty easy.
Thanks for the support people!:D
TotalReview
05-11-2008, 12:44 PM
Lol,thats cool. And yeah it is a good game to start with.
It has coding that i just learned a bit,then its
not too hard,its pretty easy.
Thanks for the support people!:D
Do you have an idea for the name of the game yet or are you just starting?
You are very welcome!
Killslasher
05-11-2008, 01:40 PM
Do you have an idea for the name of the game yet or are you just starting?
You are very welcome!
Wall Evasion 1.
Also,is it okay if i use audio and preloaders from Newgrounds?
(Lol,its easy to get sources from there.)
TotalReview
05-11-2008, 03:32 PM
Wall Evasion 1.
Also,is it okay if i use audio and preloaders from Newgrounds?
(Lol,its easy to get sources from there.)
That's a cool name. I believe you can do that but you must give them credit.
CarMan1390
05-11-2008, 03:51 PM
You don't have to give Newgrounds credit for the preloaders. Just the songs.
TotalReview
05-11-2008, 03:59 PM
You don't have to give Newgrounds credit for the preloaders. Just the songs.
I forgot to make that more clear.
Killslasher
05-11-2008, 05:52 PM
I forgot to make that more clear.
thanks people,Ill be sure to put the name,author,and ID in it.
Okay I think im all set for this project. :)
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.