Commit Graph

17 Commits

Author SHA1 Message Date
Nicola
74665db3de Fixed tool color
Fixed ellipse filling the whole canvas when changing tool
2022-10-24 15:04:09 +02:00
pxlvxl
f499662afc 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:36:15 -05:00
Nicola
c464b50aa1 Updated splash page 2022-01-31 23:50:18 +01:00
Nicola
edf5d77ffd Finished tooltorials 2022-01-30 00:09:43 +01:00
Nicola
b616579c65 Continued tool tutorials
Also fixed fill tool history bug
2022-01-25 23:47:01 +01:00
Nicola
2e360dcf51 Started tool tutorials 2022-01-25 00:33:23 +01:00
Sam Keddy
c135e2838d fixed urls
changed all urls to be relative (no starting slash) and without /pixel-editor/. Fixed the testing server to deal with these requests (and also include some better logging).
2022-01-13 14:40:35 -05:00
Nicola
be852d9aae Fixed #48 and #47 2021-12-12 18:37:16 +01:00
unsettledgames
7fcd77d4f2 Finished writing update log 2021-04-29 22:02:43 +02:00
unsettledgames
07f36cf7cb Added latest log loading
Fixed sprite scaling bug
2021-04-28 23:39: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
unsettledgames
e3df4618f0 Continued splash page, added presets, resized cover 2021-01-11 18:09:58 +01:00
unsettledgames
3e5b05bb6b Added fill mode for the rectangle tool
You can select the fill mode by clicking again on the rect button once you select it. Also added new icons.
2020-03-07 22:34:12 +01:00
unsettledgames
0786f99d76 Started rectangle tool
Added icons and buttons.
2020-03-06 21:39:30 +01:00
unsettledgames
11337b689b Added possibility to select the rectangular selection tool
The user can now select the rectangular selection tool. Deleted the m shortcut for the pan tool and used it to shortcut to the rectangular selection tool. The pan tool can already be selected with the p button.
2020-03-04 12:42:15 +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
Sam Keddy
7126e83f5f first commit 2019-03-26 23:20:54 +00:00