label for game data input

also default to new tiles
tweak to first palette
This commit is contained in:
synth-ruiner 2018-02-27 23:00:47 +00:00
parent ee3d04a0b6
commit d6bf57c741
2 changed files with 7 additions and 6 deletions

View File

@ -6,8 +6,8 @@
PAL 0 PAL 0
NAME tangerine NAME tangerine
246,159,143 231,121,84
254,139,32 252,202,148
255,255,255 255,255,255
PAL 1 PAL 1
@ -5229,4 +5229,4 @@ DLG ITM_0
You found a nice warm cup of tea You found a nice warm cup of tea
VAR a VAR a
42</textarea></div><div class="section" id="image"><h2>image</h2><div id="croppie"></div><input id="imageUpload" type="file" accepts="image/*"></div><div class="section" id="palette"><h2>palette</h2><form id="palettes"><table><tbody></tbody></table></form></div><div class="section" id="crop"><h2>preview</h2><canvas id="preview" width="128" height="128"></canvas><input id="brightness" type="range" min="-255" max="255" value="0"><label for="brightness">brightness</label><br><br><label id="never">never </label><input id="threshold" type="range" min="0" max="64" value="0"><label id="always"> always</label><br><label for="threshold">create new tiles</label><br></div><div class="section" id="output"><h2>output</h2><canvas id="room-output" width="128" height="128"></canvas><input id="roomName" type="text" placeholder="room name"><button id="save">write to game data</button></div></body></html> 42</textarea><p>paste your game data here </p><p>(maybe make a backup first)</p></div><div class="section" id="image"><h2>image</h2><div id="croppie"></div><input id="imageUpload" type="file" accepts="image/*"></div><div class="section" id="palette"><h2>palette</h2><form id="palettes"><table><tbody></tbody></table></form></div><div class="section" id="crop"><h2>preview</h2><canvas id="preview" width="128" height="128"></canvas><input id="brightness" type="range" min="-255" max="255" value="0"><label for="brightness">brightness</label><br><br><label id="never">never </label><input id="threshold" type="range" min="0" max="64" value="64"><label id="always"> always</label><br><label for="threshold">create new tiles</label><br></div><div class="section" id="output"><h2>output</h2><canvas id="room-output" width="128" height="128"></canvas><input id="roomName" type="text" placeholder="room name"><button id="save">write to game data</button></div></body></html>

View File

@ -30,11 +30,12 @@ html
#game-data.section #game-data.section
h2 game data h2 game data
//-p please back up your game before proceeding
textarea#bitsy-data(placeholder="Bitsy data or html") textarea#bitsy-data(placeholder="Bitsy data or html")
include includes/default.bitsy include includes/default.bitsy
p paste your game data here
p (maybe make a backup first)
#image.section #image.section
h2 image h2 image
@ -62,7 +63,7 @@ html
br br
label#never never label#never never
input#threshold(type="range" min=0 max=64 value=0) input#threshold(type="range" min=0 max=64 value=64)
label#always always label#always always
br br
label(for="threshold") create new tiles label(for="threshold") create new tiles