May 142018
- Finish your game plan (Google drive – classroom)
- Decomposition means breaking a problem or situation down into simple pieces. When we are programming, we need to break the game down into simple bits that we program one at a time.
- Start with one part of your plan, eg how the main character moves.
- Break it down:
- Animation, eg walking
- Draw two or more costumes
- Example walking animation
- Make them swap all of the time when the greem flag is pressed.
- Controls
- Arrow keys
- Left – change x by -5
- Right – change x by 5
- Up – change y by 5
- Down- change y by -5
- Point int the right direction
- Left – point in direction – left
- Right – point in direction – right
- Rotation style: Left-right
- Arrow keys
- Animation, eg walking
- Now choose another element of your plan to work on
- Break it down…