I'm having a problem with the character landing, it lands about 4-8 pixels above the ground, but if I move the character will land on the "ground". Here is how I have my events/actions set:
(Character)Mario_Right_0(stationary Mario pic)
Create: Set Grav to 2 at 270 Degrees(How come there is no degree key on a keyboard? sorry, back to the point)
Collision with L_Edge_Grass_01: Set Grav to 0 at 270 Degrees
Collision with C_Grass_01: Set Grav to 0 at 270 Degrees
Collision with R_Edge_Grass_01: Set Grav to 0 at 270 Degrees
Press(Space): Jump to given position X,0 Y,-48
: If a position is collision free X,0 Y,1
: Set Grav to 2 at 270 Degrees
Press(Left): If a position is collision free X,0 Y,1
: Set Grav to 2 at 270 Degrees
: Change Sprite to Mario_Left_1(animated gif of mario moving left)
: Start moving in a direction(Left)
Press(Right): If a position is collision free X,0 Y,1
: Set Grav to 2 at 270 Degrees
: Change Sprite to Mario_Right_1(animated gif of mario moving right)
: Start moving in a direction(Right)
Release(Left): If a position is collision free X,0 Y,1
: Set Grav to 2 at 270 Degrees
: Change Sprite to Mario_Left_0(Stationary pic facing left)
: Start moving in a direction(Stop)
Release(Right): If a position is collision free X,0 Y,1
: Set Grav to 2 at 270 Degrees
: Change Sprite to Mario_Right_0(Stationary right facing pic)
: Start moving in a direction(Stop)
Well that sums up what I have so far. It's just not working quite like I would like and I didn't want to make a seperate topic since this already dealt some with jumping.