The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 ViewsAt 11/21/13 07:16 PM, LoveMetalNG wrote: Now i've got another problem... When I add an extra platform on stage it doesn't recognizes it as a platform. I've added the same code that worked on the rest of the platforms (changing the variables of course) but it won't work.
Help pls
This happens on "Level" 3
Sorry for double post, I forgot to mention it :I
Now i've got another problem... When I add an extra platform on stage it doesn't recognizes it as a platform. I've added the same code that worked on the rest of the platforms (changing the variables of course) but it won't work.
Help pls
At 11/16/13 11:37 PM, Knight52 wrote:
Reset grav to 0 when he touches the floor will do.
Thanks a lot man! It worked :D
So, i've been following one of the tutorials that's on the wiki section of NG but i've got a problem. When the Movie Clip that's supposed to be the player touches the platform it disappears after a few seconds. You can see it Here
This is the code I used:
onClipEvent (load) {
speed = 5;
grav = 0;
}
onClipEvent (enterFrame) {
_y += grav;
grav++;
if (Key.isDown(Key.RIGHT)) {
this.play();
this._x += speed;
this._xscale = +90;
}
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
this.play();
this._xscale = -90;
}
if (this.hitTest(_root.Piso)) {
this._y =+322;
}
}
Third one looks like it's about to break-dance or something... I like it! What about drawing a big war robot thingy? That would be awesome.
Uh.. Welcome, guess you can come back to the forum when you've got material to upload.