ironkayman/tftm-alien-invasion

Replace arcade.Section with arcade.Scene

Closed this issue · 1 comments

Sections are more input flow control oriented, while scenes are more about sprite(lists) interactions.

Stage 1

  • invasion view
    • merge player and alien sections into a single scene
      - they remain separate, added mixins
    • replace background
    • replace overlay section with scenes
  • main menu view
    • replace background section with same scene
    • section with UI buttons stays the same? - yes, section inherits info about keyboard events throught veiw.

Also consider using https://github.com/maarten-dp/arcade-curtains as potentially more high-level abstraction of groups of sprites in a manager.