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 learned about data type and variables Homework: Create a new Python file March14_StringHomeworks.py Page 20 to 23
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 finished discussing about Function With Return value, We started learning how to generate random numbers and how to choose random element from List in Python. Homework: In the same file thatRead 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...
Today we went over: The last while loop homework Quiz 1 Review Homework: Study for Quiz 1 which will be next Saturday on April 10, 2021 Review the lecture notes and quizRead More...
Today we went over: How to build the body, arms, and head of the robot using Turtle in Python How to draw spirals by manipulating circles in Turtle Homework: Review the criteriaRead 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...
We reviewed the Whack-a-mole final project features and trimmed down some features. We made the hammer swing not too fast. Homework: Detect collision between hammer and the mole. When the mole isRead More...
We reviewed the Birdie Game code. We went over the pygame cheat sheet. We started the Flappy Duck project I've uploaded the source code here. Homework: Create a sprite class "Tube" usingRead More...
We fixed Clouds entering from left side of the screen. We fixed Giant fireball spawn location. We reviewed Birdie project codes How to create a new sprite on your game. How toRead More...
We made the mole transition to hit mode when we swing hammer on the mole. We slow down the animation of the mole hit mode Homework: Slow down the following animations: APPEARINGRead More...
We made the Flappy Bird flaps its wings. We made UPWARD and DOWNWARD tubes. Homework: Create a new sprite coins.py Use coin_1.png and coin_2.png as the images. Make it appear on theRead More...
We continued making progress with Zombie H1 Virus game and Tank Wars.
We started on Hangman project. We were able to choose a random secret word. We were able to draw our health symbols using unicode. We were able to draw question marks ("?")Read More...
We continued with Shoot Balloon project We made the balloon disappear only after the target collide and user click on the mouse. We made the explode image and the score appear afterRead More...
Today we completed: Quiz 1 Homework: No homework, enjoy your week off! If you have any questions, please feel free to email me at nathaniel@ayclogic.com!
Today we went over: Draw images like a smiley face and complex polygons with turtle in python Homework: Review the criteria for this class’ final project: https://www.ayclogic.com/intro-to-python-final-project-criteria/ Draw a project proposal that fulfillsRead More...
We finished the Birdie project. We added background music, sound effect and Flashing Giant Fireball Ready sign. We reviewed Birdie project. Homework: Download FlappyDuck project from google drive. Try to open thisRead More...
We continued with Wack-a-mole final project. We displayed the 3 hearts on the top right corner of the screen. We made sure that the hammer can only hit the mole and getRead More...
We went over the homework to slow down the creation of clouds. We reviewed the code and the game loop. We added a direction to the Bird, and flipped it. I've uploadedRead More...
We went over the homework to add the tube We moved the constants to the config file We created tubes with a delay timer We created up and down facing tubes WeRead More...
We made the green potion appear on the screen once every 5 seconds. We made the green potion disappear on the screen after 2 seconds. Homework: finish previous homework. The green potionRead More...
We added the coin on the screen. We Made the tube on the bottom adjust its height (by controlling the Y coordinate) so there is always enough gap between the Tube onRead More...
We continued with Shoot Balloon game. We added target sprite. We fixed a lot of small errors each of the students have Homework: Detect collision between Target and Balloon. If they collideRead More...
We continued with Hang Man game. We handled when user enter the entire word correctly. We handled when user enter incorrect answer. We reduce the health when user enter incorrect answer. Homework:Read More...
Homework: Detect collision between player and the coin. If they collide, make the coin disappear. Add sound effect when player and coin collide, use the assets/audio/plop.wav audio file.
We continued with Shoot Balloon project. We added the bug on the screen that can move to the left. We added the explosion sprite. Homework: Change the code in main.py so itRead More...
We started Tank War game. We added game loaders We added the background and the wall Homework: Create tank.py load all 4 images under "assets/Player_2/Type_1/PlayerTank_2_1_{index}.png" animate these 4 images. Look at howRead More...
We went over the homework to launch super fireballs We added a function handle_bird_fireball_collision to reset the game when the player dies We added logic to detect when the user clicks theRead More...
Today we went over: Quiz 1 Problems An introduction to functions without return values Homework: Pg. 130-133
Today we went over: In-depth review over Final Project proposal criteria A grocery system in python Homework: Email your project proposal to nathaniel@ayclogic.com (Please do this ASAP because I need to approveRead More...
We started Flappy Duck project. We setup the project in pycharm We created Tube sprite and display it on the screen. Homework: Create a tube once every 2 seconds. Each of theRead More...
We continued with Wack-a-mole final project. We displayed the Play Button. When user click on the Play Button, it will start the game. When Mole attack, reduce the health (heart symbols). Homework:Read More...
We went over the homework to add a direction to the cloud sprite class. We made the cloud have a width offset when it's moving to the right. We made the birdRead More...
We went over the homework to add the Player. We randomized the height of the tubes. We made the player drop from gravity. Homework: Create a sprite class for the "Coin" MakeRead More...
We made the Hammer Powerup icon appear for 5 seconds after hammer hit the green potion. We made the score to increase faster when user is in powerup mode. Homework: When inRead More...
We made the coins between the tube. We added gravity to the player. We made the gap between the tube bigger. Homework: Make the coin appear randomly on top or on theRead More...
we continued with Hangman project. We figure out how to find a letter position in a word. For example, letter "a" is in the 3rd position in the word "dragon". This isRead More...
We made the program play collect5.wav when player hit the coins. We displayed the score and count down. The count down is still work in progress. Homework: When the program start, displayRead More...
Homework: When regular balloon pop by target, play the plop.wav sound effect. When bad balloon pop by target, play the explodify.way sound effect. When bug hit by target, play the plop.wav. WhenRead More...
Homework: Control the tank with W, A, S, D keys in your keyboards. Make sure to also move the turret as the tank moves. We need to learn a little bit ofRead More...
We went over the homework to draw the super fireball cool-down indicator We made the cool-down indicator flash We made the play button sensitive to the position of the mouse We addedRead More...
Today we completed: Learning about functions without return values Homework: The 2 questions in the file named "Apr24_FunctionsPart2.py" (found in the google drive) I will also leave the questions below: ''' Homework:Read More...
Today we: Covered any project questions Reviewed GrocerySystem.py Began building the robux transaction system Homework: Email me a picture of your project proposal if you have not done so already Keep workingRead More...
We added Tube with different sizes appear on the screen. We did this by making the Y negative so only section of the tube appear on the screen, making it shorter. WeRead More...
Homework: When user click the play button, please do the following: Reset score Reset number of hearts. Set all the moles to EMPTY mode. Add the credit page Game Developer: <your name>Read More...
We went over homework to slow the birds flapping of wings We added the Player sprite and moved it back and forth. I've uploaded the code here. Homework: Create a new SpriteRead More...
We did the homework to add add the Coin and keep track of collision between player and the tube We made the player enter dizzy mode when it hits the tube. I'veRead More...
We fixed the problem with setting all the moles to EMPTY_MODE after user click play button. We fixed the score on the explode image. Wack-A-Mole game is completed.
We randomize coin to be on the top and the bottom location. We enabled GAME_LANDING_PAGE and GAME_IN_SESSION. We added the ability for the player to jump. We added hitbox (rect) to theRead More...
We displayed Explode sprite when we pop the balloon. We added points on top of the Explode sprite. We added "Bad Balloon" text on top of the balloon. We completed Python GameRead More...
We completed Hangman game project. We started learning how to read python error messages Homework: Create a new file April30_FixPythonBugHomework.py Copy and paste the broken code from https://www.ayclogic.com/fixing-python-bugs/ to above file FixRead More...