Code Snippets

CoSpaces has a visual coding language based on JavaScript called CoBlocks. These are segments of code that can be linked together to write the script, without the need to type out the code. Below are examples of how we will use CoBlocks to code our different scenes in class.

Cube Controller Example

Scavenger Hunt Example

Using Paths Example

Conditional Coding Example

Balloons Example