W
Wicked
Guest
I am pretty new to GML and Game Maker in general, and have been following the tutorials to learn up on it, however I am having issues with the collision of the ball and the brick. The ball will only go in the opposite direction of the original bounce (like 95% of the time) even though I changed the code to ensure that it would not be the case.
move_bounce_all(true);
if speed < 12 speed += 0.1;
global.player_score = +15
audio_play_sound(snd_Break, 0, false);
instance_destroy(other);
this is the code I have with it currently, removed the variable stuff to see if it would fix it but it didn't help
Any help is greatly appreciated!!
move_bounce_all(true);
if speed < 12 speed += 0.1;
global.player_score = +15
audio_play_sound(snd_Break, 0, false);
instance_destroy(other);
this is the code I have with it currently, removed the variable stuff to see if it would fix it but it didn't help
Any help is greatly appreciated!!