Sunday, February 26, 2017

Weekly post No. 3

The progression of the app has come along nicely. While it moves slow, the player that you control runs perfectly. And I have a good start on programming in the trajectory and animation of the ball. This is where the app gets interesting. Because there are now multiple different aspects of the app that all have to work together. I'm talking about the game board, the player, now the ball and in the future the computer player. However what is very nice is that all the different graphical components use the same coordinate plane. I did this by making the game board and the ball on one canvas and the players both have their own small canvas. This allows me to easily coordinate where the different onscreen components should be on the screen. And once I get the ball working right I will have to make sure the collision detection is properly coordinated and put implement the scoring system. And before I go I would like to mention that on the blog I have posted a link to a google drive folder. In here there are all the different builds of my app that have accumulated over time. You can download the apk files and run them for yourself
- The blocks necessary to run the ball. Each different angle the ball can go has its own code, with the very bottom block being what draws the ball on the screen

No comments:

Post a Comment