Be a Supporter!

Credits & Info

Uploaded
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.

Reviews


M4G3XYM4G3XY

Rated 2 / 5 stars April 28, 2012

Just.. What for is this ?



jeddybear12jeddybear12

Rated 5 / 5 stars April 9, 2012

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



EDGG-sketchEDGG-sketch

Rated 4 / 5 stars September 21, 2011

It is very good but...

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



SuperLMESuperLME

Rated 4.5 / 5 stars May 21, 2011

thanks

that helped!



Zir0Zir0

Rated 3 / 5 stars May 20, 2011

A Few Things are Off

Hey.

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:

if(this.hitTest(_root.guy)){
_root.guy._x -= 5;
}

should be something like this:

if(this.hitTest(_root.guy)){
_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!