Mindmap
Folio Challenge 2
Inhalt der Mindmap
Folio Challenge 2
Prescribed criteria
- Use FOR loops
- PAC man
- Multiple enemies
- FOR i in range (ENEMY COUNT): CREATE enemy POSITION at random x and from random y
- Loop through enemies to see if they have been eaten
- Multiple enemies
- PAC man
- Allow for user to control a sprite
- Keyboard arrow keys
- If statements
- IF key is pressed move right
- IF key is pressed move left
- If key is pressed move up
- If key is pressed move down
- If statements
- Keyboard arrow keys
- Do not allow for player to go of screen
- WALLS
- self.physics_engine = arcade.PhysicsEngineSimple(self.player_sprite, self.wall_list)
- Put in setup function
- Collisions
- IF yes then place player back onto wall
- Right wall
- Left wall
- Top wall
- Bottom wall
- IF yes then place player back onto wall
- Collisions
- Put in setup function
- self.physics_engine = arcade.PhysicsEngineSimple(self.player_sprite, self.wall_list)
- WALLS
- Add something for the user to collect
- Pack man ghost
- For loops
- Create multiple enemies
- Check if Ghost enemies have been hit
- For loops
- Keep score
- Drawing text to display score
- Use arcade.draw_text command in on_draw function
- arcade.draw_text(f"Score: {self.score}", 10, 20, arcade.color.WHITE, 14)
- Use arcade.draw_text command in on_draw function
- Set score to 0 in setup
- Update the score
- FOR loops
- Drawing text to display score
- Pack man ghost
- Use FOR loops
Informationen
- Beschreibung
- Mindmap am Folio Challenge 2, erstellt von Ahmad Shah am 23/05/2022.
- Erstellt von
- Ahmad Shah
- Aufrufe
- 0
- Bewertung