This week we worked more in depth with scratch.mit.com to create a game. I discovered modules that can be dowloaded with checklists for how to create lots of different games. I started with the basic backdrop and the uncoded “sprite,” which is the character that can be coded.
From there, I followed the instructions for what codes should go where. It goes some-what in depth to outline what the code will do. I thought this was a great way to learn more about coding instead of self-discovery because I could see more advanced, multi-step codes and understand how it works. For Example, to add a timer to the side I needed the block “wait 0.1 sec” above the “go up by 0.1.” If the waiting block was not there the time went up significantly faster by 0.1 because it was not waiting 0.1 seconds like normal time would. The game I worked on consists of a boat that travels along the water wherever you move your mouse. The goal is to bring the boat to the island without hitting the wooden structure. It was cool to see the changes that were being made to the game just by adding more steps and controls to the code.
Although the instructions that were given for the module were clear and easy to follow, they seemed to be missing key points and I ran into some complications half-way through when creating a “hit” boat. When the boat goes through the obstacle and hits a wooden structure, it should break into pieces. I created a second boat and gave it a “broken” appearance, however it did not work when we hit the wooden structure. The instructions for this part were vague and so I were unsure whether or not to add controls for the “normal” boat as well as the “broken” boat. After much time and thought, I thought it was best to move on and add more features to the game.
Some of these features I added include a timer to keep track of how long it takes to move the boat to the island, speed bumps to give the boat a bit of a boost, and seaweed to make the boat spin around. Adding these features made the game more fun and complex.
Overall, completing this module was a great learning experience and a lot of fun!! Not only did we learn more in depth about coding patterns but we also had to use our problem solving skills.