diff --git a/Rubik-Regular.ttf b/includes/Rubik-Regular.ttf similarity index 100% rename from Rubik-Regular.ttf rename to includes/Rubik-Regular.ttf diff --git a/croppie.css b/includes/croppie.css similarity index 100% rename from croppie.css rename to includes/croppie.css diff --git a/croppie.js b/includes/croppie.js similarity index 100% rename from croppie.js rename to includes/croppie.js diff --git a/bitsy-default.txt b/includes/default.bitsy similarity index 100% rename from bitsy-default.txt rename to includes/default.bitsy diff --git a/jquery.min.js b/includes/jquery.min.js similarity index 100% rename from jquery.min.js rename to includes/jquery.min.js diff --git a/lodash.min.js b/includes/lodash.min.js similarity index 100% rename from lodash.min.js rename to includes/lodash.min.js diff --git a/rubik-regular-webfont.woff b/includes/rubik-regular-webfont.woff similarity index 100% rename from rubik-regular-webfont.woff rename to includes/rubik-regular-webfont.woff diff --git a/rubik-regular-webfont.woff2 b/includes/rubik-regular-webfont.woff2 similarity index 100% rename from rubik-regular-webfont.woff2 rename to includes/rubik-regular-webfont.woff2 diff --git a/script.js b/includes/script.js similarity index 100% rename from script.js rename to includes/script.js diff --git a/style.css b/includes/style.css similarity index 100% rename from style.css rename to includes/style.css diff --git a/style.less b/includes/style.less similarity index 100% rename from style.less rename to includes/style.less diff --git a/index.html b/index.html index 3184fc0..5d225ff 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -

image-to-bitsy

convert any image to a bitsy room

game data

image

palette

preview

output






\ No newline at end of file +42

image

palette

preview

output

\ No newline at end of file diff --git a/index.pug b/index.pug index 033853e..85e461d 100644 --- a/index.pug +++ b/index.pug @@ -2,17 +2,18 @@ doctype html html head // lodash - script(src="lodash.min.js") + script(src="includes/lodash.min.js") // jquery - script(src="jquery.min.js") + script(src="includes/jquery.min.js") // croppie - link(rel="stylesheet" href="croppie.css") - script(src="croppie.js") + link(rel="stylesheet" href="includes/croppie.css") + script(src="includes/croppie.js") - link(rel="stylesheet" type="text/css" href="style.css") - script(src="script.js") + // main stuff + link(rel="stylesheet" type="text/css" href="includes/style.css") + script(src="includes/script.js") body h1 image-to-bitsy p convert any image to a bitsy room @@ -21,7 +22,7 @@ html h2 game data textarea#bitsy-data(placeholder="Bitsy data or html") - include bitsy-default.txt + include includes/default.bitsy #image.section h2 image @@ -59,24 +60,25 @@ html canvas#room-output(width=128, height=128) - input#threshold(type="range" min=0 max=64) - br - label(for="threshold") - span.left use existing tiles - span.right create new tiles + //- + input#threshold(type="range" min=0 max=64) + br + label(for="threshold") + span.left use existing tiles + span.right create new tiles - br + br - input#roomName(placeholder="room name") - - br + input#roomName(placeholder="room name") + + br - button#save Save + button#save Save - br + br - //-label favour broad strokes | favour details + //-label favour broad strokes | favour details - br + br - //-button Download \ No newline at end of file + //-button Download \ No newline at end of file