View: Add touch controls

This commit is contained in:
LoveEevee
2018-10-05 20:03:59 +03:00
parent 724c82814e
commit c8acfc3188
12 changed files with 362 additions and 33 deletions

View File

@@ -1,5 +1,11 @@
<div id="game">
<h3 alt="" class="stroke-sub game-song"></h3>
<div id="touch-bg">
<div id="touch-bg-blue"></div>
<div id="touch-drum">
<img src="/assets/img/touch_drum.png">
</div>
</div>
<canvas id="canvas"></canvas>
<div id="pause-menu">
<div class="window">
@@ -8,5 +14,8 @@
<button type="button" id="song-selection-butt">Song selection</button>
</div>
</div>
<div id="touch-buttons">
<img id="touch-full-btn" src="/assets/img/touch_fullscreen.png"><img id="touch-pause-btn" src="/assets/img/touch_pause.png">
</div>
<div id="cursor"></div>
</div>