00:00
00:00
AethosGames

11 Game Reviews w/ Response

All 39 Reviews

Five for the effort.Here are some tips.

You should probably playtest your game a little more. You fall through the floors a lot, because there are problems with shapeflag hittests. First, it looks like you used thickened lines for the ground. Use rectangles instead. Also, with true gravity, the farther you fall, the more pixels you skip per frame. increase the framerate to around 50, and use a gravity modifier. For example:

var grav: Number = *whatever you wnt your gravity constant to be*;
var gravity: Number = 0;

then:

onClipEvent(enterFrame){
gravity += grav
}

to prevent him from falling through the floor, use something like this(alter for your instances):

onClipEvent(enterFrame){
while(_root.ground.hitTest(_x,_y,true )){
_y += grav;
gravity = 0;
}

If you alter this correctly to tailor your flash, it should prevent you from falling through your floor (if you use rectangles for the floor, because no matter the thickness of the line, its width is still only 1 pixel).

-Psyflash

mattuiop responds:

thanks for the help, that should work!

Hi, I make games and stuff!

Age 34, Male

Flash Programmer

Johnson & Wales University

Denver, CO

Joined on 8/30/08

Level:
8
Exp Points:
570 / 710
Exp Rank:
> 100,000
Vote Power:
4.99 votes
Rank:
Civilian
Global Rank:
72,001
Blams:
10
Saves:
84
B/P Bonus:
0%
Whistle:
Normal
Trophies:
7
Medals:
255
Supporter:
11m 30d