HTML5
See the following example on how to prepare your Heaps project for HTML5.
- You will also have to create an index.html that includes your .js haxe output.
- Also put a in body of the HTML-file.
Basic html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Heaps Game</title>
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<style>
</style>
</head>
<body>
<canvas id="webgl"></canvas>
<script src="game.js"></script>