Mapa mental
Folio Challenge 2
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre Folio Challenge 2, criado por Ahmad Shah em 23-05-2022.
- Criado por
- Ahmad Shah
- Visualizações
- 0
- Avaliação