git @ Cat's Eye Technologies Cyclobots / master demo / cyclobots.html
master

Tree @master (Download .tar.gz)

cyclobots.html @masterraw · history · blame

<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>Cyclobots</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
#installation-wrapper {
  text-align: center;
}
#installation {
  display: inline-block;
}
#installation canvas {
  border: 1px solid blue;
  padding-bottom: 1em;
}
  </style>
</head>
<body>

<h1>Cyclobots</h1>

<div id="installation-wrapper">
  <div id="installation"">
    <!-- view goes here -->
  </div>
</div>

<!-- to run this offline, download these files and change these URLs to point to your local copies of them -->
<script src="https://catseye.tc/contrib/pixi.js-v4.8.5/pixi.min.js"></script>
<script src="https://catseye.tc/contrib/pixi-viewport.js-3.4.1/pixi-viewport.min.js"></script>

<script src="../src/cyclobots.js"></script>
<script src="dam-plus-widgets-web.js"></script>
<script src="cyclobots-pixi-launcher.js"></script>
<script>
launch({
  width: 640,
  height: 480,
  container: document.getElementById('installation'),
});
</script>
</body>