Dragons+and+Butterflies

The theme for this lab is “dragons and butterflies.” The interaction of the game you will code is fire-breathing dragons chase fluttering butterflies and try to scorch them.

Here is a precise description of the required behavior for one sprite: • A flying dragon that moves around in response to the arrow keys being pressed. • A fire-breathing dragon that breathes fire when the space bar is pressed. • A fluttering butterfly that flies around in a random pattern. • A scorched butterfly that appears to burn when it touches a particular shade of red. • Timer and score-keeper sprites that announce the end of the game when too much time has expired (a loss) or enough butterflies have been scorched (a win).

You are free to incorporate any sounds, visual effects, animations, or behaviors they wish, so long as the final product adheres to the properties given in their sprite description. You can have unicorns and princesses help the butterflies.

[|DragonFly.sprite] [|dragonzzz.sprite] [|SpriteA.sprite] [|tim.sprite] [|UseMe.sprite] [|WhirlFlyingDragon.sprite] || [|FireBreathingDragon.sprite] [|PurpleDragon.sprite] [|sparkle.sprite] || [|Butterfly13.sprite] [|KittyButterfly.sprite] [|pretty_bouncer.sprite] [|pretty_butterfly.sprite] [|SpriteButterfly.sprite] || [|HotButterfly.sprite] || [|BlobSprites.sprite] [|looooossserrr.sprite] [|SpriteBlobs.sprite] || [|winner.sprite] || [|Sprite3.sprite] ||
 * ~ Download Code ||
 * Flying Dragon || [|DragonMove.sprite]
 * Fire-Breathing Dragon || [|DragonFire.sprite]
 * Fluttering Butterfly || [|ButterflyBounce.sprite]
 * Scorched Butterfly || [|ButterflyBurn.sprite]
 * Timer || [|YouLose.sprite]
 * Score Keeper || [|YouWin.sprite]
 * Other || [|Scary.sprite]