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