R
Riverlox
Guest
I instantiate my variable and then later I have a collision that I want to make the jumpheight smaller. I have this but it does not work. I changed the number from -10 to -20 and it did change the jumpheight but the collision does not. I need assistance.
jumpheight = -10
if (place_meeting(x+hsp, y, EggBurrito_object))
{
jumpheight += 5;
}
jumpheight = -10
if (place_meeting(x+hsp, y, EggBurrito_object))
{
jumpheight += 5;
}