But I dont understand the maths for letting it bounce.
My proffessor told me I should use parabole maths, but I tried whatever and my ball is just moving from left to right.
I could paste my script but it's linked to different Nio's
at least u get the idea: its suppose to be a bouncing ball at the bottom of the screen which bounce back when it collides with the sides of the frame.
Any advice is welcome!
class Bounce { // variabelen int x_loc; int y_loc; int x_speed; int y_speed; int c; // variabele voor kleur Bounce_body Lichaam;