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


rainst0rmrainst0rm

Rated 4 / 5 stars

Could be better, but delivers

Good beginner's tutorial, but I see little reason to make it into an animation with just the stuff it teaches.

If only it had a bit more content, either more topics like programming AI, or slightly more advanced programming by going into more detail...


Kwing responds:

Well I definitely went into detail. I don't know why you said animation, though... It's just simple animation loops I use as skeletons for non-stick things. I thought about putting in health bars and enemies and stuff, but the thing is it happens so frequently in other tutorials it would be more elegant to just let this one be.


3manu973manu97

Rated 5 / 5 stars

WOW

THIS IS VERY AWESOME
The stickman's moves look cool
And the actions script doesn't look very hard :)
Good tutorial anyway.


Kwing responds:

Thanks, I wanted to make something simple but effective. Looks like it works. Lots of platform tutorials have one Movie Clip for ground, walls, and ceilings, but I didn't really want to follow this conformity; it was too complex and simply not necessary.