mirror of
				https://github.com/Investigamer/cardconjurer.git
				synced 2025-10-31 15:15:12 -05:00 
			
		
		
		
	life
This commit is contained in:
		
							
								
								
									
										13
									
								
								life.html
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								life.html
									
									
									
									
									
								
							| @@ -69,10 +69,12 @@ | ||||
| 					<input type="color" class="colorInput" value="#222222" id="inputPlayerColor" onchange="updateBackgroundColor(this.value)"><br> | ||||
| 					<button onclick="updateBackgroundColor('#222222')">Default</button><br> | ||||
| 					Image:<br> | ||||
| 					<input type="file" accept="image/*" onchange="loadImage(event, playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage)" placeholder="Via File Upload"><br> | ||||
| 					<input type="text" placeholder="Via URL" onchange="playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = this.value"><br> | ||||
| 					<input type="file" accept="image/*" onchange="loadImage(event, playerList[parseInt(document.getElementById('inputPlayer').value) - 1].image)" placeholder="Via File Upload"><br> | ||||
| 					<input type="text" placeholder="Via URL" onchange="playerList[parseInt(document.getElementById('inputPlayer').value) - 1].image.src = this.value;setTimeout(function(){drawPlayerBox(parseInt(document.getElementById('inputPlayer').value))}, 1000)"><br> | ||||
| 					<input id="inputCardArtName" onchange="inputCardArtName(this.value)" type="text" placeholder="Via Card Name"><br> | ||||
| 					<input id="inputCardArtNameNumber" onchange="inputCardArtNameNumber(this.value)" type="number" value="1" min="1" max="1"> | ||||
| 					<input id="inputCardArtNameNumber" onchange="inputCardArtNameNumber(this.value)" type="number" value="1" min="1" max="1"><br><br> | ||||
| 					Text Color:<br> | ||||
| 					<input type="color" class="colorInput" value="#ffffff" id="inputTextColor" onchange="updateTextColor(this.value)"><br> | ||||
| 				</div><br> | ||||
| 				<div class="menuOption"> | ||||
| 					RNG<br> | ||||
| @@ -97,7 +99,7 @@ | ||||
| 		font-family: belerenbsc; | ||||
| 		font-size: 24pt; | ||||
| 		margin: 0px; | ||||
| 		 | ||||
| 		touch-action: manipulation; | ||||
| 	} | ||||
| 	image, div, canvas { | ||||
| 		user-select: none; | ||||
| @@ -112,7 +114,6 @@ | ||||
| 	body { | ||||
| 		background-color: #333; | ||||
| 		color: white; | ||||
|                 touch-action: manipulation; | ||||
| 	} | ||||
| 	.mainGrid { | ||||
| 		display: grid; | ||||
| @@ -227,4 +228,4 @@ | ||||
| 	} | ||||
| </style> | ||||
| <script src="data/life/life.js"></script> | ||||
| <html> | ||||
| <html> | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle