init, merge, add mobile

This commit is contained in:
Lurkars
2021-03-09 18:46:45 +01:00
parent 47149729c8
commit ea359410d8
7 changed files with 167 additions and 2 deletions
+41
View File
@@ -1180,3 +1180,44 @@ div.action p.action-body{
50% {bottom: 30px;}
100% {bottom: 40px;}
}
#controls {
display: none;
z-index: 5000;
}
#controls-dpad {
display: block;
position: fixed;
left: 10px;
bottom: 90px;
width: 150px;
height: 150px;
background-image: url('/static/images/input/dpad.png');
background-size: contain;
z-index: 5000;
}
#controls-btnA {
display: block;
position: fixed;
left: 185px;
bottom: 155px;
width: 40px;
height: 40px;
background-image: url('/static/images/input/a.png');
background-size: contain;
z-index: 5000;
}
#controls-btnB {
display: block;
position: fixed;
left: 225px;
bottom: 115px;
width: 40px;
height: 40px;
background-image: url('/static/images/input/b.png');
background-size: contain;
z-index: 5000;
}