r/gamemaker • u/origfig • 18h ago
Help! Gamemaker pong hlp plz
im makeing pong in gamemaker as my first game, following a tutorial and it seem fine for now.
how ever the ball seems to spawn at random speed each time and I cant figure out how to separate speed from direction?
the code is just
hSpeed = random_range(-10, 10);
vSpeed = random_range(-10, 10);
I have a video but im not sure how to upload it