Skip to content

Commit

Permalink
updates to mouse/touch handling
Browse files Browse the repository at this point in the history
  • Loading branch information
edloper committed Dec 4, 2024
1 parent 17c9842 commit 13508f2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions game.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@
const levelPicker = new LevelPicker(levelPickerContainer, game, LEVEL_URLS);
});
</script>
<!--<script src="https://hammerjs.github.io/dist/hammer.js"></script>-->
<script src="https://cdn.jsdelivr.net/gh/hammerjs/touchemulator@master/touch-emulator.js"></script>

<script>
TouchEmulator(); // Initialize the touch emulator
</script>
<!-- Uncomment this to debug touch input:
<script src="https://cdn.jsdelivr.net/gh/hammerjs/touchemulator@master/touch-emulator.js"></script>
<script>TouchEmulator();</script>
-->
</head>
<body>
<img src="images/titles/title2.jpg" class="missingLinkTitle">
Expand Down

0 comments on commit 13508f2

Please sign in to comment.