STEM Assignments‎ > ‎

Tuesday 9/11

posted Sep 10, 2012, 4:17 PM by Erik Mylenek
Today we learn one way to automatically change the background. We can use this to announce a "winner" or "loser" in a game. Everyone should be able to do this before we leave.

goal:
Add three sprites
Make the background (one white, one green, one red)
Sprite one should move using the arrow keys, sprite two chases sprite one
If sprite one touches sprite three the background should change to WIN
If sprite two catches sprite one the background should change to LOSE

Comments