How to create a bouncing ball animation in App Inventor 2

You may also like...

4 Responses

  1. erkan says:

    How can i get ball coordinates dynamically?? I want to set two label’s text to ballX and ballY when ball bouncing anywhere 🙂

    • Edward M says:

      Just refer to the X and Y properties of the ball, as in Ball1.X and Ball1.Y. You can also set the values of X and Y to position or move the ball on screen. I just did this for an app I have – I was using ball objects but rather than using the Ball1.Speed to move the ball, I was manually moving the ball by setting the X and Y positions directly.

      Ed

  1. October 28, 2015

    […] described the basics of creating a bouncing ball animation earlier and mentioned that “image sprites” are similar to the bouncing ball graphic, […]

  2. October 28, 2015

    […] How to Create a Bouncing Ball Animation in App Inventor 2 […]

LinkedIn Auto Publish Powered By : XYZScripts.com