It is a game themed around and alien that uses its hair as arm. The goal of the game is to get 'Dwinky' around the obstacles and to the purple stardust. The obstacles are floor spikes, lava, a tar pit, and a goblin-esque alien. In order to defeat the enemy, the player must use the attack button, and in order to get over the obstacles, the player must jump.
This is the coding for Dwinky. Each bit of coding is dependant of where the sprite is or what its touching, as well as what keys the player presses. If Dwinky is touching any of the obstacles, he will bounce back and lose one bit of health. By pressing any of the arrow keys, dwinky will move across the screen in various ways. When not moving, Dwinky will display a standing animation
|
During this project, our group learned how certain types of commands affected variables and sprites. We learned about how certain types of coding could affect the behavior of the game, and how sensitive the coding could be if things were placed incorrectly.