Feature 1: Create Butterfly Prefab

Input: Dropdown menu

Output: Butterfly prefab appears when “hihi butterfly” is selected and disappears when “byebye butterfly” is selected.

 

Feature 2: Make Butterfly Prefab Fly

Input: Pressing up arrow on keyboard

Output: Butterfly prefab flaps its wings and moves vertically. Subsequent presses cause wings to alternate between flapping and not flapping.

 

Feature 3: Create Ghost Animation

Input: Button click

Output: Ghost sprite appears and disappears as a bigger size rapidly in a cycle.

 

Feature 4: Add Music (Extra Feature)

Input: Toggle

Output: Music plays when toggled and stops playing when untoggled.