2 PM – Intro To Python
2 PM – Intro To Python
We learned about IF ELSE statements. Homework: You need to check last week homework or the exercise we did in the class to do this homework: Create your homework in this newRead More...
We learned about IF ELSE statements. Homework: You need to check last week homework or the exercise we did in the class to do this homework: Create your homework in this newRead More...
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...
Homework: Enhance July16_BabyNameGenerator.py In the class we were able to make the boy names appear properly. Your homework is to make the program works for girl_names.
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 continued with Hangman game: We display question mark ("?") clue according to the number of letter in the secret_word. We decrease "lives" when user guess incorrectly. Homework: Inside the forever loop,Read More...
We reviewed the "Tell Me Your Age" homework: https://www.ayclogic.com/tell-me-your-age/ We went over how to do List in Python. Homework: Aug1_ListHomework.py : Page 34, 35, 37 to 41
Homework Put the t.penup() and t.pendown() accordingly Make a robot using turtle module, do the body, neck, head, eyes and mouth
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...
we went over List and for loop. Homework: Look at homework assignment in https://www.ayclogic.com/event/5-pm-intro-to-python-4/
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 Baby Name Generator project. Two weeks from now is Final test. Homework: Next week is Final Test review, please review the following Function without return value: you can find thisRead More...
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 continued with Hangman game. We learned how to loop through each element in the list via for loop using the list index. We learned how to treat string as list. WeRead More...
Homework: Create a file Aug8_ForLoopHomework.py Page 52. Page 56 "Try It Yourself", do only 4-1 Page 58
We continued with drawing the multiple left arms and right arms. Homework: Draw the balloon and the string either on the right arm or left arm.
We reviewed variables data types. We learned about Float/Double. We reviewed IF ELSE statements. We reviewed how to combine String using Python "f" formater. Homework: Try to do the homework in https://www.ayclogic.com/event/2-pm-intro-to-python-20/
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: Continue How old are you? program, follow instruction in here: https://www.ayclogic.com/tell-me-your-age/ Create a new file Aug12_InputHomework.py Page. 114 and 116 (only rollercoaster.py)
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 reviewed all topics in Python. Study the following for next week's Final Test. It is 2 hours of tests: Baby Name Generator Turtle, how to draw rectangle and circle. How toRead More...
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 reviewed the https://www.ayclogic.com/tell-me-your-age/ homework. We reviewed how to get an input from Shell. Homework: Do page 116 (rollercoaster.py). Name your homework file Aug19_rollercoasterHomework.py.
We reviewed function with and without return values Homework: Do exercise # 1 only from here: https://www.ayclogic.com/intro-to-python/star-wars-problem/
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...
Next week is 2nd Python Quiz. It will be a 2 hour quiz. It will starts at 12 noon. Study the following Make sure you know how to fix python errors Review:Read More...
We reviewed Forever Loop homework. We will have a quiz 2 weeks from today. It is going to be 2 hours quiz from 4 PM to 6 PM. Make sure you haveRead More...
We completed Kaleido Spiral project. We started and completed robot with magic wand. This is basically combination of robot builder with kaleido spiral project. Homework: Draw your final project proposal in gridRead 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...
We went over how to get input from shell one more time. We learned about List. Homework: Page 34 to 36. Name your homework file Aug25_ListHomework.py
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.
We went through how to use list How to add more element to the list How to replace element inside the list How to remove element from the list. Homework: Create aRead More...
We finished with Function with and without return value. We learned how to use python random module. We started password generator program. Homework: Inside the Aug26_PasswordGenerator.py Create a function with return valueRead More...
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 went over how to get input from shell. We went over how to convert input from shell to Integer using int(). Homework: Do python exercises from https://www.ayclogic.com/tell-me-your-age/
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 what's going to be in the quiz 2 weeks from today: variables and data types IF ELIF ELSE statements List For loop, while loop How to continuously ask user aRead More...
we went through how to make the following in turtle How to create a function that will draw a character in a different location everytime How to draw a diagonal rectangle HowRead 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 Password Generator program Homework: Do number 2 and 3 from https://www.ayclogic.com/intro-to-python/star-wars-problem/
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.