TORONTO KIDS COMPUTER CLUB | PMCA Saturday 17:00 Python Homework 21.10.16.
19989
post-template-default,single,single-post,postid-19989,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Saturday 17:00 Python Homework 21.10.16.

22 Oct PMCA Saturday 17:00 Python Homework 21.10.16.

Question:
Continue with the pygame application. Write code to do the below tasks:

  • Write code for the missile sprite, same as the player sprite
  • Make sure the missile moves up the screen when the player hits the space key on the keyboard.
  • The missile should appear at the same position as the player and then start moving up the screen.

The link to the missile image is http://www.torontokidscomputer.com/wp-content/uploads/2018/11/missile.png

No Comments

Sorry, the comment form is closed at this time.