12 PM – Android Game Development – Gamas
Homework Everytime the player kills a bird, increase score by one. Display score in the top middle of the screen.
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...
Homeworks XML homeworks Open your SchoolApplication or StudentApplication Inside this project, create a new XML file call it: school_application.xml Represent student_list inside school_application.xml. Inside student_list create at least 4 students. Represent eachRead More...
Today We Did We added click listener to all 9 boxes without doing code duplication. We display circle image to the box that the user click. Homework No class next week (04/08)Read More...
Homework Create bank_system.xml and represent the data from BankSystem.java (from the Intro to Java final test). It should have the following items bank_accounts map inside bank_accounts map would have a whole bunchRead More...