12 PM – Android Game Development – Gamas
Homework Add a hitbox in Player and Bird sprites, but you have to use Java inheritance to avoid code duplication. Once you do this, you also want to improve the Fireball classRead More...
American Young Coder Academy – Indo
Homework Add a hitbox in Player and Bird sprites, but you have to use Java inheritance to avoid code duplication. Once you do this, you also want to improve the Fireball classRead More...
Today We Did We continued working on Birdie Mobile game. Added collision detection between fireball and bird. Homework No homework. No class next week. The class will resume on Jan 7, 2023.Read More...
Today We Did We went over the team project progress. We added 2 more sprites for the project so each kid can work independently: Shuriken, PowerUp. Homework Continue working on your teamRead More...
Homework Everytime the player kills a bird, increase score by one. Display score in the top middle of the screen.
Homework Inside activity_main.xml, adjust player1Label and player2Label topConstraint so it will look vertically aligned with the player1Text and player2Text. Inside activity_game.xml, set the background image to background_img.png
Homework We are using a lot of if elif else statements in our codes. There is a slightly faster way which is using switch https://www.w3schools.com/java/java_switch.asp Replaced code inside GameView.update() to use JavaRead More...
Homework Inside activity_game.xml, add the component number 3, 4, 5 and 7. For component 4, just put start (left:32dp) and top constraint (8dp). For component 3, just put end (right:32dp) and topRead More...
Homework Continue with Dragon Birdie mobile application. Add High score feature. The Highscore feature should be stored inside SharedPreferences. SharedPreferences is what we used to store sound on and off setting.
Today We Did We continued with Tic Tac Toe. We started adding the Tic Tac Toe board using Linear Layout Homework No Homework
Homework Continue on Dragon Birdie mobile app. Set game duration to 120 seconds. Modify GameView.createBird() codes so the frequency of bird getting created increase as the time progress: When game duration isRead More...