Tired of waiting?
Click here to disable ads!
You are not logged in. If you sign up for an account,
you can gain additional voting power over time, allowing your vote to have an even
greater impact on submission scores!
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.
Just.. What for is this ?
ok now i just have to get something to make a game -_-
It is very good but...
Will you ever show us how to make your character attack another?
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.
Eskimo Bob, he eats lots of fish!
An amnesiac man finds himself fighting to bring color to a B&W world.
Full length clay animation from Dustball and gel!
newgrounds.com — Your #1 online entertainment & artist community! All your base are belong to us.