i need help understanding how to calcualte speed and gravity

Tikikala

• Posts: 42
so i think stencyl speed is 10 pixel per second, so whatever speed you put down in x or y direction would be (10 pixel )* the value you put in = total number of pixels moved, right?

what about y speed and gravity? IDK if gravity is effected by vertical y speed, but if you have a falling actor, how many pixel per second does it fall based on how much its mass is and the scene's gravity? then there's bounciness but assuming bounciness isn't there first

okyanusefer

• Posts: 40
You can use physics formule Kinematic Equations and Free Fall, what you need for this? if you tell, some people can you give idea.

Tikikala

• Posts: 42
im making a platform game, and im having trouble with collision

the way it works now, if the player bumps into an enemy actor voluntarily (key push), the player will be bounced back due to my code

but if i want my player to be not moving (maybe idling and unaware that the enemy could hit them), the enemy would only push the player if the player is on the left side of the enemy actor. when i put my player on the right side, a collision is detected (i tested using "print something in log viewer", but the enemy won't push the player away

okyanusefer

• Posts: 40
You need to create, when self hits an actor of Players in your enemies.

Tikikala

• Posts: 42
this question is solved as i found some threads that solved my questions, please close this