Platform Game Engine

Started by: zymn | Replies: 7 | Views: 1,172

zymn
Banned

Posts: 913
Joined: Apr 2007
Rep: 10

View Profile
May 27, 2008 12:13 AM #142485
http://www.swfme.com/view/1230482

yep...
Paco
2

Posts: 910
Joined: Feb 2006
Rep: 10

View Profile
Jun 6, 2008 7:44 PM #150042
nice, make the platforms move you when you thouch them so you dont have to like try to balance on it unless you wana do that :P
zymn
Banned

Posts: 913
Joined: Apr 2007
Rep: 10

View Profile
Jun 6, 2008 8:17 PM #150062
yeah, i'm havin trouble with that.

whats the code for touching a door and going to the next stage?

and, what about if you fall off and the scene resets?
kizza
2

Posts: 20
Joined: Jan 2007
Rep: 10

View Profile
Jun 7, 2008 10:06 AM #150603
Quote from zymn
yeah, i'm havin trouble with that.

whats the code for touching a door and going to the next stage?

and, what about if you fall off and the scene resets?


easy.
Im intrested on how you did ya collision detection. You didnt use hitTest did you?

Just use this on the blue box and put in a second level.

onClipEvent(enterFrame){
if(this.hitTest(_root.door)){
_root.gotoAndStop("next level or wateva its on");
}
}

if u want you could send me the fla. file and i could put in soem script so he moves with the platform and resets when he hits the bottom.
FBFAnimation

Posts: 0
Joined: Dec 2025
Jun 7, 2008 5:03 PM #150791
looks like a pretty good game. it will be nice when finished.
AphoticLight

Posts: 0
Joined: Dec 2025
Jun 7, 2008 5:21 PM #150810
ummm i feel alittle stupid but how do i get up those first blocks??lol
GunnarJ

Posts: 0
Joined: Dec 2025
Jun 11, 2008 4:41 AM #153727
Press space to jump... you need to add instructions...
Slayer
2

Posts: 2,088
Joined: May 2006
Rep: 10

View Profile
Jun 11, 2008 1:08 PM #153933
That's not terrible. I haven't touched Flash, let alone messed with AS in forever, but if you can, try to make it so the character doesn't slide all over when the platform moves beneath him/her/it.

Maybe try http://www.actionscript.org/ , I dunno.