πŸ—» The Scenery

Learning Target

I can use conditionals and variables to relate the movement of my β€œhero” and scenery sprites.

Good programming habits in your code:

  • Using Start and Stop blocks.
  • Making sure you initialize appropriately so that your program is repeatable.
  • Use conditionals and variables, not precisely timed waits.
  • Add comments to your code so it is easy to understand.

Example

By the end of today…

In your planning doc:

Specification Scripts
There should be at least two scenery sprites Β 
You should layer these sprites relative to β€œHero” and each other. Β 
Scenery sprites move relative to β€œHero” as she moves. Β 
Following with the layers, scenery sprites should move at different speeds so that one seems farther away. Β 
Scenery sprites should roll over/reappear when they hit the edge of the stage. Β