- This event has passed.
7 PM – Python Game Development
February 16, 2022 @ 7:00 pm - 8:00 pm
Today:
- We went over the homework to add the target.
- We added directions and kept track of the current region and expected directions, so the enemy could walk down the path.
Homework:
- Finish the logic so the enemy walks down the path through region “5a” or “5b”.
- Add animation to to the enemy. First load up an attribute called “self.images” which contains all the animation frames from “2_enemies_1_WALK_000.png” to “2_enemies_1_WALK_009.png”. Then add animation by add a get_next_image method which returns the next image after a 5 frame delay.