It seems like you have opened this file by double-clicking on it. In order to test your build in a browser you need to load this file from a web server. You can either upload this file and the rest of the files from a Defold HTML5 bundle to a web hosting service OR host them using a local web server on your home network.
The setup consists of one bee game object that the camera can follow and one camera game object containing the camera component. The camera component will when active send view and projection updates to the render script.
bee
The bee. Contains:
A Sprite component with the bee image.
A script that tells the camera whether it should follow the game object or not.
camera
The camera. Contains:
A Camera component. The camera component has Orthographic Projection enabled.
A script that controls the camera component.
Scripts
bee.script
camera.script
If you want to play with these examples, you can get the project on Github.
Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.