Commit Graph

21 Commits

Author SHA1 Message Date
Nicola e51f510392 Merge branch 'master' into pxlvxl-master 2022-10-24 12:48:08 +02:00
NSSure 02806c7efa Added file option to import image to current layer 2022-10-21 03:52:55 -04:00
pxlvxl a1757553cf Various changes
- added `/:paletteSlug/:resolution` functionality for localhost testing
	- created `currFile.sublayers` for *things that should zoom with the canvas layers*
	- `currFile.layers` now solely contains the canvas layers
	- added `getProjectData` to `FileManager`'s exported methods
	---
	- added `FileManager.localStorageSave` (it's basically just: localStorage.setItem("lpe-cache",FileManager.getProjectData()))
	- added `FileManager.localStorageCheck` (it's basically just: `!!localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageLoad` (it's basically just: `return localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageReset` (for debugging purity)
	---
	- calling `FileManager.localStorageSave()` on mouse up (we should stress test this)
	---
	- changed lpe file format to `{canvasWidth:number,canvasHeight:number,selectedLayer:number,colors:[],layers:[]}`
	- added backward compatibility for the old lpe file format
	---
	- added some canvas utility functions in `canvas_util`
	- added Unsettled's color similarity utility functions in `color_util2`
	---
	- html boilerplate - wang tiles
	-
	- POC - tiny text boilerplate
	- POC - tiny text font scraper
	---
	- WIP - added two optional url route parameters `/:paletteSlug/:resolution/:prefillWidth/:prefillBinaryStr`
	- WIP POC - hbs_parser.js (outputs tree data about hbs file relationships)
2022-02-23 11:16:23 -05:00
Nicola a238fb1b47 Fixed #43, #41, #37 and #35 2021-12-11 10:48:14 +01:00
Sam Keddy fd064ebb21 finally removed node-gyp dependency
updated gulp-sass and switched it to use the official sass package, which is pure javascript. it should now be buildable out of the box on windows. closes #64
2021-12-08 18:42:09 -05:00
unsettledgames 43abd38ebf Fixed palette loading from lpe file 2021-10-23 18:23:22 +02:00
skeddles 1f820fd97e ported to static site, removed _ext folder, split hbs files into partials 2021-07-06 17:24:20 -04:00
Leamsi Escribano 5eee1b941e IIFE and CSS Fixes 2021-06-27 12:45:32 -04:00
nkoder 7e40df507e Make it possible to run server with file-watching but without automatic webpage reload 2021-04-28 23:51:14 +02:00
unsettledgames 079ea38e63 Added random splash images
Also added a rough class scheme of the editor for future use.
2021-04-27 11:00:27 +02:00
nkoder 492631d949 Regenerate package-lock.json, now again in version 2 2021-04-26 23:15:09 +02:00
nkoder c045d02935 Recreate package-lock.json in order to somehow fix npm install error 2021-04-26 22:54:43 +02:00
Julian Webb ea357dab04
Merge branch 'master' into hot-reload 2021-04-26 11:04:47 -07:00
Julian Webb 2771508561 Readded page open and added auto-refresh
Added npm modules 'open-cli', 'concurrently', 'reload', and 'wait-cli'
NPM script 'hot' will now open the page once the server is up the first time thanks to 'wait-cli' and 'open-cli'
After that, 'reload' will take care of refresing the page when it's dead-man switch triggers

Co-authored-by: ndoker <pawelbarszcz@gmail.com>
2021-04-25 13:03:55 -07:00
Julian Webb ecae10e1ec Removed 'open' dependancy and added 'nodemon' dependacy. Also added a 'hot' script to 'package.json' for hot-reloads 2021-04-25 10:19:01 -07:00
unsettledgames 04afee2172 Finished binding events to splash page
Must write the log update and maybe find a way to randomize the splash images
2021-04-25 12:41:36 +02:00
Theo Cavignac 24af6b38a3 Update opn into open, make all build steps gulp based 2020-04-12 10:58:23 +02:00
unsettledgames 6995ccb2ee Cloned repository 2020-03-04 11:56:51 +01:00
npalomba 5bbfff5fae Added eraser icon, added management of eraser size, added event listener for R key (connected to the eraser tool). Started eraser cursor management in _updateCursors.js
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 12:17:32 +02:00
skeddles 548fea2909 finish build file 2019-03-27 22:19:15 -04:00
Sam Keddy 7126e83f5f first commit 2019-03-26 23:20:54 +00:00