Scratch
The game we designed was a simple, 2 dimensional platform game, similar to the old mario games, in which a character would need to cross the map by jumping and avoiding obstacles to arrive at the next level. The game had a "24" theme, and the sprites were based on components of the TV series.
This is an example level of the game in which the "Jack" sprite attempts to move from the upper left hand corner across the screen to the goal, in this case, below the Statue of Liberty.
|
Upon completion of the 10 levels, the user sees this screen.
|
If the user were to fail, and the lives reached 0, all sprites would hide and this screen would appear.
|
This code was done for the "Jack" sprite and includes code for his interaction with the variables of level and lives.
|
|
Reflection
The Scratch activity was the first programming project our group had ever had,so the final product was not as polished as we originally intended. The game had 10 levels from our planned 24, and the movement was not as smooth as we would have wanted. Despite this, the game was a good learning experience in figuring out how to divide up tasks into independent segments for coding by different group members and how to quickly create new elements once we had figured out the basic layout of the game. Going into the next project we now also had experience in figuring out which elements of a program would be better suited to variables vs defined values, and spent the first days ensuring that basic functionality existed in the app before moving on to any advanced features.