2014-02-19 09:15:05 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
2014-03-31 10:35:00 -04:00
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
|
2014-02-19 09:15:05 -05:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="robots" content="noindex">
|
2015-08-25 19:20:56 -04:00
|
|
|
|
|
|
|
<!-- matter lib edge master version -->
|
|
|
|
<script type="text/javascript" src="./js/lib/matter-dev.js"></script>
|
|
|
|
|
|
|
|
<!-- matter demo code -->
|
2014-02-19 09:15:05 -05:00
|
|
|
<link rel="stylesheet" href="./css/style.css" type="text/css">
|
2015-08-25 19:20:56 -04:00
|
|
|
<script type="text/javascript" src="./js/DemoMobile.js"></script>
|
|
|
|
|
2014-02-19 09:15:05 -05:00
|
|
|
<title>Matter.js Physics Engine Mobile Demo</title>
|
|
|
|
</head>
|
2015-08-25 19:20:56 -04:00
|
|
|
<body class="mobile nav-links">
|
2014-02-19 09:15:05 -05:00
|
|
|
<div class="container">
|
|
|
|
<h1>Matter.js Mobile Demo</h1>
|
|
|
|
<p>
|
|
|
|
Open this page on your mobile device in Chrome or Safari
|
2015-08-25 19:20:56 -04:00
|
|
|
<br><br>
|
|
|
|
Touch and drag to interact with the blocks
|
|
|
|
<br><br>
|
|
|
|
Tilt and turn to master gravity like you're the boss of it
|
2014-02-19 09:15:05 -05:00
|
|
|
</p>
|
2015-08-25 19:20:56 -04:00
|
|
|
<input id="demo-start" value="Start Demo" type="submit">
|
|
|
|
<p>Or back to the <a href="index.html">full demo</a> page for more info.</p>
|
|
|
|
<div id="canvas-container"></div>
|
2014-02-19 09:15:05 -05:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|