Mag-log in para masave ang iyong progreso at makaipon ng puntos!
How to make a platformer game

How to make a platformer game

ni littlereddevil

Loading ad...

How to make a platformer game

Rating:
3.1
Pinalabas: May 27, 2010
Huling update: May 27, 2010
Developer: littlereddevil

Mga tag para sa How to make a platformer game

Deskripsyon

Learn how to program your own platformer game in minutes! this tutorial will give you a full free lesson from the masters!

Paano Maglaro

Just read and learn! Make sure you have Flash CS4

Mga Komento

0/1000
keavon avatar

keavon

Jun. 26, 2010

7
0

So people, you you are having trouble getting the camera to follow the guy, YOU MUST MAKE THE INSTANCE NAME "Guy" as previously mentioned to be "guy", not "Guy". This will make it work. If you don't understand where to put:
onClipEvent(enterFrame){
_x=_root.guy._x
_y=_root.guy._y
}

It's the square you made on the stage. Click on it and only it (not he timeline) and push f9. That's where you put that code.
A note to the person who made this tut, please fix that and make it clear. :P

keavon avatar

keavon

Jun. 26, 2010

5
0

oh, with a } at the end, making it:

onClipEvent(load){
if(MC.hitTest(XVAL,YVAL,true/false)){
do something
}
}

Sorry if the returns ( or \n's dont work)

keavon avatar

keavon

Jun. 26, 2010

5
0

and where it asks you to do this:

if(MC.hitTest(XVAL,YVAL,true/false)){
do something
}

You should accually write this:

onClipEvent(load){
if(MC.hitTest(XVAL,YVAL,true/false)){
do something
}

That fixes it. Just assign that to the level!
:P

Personnel avatar

Personnel

Sep. 19, 2010

3
0

*solution to the enemy code not working:* where it says if(active) it should say if(alive)

keavon avatar

keavon

Jun. 26, 2010

5
1

It's me AGAIN, me the "constant comment". You should really add a mute button.