7 PM – Intro To Python
7 PM – Intro To Python
We went over variables and data types We went over how to combine string together. Homework: Create a new python file called Jan1_StringHomework.py and do all the codes from page 20 toRead More...
We went over variables and data types We went over how to combine string together. Homework: Create a new python file called Jan1_StringHomework.py and do all the codes from page 20 toRead More...
We reinstalled gitlab ssh key in student computer, We fixed the gravity and jump feature in the Platformer run game. Homework: In the platformer game, add the rings, the keys and moreRead More...
Today we went over the homework to move bird2 down and to the right. We reviewed the code we had written so far and created a bird3. We started implementing a BirdRead More...
We discussed Platformer Runner Game final project. We continued with Balloon Shooting project. Homework: Add the ladders on the game. Push the code to gitlab. Add the closed door and add aRead More...
We were able to optimize the game by killing the bird and the fireball when it is outside of the screen. We restricted the player from going outside the screen from theRead More...
We went over how to reset the player position, score and fall speed when user died and user press play button. When the duck collide with coins, play "collect" sound effect. WeRead More...
We continued with Birdie project We detected mouse coordinate so we can check if user click on top of the mouse. Assisted a couple of students with their Python and Pycharm settings.Read More...
We did project planning for both group for their final projects. The final project is due on March 13. Homework: Complete project planning on the proposal document. I want to see whatRead More...
We continued discussing about the final project. We started with Shoot Balloon project. Homework: Complete your Final Project - project planning. I want to see what you can accomplish every week. TheRead More...
Today we finished setting up the Birdie project and configured it to work with python and installed the pygame library. We read through the initial code and modified it to draw theRead More...
We completed bird.py where we created Bird class which inherits from Sprite. Homework: Review the codes as I am going to ask these questions next week. Review Bird.__init__(...) . Try to understandRead More...
We went over the homework and finished adding the "Bird" class. We modified "Bird" to move and added a Birdie method to create an additional Bird at a random location. We refactoredRead More...
1. We fixed the platformer door locked and exit problem 2. We created project planning for final project. It is due on the end of January 2021. 3. Homework: make progress onRead More...
We made the player flaps its wings when moving right and left. Homework: You need to make the player flaps its wing even when they are not moving left or right. ToRead More...
When user click play button. reset score, display the player in the middle of the screen, clear the birds and clouds. Homework: In the Birdie game, display "birdie_title.png" on top of theRead More...
We discussed and resolved some final project coding challenges Homework: Finish your project planning weekly items in the google doc if you have not done so Make progress on your final projectRead More...
We clarified the project planning items We continued with Shoot Balloon We displayed balloon properly We added Target sprite and display the circle as the target on the screen. Homework Finish yourRead More...
We went over the homework to draw the blue bird onto the background and reviewed how the code works so far. We learned/reviewed how the pygame's coordinate system works. We resized theRead More...
Homework Create cloud.py Inside cloud.py, create Cloud class similar to bird.py Randomly load cloud1.png, cloud2.png, cloud3.png Integrate cloud.py into main.py similar to how you did for bird class. I want to seeRead More...
We resolved several problem with Platform Runner final project We fixed the problem where the player won't show the dying animation. We fixed the problem where the play button was not showingRead More...
We went over homework and finished adding delay to how often the bird is created and made the bird class select from one of the 4 different bird images. We made theRead More...
We made the player able to climb up and down the ladder. We enabled the credit button and the credit page. Homework: Continue with your final project according to the project planning.
We went over how to display credit button properly. We created Credit sprite. Homework: When user click on the credit button, display credits texts. The Credit sprite should appear on the screenRead More...
Make the giant fireball appear on the screen on the right position. Fixed the problem where the giant fireball appear on top of the player when it is facing left. Make theRead More...
We went over the final project planning. We went over the platform runner game progress. We went over the Wack-a-mole game progress. Homework: continue making progress with your final project.
We completed project planning. We made the door appear on the screen. Homework: Continue with final project.
We went over the homework to add bird3 which moves diagonally to the bottom right corner. We added a new "bird.py" file for the Bird sprite, and created a bird4 using thisRead More...
We went over how to display cloud to the screen We made birds move left and right. When it moved to the left, we made the bird appear from the right sideRead More...
We resolved the final project problem with the credit button throwing errors. the shoot the bullet not launching consistently. the player able to go up and down the ladder using "w" andRead More...
We create a program to simulate a robux store and allowed the user to buy a hat. Your homework is to add an additional case for when the user buys a "hair"Read More...
We finished the Final Project Platform Runner. We continued with Shoot Balloon project. Homework: In the config.py add BUG_FLYING_MODE and BUG_DIZZY_MODE. When the target collide with the bug, change the bug modeRead More...
Homework: Instead of just showing the word "Score ", combine it with the actual score class attribute. Add code in the main, so you can create a giant fireball when you pressRead More...
We completed Credit button and page for Flappy Duck game. We completed the entire congrats. Homework: Please review all codes inside Flappy Duck Game. Compile list of questions. Review your final project,Read More...
We reviewed Tell Me Your Age homework. We learned how to do List in Python. Homework: Do the homework in a file called Jan29_ListHomework.py Page 36 TRY IT YOURSELF : 3-1, 3-2,Read More...
We completed Birdie game Homework: Review Birdie codes, especially the part where we create new sprite and how to integrate into main.py Review the code where we do collision detection.
We went over Lava Jump (platformer game) bug fixes. We went over the Whack-a-mole bug fixes. Homework: Make progress with your final projects.
We went over how to create ladder.py We went over how to optimize preloading of images into memory once. Homework: Continue making progress on your final project according to project planning inRead More...
We went over the homework to add the "create_bird" method which spawns a lot of birds. We reviewed the Bird sprite. We moved the constants into a new file called "config.py" andRead More...
We went over how to make the cloud appear from left and right of the screen. We made sure the cloud glides in nicely into the screen. We made the bird faceRead More...
We fixed several issues in the platform runner final project. Home work: To make the bug fall down when it is hit by the target.
We finished implementing the robux program Your homework is to learn about dictionaries in python. Read and copy the examples and do the exercises on pages 95 and 99 in the paperRead More...
We went over the homework to make birds spawn on right and left. We flipped birds so they're facing left when moving left We started implementing the player object and painted itRead More...
We fixed the enemy.py when it is moving back and fort properly. We continued with shoot balloon project We made the bug fall down when it is shot. We added the chirpingRead More...
We went over how to create giant fireball. We differentiate a regular fireball vs giant fireball behavior. The giant fireball will not disappear when it hit a bird. We displayed giant fireballRead More...
We reviewed what we did in Birdie project. How to create a new sprite. How to integrate a new sprite into the main.py How to detect collision between sprite. There is noRead More...
Platform Runner final project Make the player able to stay on top of the platform Discussed how to make the door open and close. Discussed how to make the player temporarily "invincible"Read More...
We went over how to continued with the Platform Runner code. We continued with our Shoot Balloon project. There is no class next week due to President Day weekend and Chinese NewRead More...
We went over how to make the bird flaps slower. We went over how to create player.py We integrated player.py into main.py. There is no class next week, the class will resumeRead More...