mirror of
https://github.com/wassname/metacar.git
synced 2026-08-22 12:10:39 +08:00
44 lines
1.3 KiB
HTML
44 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Metacar: Editor</title>
|
|
<link rel="icon" href="/public/img/icon.png">
|
|
<link rel="stylesheet" href="/public/css/general.css">
|
|
<link href="https://fonts.googleapis.com/css?family=Tajawal" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<header>
|
|
<div class="header_container">
|
|
<h1><a href="/">Metacar</a></h1>
|
|
<a href="https://github.com/thibo73800/metacar"><img src="/public/img/github-logo.png" /></a>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="canvas_container">
|
|
<!--
|
|
You just have to add a div with an ID as bellow and include the js to start
|
|
using metacar.
|
|
-->
|
|
<div class="canvas" id="editor"></div>
|
|
</div>
|
|
|
|
|
|
<div class="body_container">
|
|
<h3>Editor</h3><br>
|
|
<p>
|
|
<b>Left click </b>on one item to select it. Then Left click on the map to set the item.<br>
|
|
<b>Right click</b> is used to remove an item.
|
|
</p>
|
|
</div>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.7.1/pixi.min.js"></script>
|
|
<script src="/dist/metacar.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/public/js/utils.js"></script>
|
|
<script type="text/javascript" src="/public/js/editor.js"></script>
|
|
</body>
|
|
</html>
|