W
Wild_West
Guest
Why is my gravity setting in my practice file so much less than in my real file? The settings are both exactly the same but the player falls too slow in the practice one and can't seem to jump as high, which makes no sense since the gravity seems to be less.
Gravity code for real and practice game files
if not( place_free(x,y+1) ){ gravity = 0; }
else
{
gravity += 0.1;
gravity_direction = 270;
}
Jump code for real and practice game files
if(place_meeting(x, y+1, parent_wall_object))) and (jump){ vspeed = -jump_height; }
platform collision for real and practice game files
move_contact_solid(direction,10);
vspeed = 0;
EDIT : I copy/pasted my code from my player object in the real game file to my practice file and that fixed it, so I tried redoing what I had to see if I could recreate the problem but it didn't work, so now I have a fixed gravity that I can't break to test the differences. What is going on here?
Gravity code for real and practice game files
if not( place_free(x,y+1) ){ gravity = 0; }
else
{
gravity += 0.1;
gravity_direction = 270;
}
Jump code for real and practice game files
if(place_meeting(x, y+1, parent_wall_object))) and (jump){ vspeed = -jump_height; }
platform collision for real and practice game files
move_contact_solid(direction,10);
vspeed = 0;
EDIT : I copy/pasted my code from my player object in the real game file to my practice file and that fixed it, so I tried redoing what I had to see if I could recreate the problem but it didn't work, so now I have a fixed gravity that I can't break to test the differences. What is going on here?
Last edited by a moderator: