mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 21:31:39 -05:00
life
This commit is contained in:
@@ -286,4 +286,7 @@ function inputCardArtName(cardArtNameInput) {
|
|||||||
}
|
}
|
||||||
function inputCardArtNameNumber(cardArtNameNumberInput) {
|
function inputCardArtNameNumber(cardArtNameNumberInput) {
|
||||||
playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1]
|
playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1]
|
||||||
}
|
}
|
||||||
|
document.getElementById("gridShell").addEventListener("touchmove", function(event) {
|
||||||
|
event.preventDefault()
|
||||||
|
})
|
@@ -52,7 +52,7 @@
|
|||||||
Starting Life Total:<br>
|
Starting Life Total:<br>
|
||||||
<input id="inputStartingLife" class="input" type="number" min="0" value="40"><br>
|
<input id="inputStartingLife" class="input" type="number" min="0" value="40"><br>
|
||||||
<button id="buttonStartGame" class="input" onclick="startGame()">Game On!</button><br><br>
|
<button id="buttonStartGame" class="input" onclick="startGame()">Game On!</button><br><br>
|
||||||
For a better experience, save this website to your home screen and open it from there.
|
For an optimal experience, save this website to your home screen and open it from there.
|
||||||
</div>
|
</div>
|
||||||
<div onclick="fullscreen()" class="hidden" id="return">CLICK ANYWHERE TO RETURN TO FULLSCREEN</div>
|
<div onclick="fullscreen()" class="hidden" id="return">CLICK ANYWHERE TO RETURN TO FULLSCREEN</div>
|
||||||
<div id="gridShell">
|
<div id="gridShell">
|
||||||
@@ -120,9 +120,9 @@
|
|||||||
}
|
}
|
||||||
#gridShell {
|
#gridShell {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
/*position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;*/
|
||||||
}
|
}
|
||||||
#gridShell:fullscreen {
|
#gridShell:fullscreen {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
Reference in New Issue
Block a user