GameMaker How do I accomplish this?

I

im_yonkara

Guest
Ive been trying to figure out how to spawn a ball in, then it starts moveing back and forth on the x axis from like 10 to 800 and I want it to stop and physics to start when the space bar is pressed and the ball (obj) will drop. Any help???
Im using GML code. On the 2nd game engine.
 

TheouAegis

Member
Do you actually want the box2D physics, or do you just mean you want the ball to drop one way or another? to simply make the ball drop without using the physics engine, just sat gravity to some number greater than zero when the space bar is pressed.
 
Top