Navigation for the ZIM JavaScript Canvas Framework

AboutExamplesLearnEditorCodeDocsDevsGold
Script Tags

ZIM WITH SCRIPT TAGS

You can add CreateJS and ZIM as script tags above your code.

The scripts can be found on the CDN. Alternatively, use Modules.
<!-- Individual Scripts from CDN -->
<script src="https://zimjs.org/cdn/1.4.1/createjs.js"></script>
<script src="https://zimjs.org/cdn/016/zim_min.js"></script>

<script>
new Frame(FIT, 1024, 768, light, dark, ready);
function ready() {
    
    // put your code here
        
}
</script>
Here is an example of importing the scripts for Physics. Note: this becomes one line when using Modules. Other helper libraries are similar. The top of the DOCS has commonly used libraries.
<!-- Individual Scripts from CDN -->
<script src="https://zimjs.org/cdn/1.4.1/createjs.js"></script>
<script src="https://zimjs.org/cdn/016/zim_min.js"></script>
<script src="https://zimjs.org/cdn/2.1.3/box2d.js"></script>
<script src="https://zimjs.org/cdn/physics_2.2.js"></script>

<script>
new Frame(FIT, 1024, 768, light, dark, ready);
function ready() {
   
    // put your code here
       
}
</script>
Or you can use ES6 MODULES or NPM.
collect Plasma Points for the Plasma Points mobile app with ZIM!