mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-28 05:41:55 -05:00
Update life.js
This commit is contained in:
@@ -354,8 +354,8 @@ function moveTouch() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function endTouch() {
|
function endTouch() {
|
||||||
console.log(event.changedTouches)
|
// console.log(event.changedTouches)
|
||||||
console.log(event.changedTouches[0])
|
console.log(event.changedTouches[0].identifier)
|
||||||
moveTouch()
|
moveTouch()
|
||||||
if (event.touches.length == 0) {
|
if (event.touches.length == 0) {
|
||||||
clicking = false
|
clicking = false
|
||||||
@@ -395,6 +395,7 @@ function singleTap() {
|
|||||||
tappedPlayerBox.life += lifeAdjust
|
tappedPlayerBox.life += lifeAdjust
|
||||||
drawPlayerBox(tappedPlayerBox.id)
|
drawPlayerBox(tappedPlayerBox.id)
|
||||||
console.log(tappedPlayerBox.id)
|
console.log(tappedPlayerBox.id)
|
||||||
|
console.log(event.changedTouches[0].identifier)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -549,4 +550,4 @@ function heldDown() {
|
|||||||
loop = setTimeout(heldDown, 100)
|
loop = setTimeout(heldDown, 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Updated for realsies!!! like actually... *SIGH* will it ever work? COME ON
|
//Updated
|
||||||
|
Reference in New Issue
Block a user