The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 ViewsYou take a couple of bricks then take some cement.
After that you make a wall with the bricks and cement :)
You draw them using the tools Flash has.
how do i stop my char acter from running of the level?!?!
At 12/18/06 10:23 AM, BanzayozokyJ wrote: how do i stop my char acter from running of the level?!?!
how do i stop my char acter from running of the level?!?!
OK, enough of fooling around with you. Take a deep breath and explain what your problem is.
I am creating a game,a fish game. But i don't want it to swim of the screen so how do i create walls around it?
At 12/18/06 10:39 AM, BanzayozokyJ wrote: I am creating a game,a fish game. But i don't want it to swim of the screen so how do i create walls around it?
onClipEvent(enterFrame){
if(this._y>400) {
this._y=400;
}
if(this._y<0) {
this._y=0;
}
if(this._x>550) {
this._x=550;
}
if(this._x<0) {
this._x=0;
}
}
change 550 for the width and 400 for the height of you game. It is probally not that accurate.
But that on the fish movieclip, slightly modified
onClipEvent(enterFrame){
if(this._y>Stage.height) {
this._y=Stage.height;
}
if(this._y<0) {
this._y=0;
}
if(this._x>Stage.width) {
this._x=Stage.width;
}
if(this._x<0) {
this._x=0;
}
}