04 Dec Thursday 18:30 Python Practice 22.12.01.
Question: Use TKinter to create 6 buttons as following picture: ...
Question: Use TKinter to create 6 buttons as following picture: ...
Question: Thinking of the following two question: how to change boss picture in the level 2? how to add the following turret and bullet to the spacestation? the bullet shout rotated base on the rotation degree of the turret. ...
Question: Thinking of the following two question: how to change boss picture in the level 2? how to switch background from space station back to outer space? ...
Question: Try to add explosion sound in the game using the following sound: http://www.torontokidscomputer.com/wp-content/uploads/2020/08/explosions.mp3 ...
Question: How to create ending screen shows the following 3 lines of information: Game Over Your score is: ?? press space to restart and the game will be restarted if you press the space. ...
Question: Continue modify the program we made in the class: create Shield class. A shield object will be created after the fighter is destroyed. The shield will last for 3 seconds(90 frames) with animation ...
Question: Continue modify the program we made in the class: Set fighter's hp as 100 if the fighter received damage from enemy's bullet, it will lose 10 hp. if the fighter received damage from boss' bullet, it will lose 20 hp. please draw hp bar at...
Question: Continue modify the program we made in the class: create Energy class. A new energy crystal object will be created when the enemy spaceship explode, the energy will bounce in the window with x speed of randint(-3, 3) and y speed of randint(1, 2) use...
Question: We have made class explosion and weapon which showed you how to load different image to switch costumes. 1. Please made a class Planet, it will contains following methods: __init__(self) - It initials the Planet from a random centerx position, and top = -1000 Since planets has 3...
Question: Modify the program we made in the class. Create a Boss Class the __init__() method will take three parameters (imgFile, location and speed) the update() method will move the object, if the top of the object reaches the bottom of the screen, it will disappear...