mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update life.js
This commit is contained in:
@@ -357,10 +357,10 @@ function endTouch() {
|
|||||||
if (playerList[i - 1].touchId == event.changedTouches[0].identifier) {
|
if (playerList[i - 1].touchId == event.changedTouches[0].identifier) {
|
||||||
playerList[i - 1].touchId = 0.5
|
playerList[i - 1].touchId = 0.5
|
||||||
console.log(i + " no longer touching")
|
console.log(i + " no longer touching")
|
||||||
|
} else {
|
||||||
|
console.log(playerList[i - 1].touchId + " is not " + event.changedTouches[0].identifier)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(event.changedTouches)
|
|
||||||
console.log(event.changedTouches[0].target.touchId)
|
|
||||||
moveTouch()
|
moveTouch()
|
||||||
if (event.touches.length == 0) {
|
if (event.touches.length == 0) {
|
||||||
clicking = false
|
clicking = false
|
||||||
@@ -553,4 +553,4 @@ function heldDown() {
|
|||||||
loop = setTimeout(heldDown, 100)
|
loop = setTimeout(heldDown, 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Updated!!!
|
//Updated!!! Are we there yet?
|
||||||
|
Reference in New Issue
Block a user