Example projects provide students with an easy way to get started learning how different blocks and commands function in Planet HEXBUG.
What are some of the Planet HEXBUG Example Projects?
Example projects are provided for each aspect of game play, such as Avoiding Obstacles, Bringing Food Home, Detecting and Fighting Enemies, and more. Each example project has a HEXBUG icon to identify it.
Getting Started Using Planet HEXBUG Example Projects
To open an example project, select the File menu.
Select 'Open Examples.'
Select the HEXBUG filter.
All available Planet HEXBUG example project will be displayed. Select one, and it will open in the workspace.
Using Planet HEXBUG Example Projects with Students
Using example projects allows students to get started coding right away in Planet HEXBUG. Once an example project has been selected, the following steps will support your students' learning while they are playing the game.
Step 1: Open an example project and run it.
Guide students to open the Planet HEXBUG Playground and press the play button to run the example project. Have students observe the behaviors of the VR nano and how they relate to the example project.
Step 2: Modify the example project to make it your own.
- Encourage students to think about the particular aspect of game play demonstrated in the example project, and how they could change the code to complete additional actions and continue in the game.
- Students should choose one thing to change at a time, so they can see the direct effects of their changes.
- Students can continue modifying projects in this way many times, observing the results of the changes they are making and using this information in order to improve their performance in the game.
- For additional information on the use of any block or command, access the Help section by clicking on the question mark in the upper right corner of the workspace.
Step 3: Experiment with another example project or try your own.
After students have iterated on one example project several times, they may be ready to use what they have learned to create their own projects, or to remix another example project to continue to improve their gameplay.