00:00
00:00
Newgrounds Background Image Theme

TheGizmo just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Reviews for "Platformer Tutorial AS2"

eh?

dude the hit Test doesnt make any sense because all you said is

onClipEvent(enterFrame) {
if(_root.OBJECT1.hitTest(_root.OBJECT 2)) {
//whatever you want it to do
}
}

where "whatever you want it to do" means you can put tons of stuff to make actions, but you didnt said how to USE them, like
_root.stop, okay all i understand is that i can use it to stop something, but WHAT? and the "walls and barriers in games" all you did was write this._y-=4
all i understand is that something is going to happen at y- 4 OR that simply writting this._y-=4 (or any other coordinate) would make a wall there! understand the _y=#, that means when the character reaches that point something is going to happen but you didnt put how to make it happen!
_root.GoToAndPlay is for movies i guess or to make stages
this._x+= # is SURELY not enough to make a wall, it just tells Flash where its going to be but you didnt said or teached how to make the code to create a wall or a platform!!

I tried to do this:

onClipEvent(enterFrame) {
if(_root.MAN.hitTest(_root.GROUND)) {
_root.stop(MAN); this._y+=282;
}
}
(the platform were at y+ 282, but the 282 is for a single point right? not for the whole platform!!!)
but he still goes trought it (i know how to make him move and fall)

and i DID see if the names were correct and they were, this part of your tutorial doesnt make any sense
(the platform was at y+ 282)
I am pretty sure that _root.stop ISNT to make the character unable to go trought a wall, but with your demonstration with the yellow face, that part has walls, so that means with everything till the demonstration can make me be able to make walls, but I just can't.
the basic hit test were same the thing as nothing, I still dont know how to use them.

I didnt even read anything else, because i'm too tired, i spent 3 hours trying to figure out how to make characters not go trought walls, i read tons of tutorials but it just ends like always: the character still goes trought the wall.

P.S: No. english isnt my native language so there will be speech errors.

Great, but...

There is a slight prob, I am learning your codes but for a beginner it's hard to type it exactly and when I try to copy and paste some text boxes dont let me? HELP!!!

ActionSick responds:

Don't copy and paste ;)

please help.

great but i'm 100% positive i have the exact code specified in the proper movement tutorial but my character still falls through the ground. what did i do wrong?

ActionSick responds:

Did you instance all movie clips with the proper names?

Help please . . .

i create a game with a v-cam (platform game and i want to put a pause menu but it just don't seem to work so can you pm me for help

For Actionscript 2.0

As far as i could see it was talking about the older version of the like CS2 or maybe CS3 but the newest is CS4 should be updated

Anyway the music was pretty good i like the style but it sould be updated as Actionscript 3.0 is out