1. How to make the ball start ontop of the pong. (trying to do this for ages.)
What I want to know how to is make the ball follow the pong left and right?
Create EventNow this creates obj_ball at the x and y coordinates as the object you put it in. Put that in the create event of your paddle object.instance_create(x,y-7,obj_ball);
Next problem was how to make obj_ball follow the x coordinate as the paddle but once space is pressed, it will carry on with its normal routine.
Create Eventgo = 0;
Step Eventif go = 0 {x = obj_paddle.x}
if go = 1 {//your normal obj_ball code}
if keyboard_check_pressed(vk_space)
{
go = 1;
vspeed =- 7; //replace with your up movement code.
}
All of the code above should go in the events listed in obj_ball.
Thx for the reply but Sinister95 figured it out.











