Commit Graph

101 Commits

Author SHA1 Message Date
Nicola f9a87cc46e Final refinements 2022-10-24 13:06:41 +02:00
Nicola e51f510392 Merge branch 'master' into pxlvxl-master 2022-10-24 12:48:08 +02:00
Nicola 3b83727c73 Added buttons to colour menu
Added buttons to add, remove, zoom in and zoom out. Also implemented palette zooming
2022-10-24 12:11:40 +02:00
NSSure b8d1f11f93 Added ability to select import position 2022-10-22 05:46:48 -04:00
NSSure 02806c7efa Added file option to import image to current layer 2022-10-21 03:52:55 -04:00
Nicola f31fd5b505 Attempted to resize palette squares on scroll 2022-10-06 11:20:09 +02:00
Nicola dfa3742003 Fixed z-index issue 2022-10-06 10:13:22 +02:00
Jaman Brundage 12a3283790 another push
Fixed issue with color saving
Redesigned color select section
2022-03-23 08:47:57 -04:00
pxlvxl e4228f19c6 push4
fixed tool tutorial blocking canvas
2022-02-25 14:51:01 -05: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 953dc40bc4 Fixed bugs
Hid brush size arrows in firefox, let the user cancel a selection by clicking outside the canvas, fixed lasso tool not detecting the selection if ending it outside the canvas.
2022-02-04 22:13:11 +01:00
Nicola cdabbb4a5c Added tool size in the top bar 2022-01-31 23:12:28 +01:00
Nicola 82aa5ab114 Fixed topbar css
Aded InputComponents.js to take care (dynamically create, add events) of input elements.
2022-01-31 00:16:27 +01:00
Nicola 79a3c07b82 Fixed ellipse bug, fixed brush size bug 2022-01-30 22:53:59 +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
Nicola cd1d0cd5eb Merge branch 'master' into next-update 2022-01-23 16:45:27 +01:00
Nicola 832f36992b Added ellipse tool setup 2022-01-22 16:02:10 +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 8df8b3ac54 Started lasso selection preview 2021-12-28 22:51:18 +01:00
Nicola fd3daecba5 Restored square templates in splash page 2021-12-27 19:40:23 +01:00
Nicola a52fc647e3 Reduced tool size
Moved tool size buttons on the right, started lasso tool
2021-12-27 19:11:59 +01:00
unsettledgames b2fef6154d Added back eraser tool 2021-10-27 10:43:51 +02:00
unsettledgames 0fcb309cc7 Added basic structure and comments for Tools
Fixed lpe palette loading, added custom events
2021-10-25 19:23:06 +02:00
NSSure f9a1cfc3d3 Added save project dialogue 2021-08-14 11:20:53 -04:00
NSSure d97b6f5ca5 Added export dialogue for file name 2021-08-12 22:54:35 -04:00
skeddles bdca8e6462 added drop shadow to banner contents 2021-07-06 21:11:19 -04:00
skeddles 80e33b4ff1 moved mode switcher on splash to below quickstart 2021-07-06 20:37:47 -04:00
skeddles 512981be63 split pixel-edtior.scss into separate files 2021-07-06 19:14:37 -04:00
skeddles 1f820fd97e ported to static site, removed _ext folder, split hbs files into partials 2021-07-06 17:24:20 -04:00
unsettledgames d8531a7e01 Updated help section 2021-07-01 13:10:08 +02:00
unsettledgames d7b04d7699 Fixed invisible cursor outside of canvas 2021-06-30 22:47:45 +02:00
unsettledgames f37a85cf55 Fixed #18
(fix by @liamortiz )
2021-06-30 22:13:59 +02:00
Leamsi Escribano 5eee1b941e IIFE and CSS Fixes 2021-06-27 12:45:32 -04:00
Nicola bb8d5e467d
Revert "Performance Improvement and Code Structure Changes" 2021-06-27 17:46:22 +02:00
Leamsi Escribano 096d62cab9 Added scrollbar to container 2021-06-26 13:25:58 -04:00
unsettledgames cde3528737 Fixed CSS 2021-06-25 22:08:52 +02:00
unsettledgames ced6b3d1cd Continued fixing css 2021-06-25 16:37:40 +02:00
unsettledgames d8369aa9d7 Continued fixing CSS 2021-06-24 15:10:08 +02:00
unsettledgames 16e5d6187f Started fixing CSS 2021-06-23 23:27:06 +02:00
unsettledgames f24ded088b Added hex input to colour picker 2021-04-29 16:54:02 +02:00
nkoder 6cc60c00e8 Introduce ellipse tool (which draws rectangle for now) 2021-04-29 01:08:16 +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 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
unsettledgames 224273e7ce Binded new pixel events to splash page and to create dialogue 2021-02-18 22:28:52 +01:00
unsettledgames 1302fc9bd6 Started binding splash page events (new custom pixel section) 2021-02-17 18:59:49 +01:00
unsettledgames 9c2677ea6e Finally placed the window
Could be a bit better, but I suck at CSS
2021-02-17 12:57:32 +01:00
unsettledgames 598bf20d46 Commit before trying new layout 2021-02-05 12:42:40 +01:00