mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added dropping functionality
This commit is contained in:
parent
3f418a1b25
commit
8d34e4a001
2 changed files with 11 additions and 1 deletions
|
|
@ -9,7 +9,9 @@
|
|||
|
||||
<body>
|
||||
<canvas id="canvas" width="600" height="400" style="background-color:#333333;"></canvas>
|
||||
<br/>
|
||||
<button onclick="jump(dude)">move dude</button>
|
||||
<button onclick="jump(item)">move item</button>
|
||||
<button onclick="drop()">drop item</button>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue