Be a Supporter!

Credits & Info

May 20, 2011 | 11:07 PM EDT

If you liked this, check these out!

Author Comments

I had previously made one a year ago like this, except I polished it up a lot more in this one.

Aimed towards beginners who want to be able to make the fundamentals of a game.



Rated 2 / 5 stars

Just.. What for is this ?


Rated 5 / 5 stars

ok now i just have to get something to make a game -_-


Rated 4 / 5 stars

It is very good but...

Will you ever show us how to make your character attack another?


Rated 4.5 / 5 stars


that helped!


Rated 3 / 5 stars

A Few Things are Off


The collision code is a little unstable. For example, when I move up-right or down-right, and touch the right wall, it will block me sooner than when I move right and touch the wall.

The code that handles the response for the collision should take into account the position of the wall that the player is colliding with. For example, in the Right Wall block of code, there is this:

_root.guy._x -= 5;

should be something like this:

_root.guy._x = wall.x - _root.guy.width;

Assuming the point of origin for the wall and the player are their upper-left corners, this should place the player directly on the left side of the right wall.

This will prevent the player from "bouncing back", which I am experiencing sometimes after I release the keys.

The collisions code has the most bugs in it. Everything else seems fine, although an AS3 tutorial would be more helpful, considering AS3 way >>> AS2. (:

- Ziro out.

People find this review helpful!