03-18-2014, 04:03 PM
http://arachnoid.com/latex/
Hello! I'm just learning game maker, and I've created a formula for the gravity that is kinda sorta the gravity of earth. This formula is:
room_speed is the fps. This results in how many pixels your object should fall every frame (if you want this formula explained, just ask).
Now I'd like the player to jump about 1 meter into the air, I've worked out this equation (I just had exponential growth in math class):
p is the player's jump height
Now, let's say our fps is 60.
there's where I get stuck, I just had the log function in math class, and I understand it. But I'm not sure how to apply it with this problem. The only way I can think of is:
But yeah, no way I can see to solve that problem since you can't work out 1/p further.
Any solutions? With explanation, please.
PS: Mathjax does not work anymore for some weirdo reason. I had to use a site that generated latex images for me.
Hello! I'm just learning game maker, and I've created a formula for the gravity that is kinda sorta the gravity of earth. This formula is:
room_speed is the fps. This results in how many pixels your object should fall every frame (if you want this formula explained, just ask).
Now I'd like the player to jump about 1 meter into the air, I've worked out this equation (I just had exponential growth in math class):
p is the player's jump height
Now, let's say our fps is 60.
there's where I get stuck, I just had the log function in math class, and I understand it. But I'm not sure how to apply it with this problem. The only way I can think of is:
But yeah, no way I can see to solve that problem since you can't work out 1/p further.
Any solutions? With explanation, please.
PS: Mathjax does not work anymore for some weirdo reason. I had to use a site that generated latex images for me.