Since i'm a beginner i wanted to tryout classic arcade game remakes to train.
Right now i'm working on "Pang" clone, -panic mode of pang 2-. The logic is i'll randomly spawn ballons on screen. All was fine till now. Except i'm unable to make them to bounce back to same height as they started. They should jump with some angle (random, max 35) I tried several things but it didn't work out.