18 Nov PMCA Saturday 17:00 Python Homework 21.11.13.
Continue with the pygame application. Write code to do the below tasks:
● Write code such that the enemy can shoot a missile towards the player. Also, make sure that the game is over when the player gets hits by enemy missile
● If you want you can use the image -> http://www.torontokidscomputer.com/wp-content/uploads/2020/08/new_weapon_2.png as your enemy missile
● You can use the pygame.transform.flip function to flip the image either horizontally or vertically. You can find more information on the function as https://www.pygame.org/docs/ref/transform.html#pygame.transform.flip
Sorry, the comment form is closed at this time.