Lab 3: Bouncing Ball (Final)
Introduction I discovered an error in the previous posting's code . In this post, I will show what error I found and how I fix it. Also, I have improved my code so it becomes more reusable. You can understand the steps on how I develop this code to read previous postings: Lab 3: Bouncing Graphic (Part 1 - Calculate Pointer) Lab 3: Bouncing Graph - Drawing and Moving Graph in the Pointer Location Lab 3: Bouncing Graph - Done Lab 3 Instruction The option my group choose is bouncing graphic. The instructions of this option are the following: Create a simple graphic in a square that is 5*5 or 7*7 pixels in size. Use the colors available in the emulator's bit-mapped display. The graphic could be a ball a happy face, a logo, an emoji, or anything else that you want to use Encode that graphic in bytes using DBC (declare constant byte) instructions Write code to make the graphic bounce around the screen, reflecting off the edges when it hits Make the speed keyboard-adjus...