Updating the Reset button

Don't think that we have forgotten about our bug! Have you figured out what the bug is?" In the last chapter, we programmed the Reset button to move the ball to the top of the screen (y=2) and to a random x value. But, before the Play button starts the ball moving, it also moves the ball to a random x location. And the problem is, it isn't the same location that the Reset button previously set. So the ball moves once upon Reset and again on Play. We can fix this problem!" START A NEW PARAGRAPH Start it with "In addition to fixing the bug, we have some other updates to the Reset and Play buttons. Now that we have added scoring and leveling to our game, we need to edit the Reset button. There are several tasks related to ...

Get App Inventor 2 Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.