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.5.0/createjs.js"></script>
<script src="https://zimjs.org/cdn/018/zim_min.js"></script>
<script>
new Frame(FIT, 1024, 768, light, dark, ready);
function ready() {
// put your code here
}
</script>
<!-- Individual Scripts from CDN -->
<script src="https://zimjs.org/cdn/1.5.0/createjs.js"></script>
<script src="https://zimjs.org/cdn/018/zim_min.js"></script>
<script src="https://zimjs.org/cdn/2.1.3/box2d.js"></script>
<script src="https://zimjs.org/cdn/physics_2.3.js"></script>
<script>
new Frame(FIT, 1024, 768, light, dark, ready);
function ready() {
// put your code here
}
</script>
ZIM can also be used without the Internet. Download the OFFLINE ZIP example.
Make sure to unzip the ZIP file once it is downloaded.
