Previously we shared how top VR studios save up to 800 hours a year using the
These time-saving features exist thanks to the legendary Blockly technology that is used in
The Blockly interface consists of Workspace, where the project’s logic algorithms are built, and Toolbox, a side menu from whence the user may select blocks or create new ones. Toolbox puts you on the right track when there is something you need to add to a completed project or when you need to make a quick change. It’s your client’s guide to the universe of VR creation, where complicated code is turned into simple blocks and no Unity pass is needed.
Inside Toolbox, you can find build-in Blockly default blocks like “logic” and “text,” as well as custom blocks which have been created specifically for the
The blocks are divided into groups according to their purpose or return value. Each group has its own color. The shapes of the blocks also vary. This is because not all of the blocks are compatible. If blocks fit together, the program will run, which makes it almost impossible to make a mistake.
Needless to say, Blockly greatest value is that it is extremely easy to use. The blocks can be managed (copied, deactivated, removed, etc.) by right-clicking on them and through keyboard shortcuts like Ctrl+C or Ctrl+V.
Nevertheless, some sections are more relevant, useful, and clear to clients than others. Let’s take a closer look at the “text,” “objects,” “logic,” and “variables” blocks.
How Do They Work?
Let’s probe into these features using our latest forklift operation case as our exploration tool. In this case, employees learn how to work in a warehouse, drive a forklift, and use it to lift boxes. During the creation of the project, the managers most often used the “variables,” “objects,” “text,” and “logic” blocks. Text blocks don’t need much explanation: changing the label on a box in the simulated warehouse from “flammable” to “fragile” is just one of the many applications for this block type.
The most interesting block with which to experiment is the “variables” block. In the forklift training scenario, company managers can now regulate the speed of the forklift or the way it accelerates. If the project contains an emergency situation involving fire, managers can regulate the power of the flames and their influence on other objects using this block.
The “objects” block is also quite easy to understand. Managers can add new boxes and other items to the warehouse, change them, or delete them using solely drag and drop movements.
But Blockly wouldn’t be Blockly without the “logics” block. This is the one that makes the forklift move if the user pushes the pedal and the one that allows the manager to award a user with a specific number of points if they complete the training.
What Else is There?
The Varwin interface offers much more: “events,” “lists,” “functions,” and other blocks that allow you to turn over the reins to clients and keep routine tasks to a minimum. We have discussed the most used and interesting tidbits in this article, but they are just the tip of the iceberg.
If you would like to see the Varwin platform at work, schedule a demo with a Varwin expert and unlock the full potential of efficient VR development features!