Blocks are the core programming component of Zenbo APP Builder. In the Beta version, blocks are divided into 17 categories to represent movement control, facial expression, speech, LED control, sensors, camera module, basic logical expression, and so on. Select a tab to display its corresponding blocks (API). Combine and connect these blocks to create your own unique app.
The Work Space is the area in Zenbo APP Builder where you can edit your codes. To edit codes in Zenbo APP Builder, select and drag the blocks you need from the Blocks Menu to the Work Space.
Figure 3. Work Space.
Drop-down menu of Work Space
Right click the mouse button in Work Space to open the drop-down menu. Some useful options are available to help the user write codes.
Figure 4. Drop-down menu of Work Space.
Undo: Undo the last change made in Work Space.
Redo: Redo the last change made in Work Space.
Delete Blocks: Delete all the blocks in Work Space.
Collapse Blocks: Collapse to show less blocks in Work Space.
Expand Blocks: Expand to show all the blocks in Work Space. (Fig. 5)
Clean up Blocks: Rearrange the blocks layout. (Fig. 6)
Figure 5. Expand/Collapse Blocks.
Figure 6. Clean up blocks.
Drop-down menu of blocks
Right click the mouse button on a block to open the drop-down menu. Some useful options are available to help the user write codes.
Figure 7. Drop-down menu of blocks.
Collapse Blocks: Collapse to show less blocks.
Expand Blocks: Expand to show all the blocks.
Duplicate: Duplicate selected block.
Copy Blocks Group: Copy currently selected block, including blocks connected to it.
Add Comment: Add a comment to a block. (Fig. 8)
Remove Comment: Remove the comment of a block. This option is only available if a comment is added to the block.
Inline Inputs: Display a complete block in a single line. (Fig. 9)
External Inputs: Display a complete block in multiple lines. This option is only available when Inline Inputs is selected.
Figure 8. Add/Remove Comment.
Figure 9. Inline/External Inputs.
Face display : Zenbo facial expression simulation. Display Zenbo’s facial expression or the app interface in real time on the simulation panel.
Speech info : Zenbo conversation simulation. Display Zenbo’s response in text messages.
Input text : Text conversation simulation. Enter text to simulate a voice dialogue.
Figure 10. Zenbo facial expression simulation.
Zenbo 3D simulation. Show programmed head and body motions in real time, including moving, rotating, nodding, shaking, LED lighting, etc.
Camera angle and zoom control
In the Zenbo 3D Simulator, click and hold the left mouse button and move the mouse to adjust camera angles.
In the Zenbo 3D Simulator, use the mouse scroll to zoom in or zoom out.
Figure 11. Zenbo 3D Simulator.