TORONTO KIDS COMPUTER CLUB | PMCA Saturday 17:00 Python Homework 21.11.27.
20123
post-template-default,single,single-post,postid-20123,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.11.27.

03 Dec PMCA Saturday 17:00 Python Homework 21.11.27.

In the previous class, we learned about how to create a custom event in pygame. Using the custom event, write the pygame code to create an N enemies every X milliseconds. You can choose the value of N (how many enemies to display) and also choose the value of X (Interval after which new enemy should appear)

For e.g. you can make 5 enemies appear every 500 milliseconds.

No Comments

Sorry, the comment form is closed at this time.