Be a Supporter!

Credits & Info

Uploaded
Oct 18, 2009 | 2:40 AM EDT
  • Daily 3rd Place October 19, 2009

If you liked this, check these out!


Author Comments

Note: This tutorial is written for AS2!

First off, I'd like to inform reviewers that Newgrounds categorizes tutorials and games as the same; if you were expecting this to be a game, you're wrong!

This is a rather detailed tutorial on my new platform engine. It involves acceleration, deceleration, sliding, jumping, gravity, walls, and two different attack types! There are a few glitches, but provided you don't change the variables too much, you should be fine. I explain every ActionScript word once, and fully explain all of the phrases and lines. RECOMMEND FOR TUTORIAL COLLECTION PLEASE!

- EDIT: Daily 3rd?! Woohoo!!!
- EDIT: I get a common question asking how to add enemies. My old and shitty Real-Time Battles tutorial covers it, so go check it out!
- EDIT: I've also gotten requests on how to make a V-Cam. This is also fairly easy; just paste this inside the first frame of a Movie Clip (make the Movie Clip the size of the screen):
onEnterFrame=function(){
_parent._x=Stage.width/2-
_x;
_parent._y=Stage.height/2 -_y;
}
onUnload=function(){
_parent._x=0;
_parent._y=0;
}

Reviews


glavcaglavca

Rated 4 / 5 stars

this

is THE BEST platform tutorial I have ever found. It covers everything you need in a platform game, well exept for enemies coints and V-cam. But that you can find elsewere.(I hope elsewere is a word :D) anyway:
Practicabillity:10/10
The look :D : 6/10
Overall : 9/10
Score:25/30
Score:8/10
BUT VOTED 5 ;D


People find this review helpful!
Kwing responds:

Thanks! Traditional platform games are kind of boring for me, and I want to make something that really ROARS! So if I ever make a real game out of this it'll probably be an action RPG. Actually, the Umbrella Shop in Arr Pea Gee uses the same engine as this tutorial.


THEKRAIDSTERTHEKRAIDSTER

Rated 4.5 / 5 stars

good, but...

Overall nice tutorial, but you should really reconsider making the background a lighter shade of green. I could barely read the text.
But, overall:
9/10
4.5/5


People find this review helpful!
Kwing responds:

Alright, thanks! It was easy for me, maybe some people have low contrast monitors.


Tantran188Tantran188

Rated 2.5 / 5 stars

no.

THIS WONT WORK!!!!! unless in the script when you say " put it to the right" I'm doing something wrong( I dont get it that much, i just put it beside the last thing of the last line is that wrong? )


People find this review helpful!
Kwing responds:

I'm not sure I follow you. Are you even putting it on a Movie Clip or the frame? Which script? There should probably be an error if you're putting it on the wrong part. Based on what Flash tells you about those you should be able to fix it.


NiallmcfcNiallmcfc

Rated 5 / 5 stars

Hmmmm...

The tutorial is perfect. One thing for me is, I would like it so that when it hits a movieclip, if it is attacking when it hits it the movieclip gets deleted, and if the player isn't attacking then the player takes damage. With a health bar already in place, how would you achieve this?

Thanks :)


People find this review helpful!
Kwing responds:

Well I already explained the unloadMovie script. I have a tutorial called Real-Time Battles that explains health and that kind of stuff. As for only if the player isn't attacking, you could just use:
if(attacking==false){
or something of the sort.


kennybunskennybuns

Rated 5 / 5 stars

Great! but.....

I can't get my wall so that when I hit it, it will vanish(unLoad movieclip). Everything else works though! :D


Kwing responds:

Your wall isn't supposed to vanish when you hit it. That makes no sense.