We created enemy_tank.py and the EnemyTank class inherits from Player class. We override some methods in Player class so the EnemyTank can load its own set of images. This way the PlayerRead More...
We went over the classes homework. We finished the Human and Student example. We started learning about inheritance. Homework: Read and do the examples and exercises from page 167 through 169 inRead More...
We went over the homework to slow down the flapping of the player wings. We went over the homework. We reviewed how the player flaps its wings. We made the fireball faceRead More...
Homework: create bullet_launch_flare.py Create a class BulletLaunchFlare It should animate the assets/Tank_Shot/Thank_Shot_X.png When you launch either enemy or player bullet, you should have this animation near the tip of the turret.
Homework: When the player and the bird collide, switch the game_mode to GAME_LANDING_PAGE. This way the user can play the game again. To do this, you have to look at how weRead More...
Continued making progress on final project: Virus Zombie We made the Zombie able to spawn We made the Zombie able to not move with the map. We fixed the problem with theRead More...
Homework: Slow down the creation of Tube. Look at how we slowed down the creation of bird in Birdie game. Make the Tube appear from the right side of the screen.
We made progress on the final projects Lava Joomp: We fixed the credit page We fixed the lava rise timing problem We fixed the jumping animation Whack-a-mole: We fixed displaying Game winRead More...
We made progress on the Platform Runner final project We made the dinosaur able to move left and right on a platform. Homework: Continue making progress on your final project according toRead More...
Homework: When user pressed "f" key add a new fireball to the group. Do this in main.py inside game_loop() Change the code in player.py so when player goes to the left, itRead More...
Homework: Add Player hitbox (rect) Inside main.py, detect collision between Player and Bird. The player should disappear when they collide. Look at how we did it for the fireball and the bird.
We went over the inheritance homework. We setup PyCharm and downloaded the the Birdie Template. Your homework is to make sure you can select a "python interpreter" in Pycharm, following the instructionsRead More...
We added a rect attribute for both the fireballs and the birds. We added logic to handle collisions between fireballs and birds, so the birds get killed. I’ve uploaded the source codeRead More...
We continued with adding ability for the enemy tank to find path to get closer to the player. Homework: Create a power_up.py sprite and make the powerup sprite appear randomly periodically onRead More...
We completed implemented Play button properly. We reset player score We removed all birds from screen We resurrect the player. We added pop sound effect when the fireball hit the bird. Homework:Read More...
We went over the homework We learned about inheritance in python We learned about dictionaries I uploaded the code here. Homework: Follow the direction to download Pycharm: https://www.ayclogic.com/pycharm-setup-guide/ Read and do theRead More...
We continued with Flappy Duck game We added Downward Tube properly. Homework: Create coins.py Inside coins.py, create Coin class Load coin_1.png Integrate it to main.py and make it appear on the screen.
Both teams made a good progress on their final projects. I am very proud with them: Lava Joomp Whack-a-mole Homework: Polish your final projects so everything is good and game works perfectly.
We went over how to have 2 game modes GAME_LANDING_PAGE GAME_IN_SESSION Homework: In main.py load play_button.png and birdie_title.png. No need to create its own file, just do it inside main.py like howRead More...
We went over the inheritance homework. We downloaded the pygame template Your homework is to familiarize yourself with Pycharm.
We added Birdie background music and reviewed the project. We downloaded Flappy Duck Asset. Homework: On Flappy Duck project, do the following Change pygame_class_template.py to main.py. Change ChangeMe class to FlappyDuck usingRead More...
We continued to make progress on the final projects NanoVirusB1 Tank Wars Homework: Continue to make progress on your final project.
We discussed how to make coins appear on the screen and between the tube. We made the Tube appear both on the top and on the bottom of the screen. Homework: MakeRead More...
Homework: In the shoot balloon project do the following Integrate the target.py into the main.py Create balloon.py and randomly load one of these images: blue_baloon_1.png, green_baloon_2.png, orange_baloon_1.png, red_baloon_2.png Integrate the balloon.py intoRead More...
We completed Final Project... Yea. We continued with Shoot Balloon project. Homework: When balloon go above the screen, kill the balloon. Create a new sprite, bug.py. You should use assets/bird/flying/frame-1.png and frame2.pngRead More...
We went over the homework to slow down player flapping wings and spawned clouds from left and right. We made fireball launched with pressing the space key and added a cool-down periodRead More...
We centered Play Button and Title image We detected mouse click on the Play Button. When play button is clicked, we start the game. Homework: When the player and the bird collide,Read More...
We enabled the enemy tank to find path towards the player. We enabled shield on player. Homework: Add collision detection between the shield and the bullet. The bullet should disappear.
Fixed the problem with enemy tank get stuck because the player is going out of the screen. Fixed the problem where the powerup spawn is not limited. Added Enemy shield. Homework: WhenRead More...
We started Flappy Duck project. We added the background We created config.py We created tube.py and made Tube sprite appear on the screen. Homework: Make the Tube sprite appear from the rightRead More...
We made the Duck flaps its wings. We made the Coin dances. We made the Duck flaps its wings not too fast Homework: Right now the Coin changes the costume too fast.Read More...
We continued with Shoot Balloon project We added one balloon and target to the screen Homework: Make the balloon appears on the screen periodically, one every 1 second. Make sure the balloonRead More...
We continued with ShootBaloon game: We made the bug appear properly and flaps its wing. We could shoot the bug. Homework: Create LANDING_PAGE and GAME_IN_SESSION mode in config.py. When your program firstRead More...
When player died, we display PLAY Button and title properly. We also make sure, the birds are cleared from the screen when PLAY button is pressed, score is reset and player spawnRead More...
We added a new Bird class and learned about Sprite. I've uploaded the source code here. Homework: Follow the example for Bird class and create a new "Cloud" Sprite class. Create aRead More...
We continued with Flappy Duck project. We added the Tube on the top of the screen starting from the right side of the screen going to the left. We randomize the heightRead More...
We made the Tube and the player collision detection. We went over how to use Find and Find In Files / Find in Path features in Pycharm to find codes quickly. Homework:Read More...
We continued with Shoot Balloon project. We made the Target sprite to have lines We made collision detection between Target and Balloon. Homework: Delete the Balloon when it collide with Target onlyRead More...
We continued with Shoot Balloon project We added Explode sprite. We added bugs Homework: Display the score on the top left corner Display the count down on the top right corner.
Handled collision between the player and birds (homework). We created a score attribute in the Player class to keep track of the score. We increased the score when the player kills birds.Read More...
We fixed Giant Fireball spawn location. We display Giant Fireball Cooldown Indicator. And when the countdown went to negative number, we switched to "Giant Fireball Ready" text. Homework: Review all codes inRead More...