Debugging Tips: Flip the Robot Monkey
Flip the Robot Monkey is a leveled platform game utilizing expressions, variables, and animation. Students will build out their own assets from start to finish. Though Flip can be complicated, here are some points to making it work.
This is list consists of common issues that may occur when building the game. STEM Fuse does not debug individual game projects - that's the developer's job (you!). With any given game project, there could be infinite reasons why your game isn't the same. That's okay! Focus on the functionality of the game and rework the steps of the BUILD lesson level!
Moving Through Layers
You're likely to run into an issue if the Levels are not labeled correctly. The levels need to be Level1, Level2, etc. without a space between the name and the number.
Glitchy Flip Movement
If Flip looks like he is bouncing back and forth, the error is with the origin point. Open the image editor and check all animations to be sure the origin point is in the middle of Flip. This can be done by highlighting the origin point icon, the square with cross hairs, and then clicking in the middle of Flip. Students can also use the quick assign option.
Layers
Layers need to be in the correct order and be transparent. In this game, all the levels have the same layers. From top to bottom the layers should be HUD, Main, Blocks and Background.
All the layers except for the Background should be transparent. To check transparency, click on the layer, look at the Layer properties bar and check transparent.
Events & Sub-Events
In this build project, there are many sub-events and sub-events of those events. Students need to watch closely using the guide lines provided by Construct to be sure the event is placed correctly. See the video for how to move events within the project.
Conclusion
Good luck debugging your Flip the Robot Monkey game! Debugging can be extremely challenging - which is AWESOME! When debugging, teamwork is the way to go. Compare the game with issues with a game that does work correctly. Debugging is educational as well as satisfying when answers are discovered!