3 PM – Python Game Development
3 PM – Python Game Development
We added collision detection between the fireball and the bird. Homework: Add collision detection between the player and the bird.
We added collision detection between the fireball and the bird. Homework: Add collision detection between the player and the bird.
We went over the final test result. We learned about Python dictionary. We started fixing Baby Name generator to eliminate the duplication. Homework: Change the Baby Name generator to fix the problemRead More...
We added collision detection between player and bird. We added sound effect when fireball collide with bird and player collide with bird. We introduced 2 game modes: GAME_NOT_STARTED GAME_STARTED Homework: Display theRead More...
Homework: Make the bird02 appear on the bottom right corner. Make the bird02 move left incrementally. Load the bird01_B.png and put in coordinate (100,100)
We added the collision detection between Player and the Bird. We added sound effect when the Player and the Bird collide. We added score in the screen. Homework: Display play_button in theRead More...
we reviewed the bird fighting final project. I can see there are a lot of good progress have been made. We continued with the Shoot Balloon project. We created Balloon sprite andRead More...
Homework: Display the BIRDIE title on top of the play button When pressing F button, display 10 fireballs
We continued with Birdie project We added play_button in the middle of the screen We added code to handle starting the game when user click on the play button. We added theRead More...
We went over class homeworks. We went over class inheritance. Homework: Page. 168 to 170.
We completed the Birdie project. Homework: Put the birdie_title.png on top of the play button. In the main.py, do the following create a new function: "launch_bomb" Inside the function, when user enterRead More...
we continued with Birdie project. We made the game not automatically started when the program is run. Only the play button, clouds and birds appear. But player is hidden. We made theRead More...
We added the special fireball. Homework: The Birdie project is done. I want you to understand how we did the following: Draw image on the screen? How to load an image fromRead More...
Homework: The special fireball cooldown indicator when it reached 0 or less, it should be changed to "Special Fireball Ready" with changing color. Try to review the Birdie codes and answer theseRead More...
We finished discussing about Class Inheritance. We downloaded and install Python 3.7 and Pycharm No homework
Homework: Load bird02_A.png Resize the bird image just like how you did it in the bird01_A.png. blit the bird02_A on the screen. Make the bird move from top to bottom
We added a cool down indicator in the Birdie game. We started downloading FlappyDuck game assets and created new Pycharm project. Homework: Review Birdie project, if you have question, please bring itRead More...
We continued with Birdie project We started creating Bird sprite class. No homework for next week.
We added special fireball in Birdie game. Homework: Add a special_fireball_timer to prevent special fireball to be launched to frequently. Take a look on how we delay the regular fireball launching. CreateRead More...
We created Bird class which inherits from pygame.sprite.Sprite class. Homework: Inside Bird class do the following inside __init__ function, create a list of String, bird_images which contains all of the bird imagesRead More...
We went over how to create bird sprite randomly and how to control the frequency the bird sprite is being created. We learned how to use a centralized configuration file. Homework: MakeRead More...
We discussed about how to create Final Project proposal. https://docs.google.com/spreadsheets/d/1tAjw677hKl5dH5PcaAq9Lusw8QeKFrvC9oHNHMd8dbw We started on Flappy Duck project. Homework: Integrate tube.py into main.py Make the Tube appear on the top right corner of theRead More...
We continued to work through Bird class. We integrated Bird class into main.py Homework: In Bird __init__ function do the following create a list for all the bird images: assets/bird01_A.png assets/bird02_A.png assets/bird03_A.pngRead More...
We completed Birdie game. We added special fireball indicator We added background music. We added the birdie_title.png image on top of the Play button. Homework: review the Birdie game codes and tryRead More...
We continued with Shoot Balloon game We added the Balloon creation delay We added the Balloon collision with target. Homework: Complete your final project. In Shoot Balloon project, change the collision handlerRead More...
We discussed about final project proposal We added Tube on the screen Homework: Every 2 seconds, create one Tube on the top and one Tube on the bottom. Look at Birdie projectRead More...
Homework: Inside bird.py Make the flapping wing less frequently. Look at how we delay creation of bird inside main.py For the bird that moves to the left, fix the glitching.
Homework: Create a Player class. Copy bird.py into player.py Change the Bird class into Player class. Load the player-1.png Inside Player.update(), do not call self.flap_wing() Try to integrate Player into main.py
Reviewed Final Test Homework: Page 168 to 171. Create the homework file with this name: Aug27_ClassHomework.py
Homework: Do the homework in https://www.ayclogic.com/event/3-pm-python-game-development-35/ Put all images for your final project in https://drive.google.com/drive/u/0/folders/1zVL_1QE_3DNBdG419DjHg_ODOz2ljJJ4 Create the remaining images according to the spreadsheet. Put some story lines in https://docs.google.com/spreadsheets/d/1TUCRFWUy3gkJM-3k8H6I3-ijQiSeoDiY8ewnfWAWl9g/edit#gid=1437452366
We randomize of which bird image to create. We went over how to delay the creation of birds in Birdie game. Next week is a labor day weekend, so no class. Homework:Read More...
We reviewed Birdie project techniques and mechanisms. This is important because we will be using the same techniques and pygame functionalities in all of our future projects. Homework: Create 1st draft ofRead More...
We reviewed the final project and discussed how to make the code better. We continued with the Shoot Balloon project. Homework: Continue to finish the final project according to the points discussed.
No class next week because of Labor day weekend. We will meet again on September 12 - 10 AM. Homework: Delay creation of Tube Everytime you create Tube, create 2 Tubes, oneRead More...
We continued with Birdie project Homework: Make the player flap just using player-1.png and player-2.png. Look at how we did it int the bird.py Create a fireball.py Copy and paste the cloud.pyRead More...
We learned about Object Oriented Programming (OOP) We learned how to create a class in python We learned about __init__ function We learned about class attributes Homework: Do "TRY IT YOURSELF" 9-1Read More...
Homework: Inside main.py, inside control_tube_creation(self) function, do the following Create 2 tubes: UPSIDE_DOWN, RIGHTSIDE_UP Make sure to pass the correct "mode" when creating Tube. Set the correct "y" coordinate: HEIGHT - image.get_height()Read More...
This site uses cookies to understand your visit and improve future outreach. We do not sell personal data.