Commit Graph

92 Commits

Author SHA1 Message Date
unsettledgames
5ab5ceb6b0 Added sortable palette (basic mode)
Started advanced palette block
2021-01-03 23:59:11 +01:00
unsettledgames
19e6fd1aca Fixed pixel grid being only on top of the first layer 2020-09-30 08:51:07 +02:00
unsettledgames
933b2919b4 Implemented pixel grid
Added settings for pixel grid, move settings to editor sub menu.
2020-09-26 12:32:31 +02:00
unsettledgames
29f8baf627 Fixed data handling bug
When updating a percentage, it based it off the previous edited value (eg if I scale 2x, old value will be equal to 2x, so if you wanted to scale it 0.5x, it actually made it 4x times smaller)
2020-09-22 12:29:58 +02:00
unsettledgames
b595026ea8 Fixed canvas resizing bug
The canvas size was not being updated after opening a png
2020-09-22 11:34:36 +02:00
unsettledgames
e9277db48c Added resize sprite data management 2020-09-19 17:04:46 +02:00
unsettledgames
663b714b46 Updated readme 2020-09-15 12:12:35 +02:00
unsettledgames
5e2a3e46e1 Finished basic canvas resizing
Must test pivots for negative values
2020-09-15 11:56:05 +02:00
unsettledgames
3cf72dd928 Added input fetching and validation 2020-09-13 11:58:46 +02:00
unsettledgames
d8cfd14ded Started handling pivot buttons 2020-09-13 11:21:23 +02:00
unsettledgames
232e08f84d Merge branch 'master' into minor-changes 2020-09-12 11:06:37 +02:00
unsettledgames
2da7e192e8 Finished styling canvas resize menu 2020-09-12 11:04:00 +02:00
unsettledgames
f6104c514c Styled pivots, started styling borders menu 2020-09-11 13:19:14 +02:00
Sam Keddy
71204da8f8 removed _colors.scss dependency 2020-09-09 04:00:08 +00:00
unsettledgames
e9e1ba96da Started implementing editor modes
Added prompt in the create menu to choose an editor mode.
2020-07-20 12:59:04 +02:00
unsettledgames
0b5bb3ab1a Fixed scrollbar styling 2020-06-26 18:32:05 +02:00
unsettledgames
a860677488 Changed implementation for moving layers 2020-06-25 23:37:41 +02:00
unsettledgames
6ad27323e5 Implemented merge, rename and flatten options 2020-06-23 17:34:03 +02:00
unsettledgames
50b962a7f5 Almost finished deleting layers
There's a bug that happens when the user tries to delete the Layer 0. All the other ones work correctly.
2020-06-22 23:07:40 +02:00
unsettledgames
d9d1406d57 Fixed new pixel creation bug and preview canvas blurriness
It's now possible to create a new project of a different size from the one decided when opening the app. Also fixed a bug that made the layer preview canvases blurry. They're now pixel perfect.
2020-06-20 22:49:02 +02:00
unsettledgames
ab4129546c Added layer move
The user can now move layers and choose which one to put on top of each other just by dragging and dropping them in the layer menu. Also fixed a bug in the eyedropper, that can now pick a colour even though the layer it's on is not selected.
2020-06-19 23:31:36 +02:00
unsettledgames
6cdc764586 Started drag and drop system 2020-06-19 16:20:51 +02:00
unsettledgames
10aa6134cc Fixed button visibility
Now if a layer is locked or hidden, the icon will always be shown.
2020-06-19 15:25:25 +02:00
unsettledgames
c498a495d5 Added canvas preview to layer menu
Decided to apply the same width / height ratio of the canvas to the preview.
2020-06-19 15:16:22 +02:00
unsettledgames
6cf6f86a91 Currently debugging the add layer function
At the moment the new canvas is correclty added and it's possible to draw on it after selecting the corresponding layer. There's a bug that doesn't let the user select a layer after the first time.
2020-06-18 16:04:45 +02:00
unsettledgames
51d86cee77 Continued basic layer layout
Added "Add layer" button, must find a nice way to add svgs
2020-06-17 23:09:11 +02:00
unsettledgames
4b9d51200f Started layers menu
Horrible colors included for free
2020-06-16 23:23:12 +02:00
Sam Keddy
f1fe597b80 added contributors to splash page 2020-04-16 18:21:34 +00:00
Sam Keddy
91da252f49 created tool class which keeps track of cursors, incorporates changeTool; made changelog data its own file 2020-04-15 00:01:31 +00:00
Lospec
7c29ba2d35
Merge branch 'master' into master 2020-03-07 17:52:45 -05:00
Sam Keddy
d899929816 updates 2020-03-07 22:46:25 +00:00
unsettledgames
0786f99d76 Started rectangle tool
Added icons and buttons.
2020-03-06 21:39:30 +01:00
unsettledgames
f1ae36c54c Finished the selection tool 2020-03-05 16:13:23 +01:00
unsettledgames
7ec24fc046 Added tmp layer
The temporary layer (tmp layer) will store selections while the user decides where to put them, so that content below it doesn't get overridden.
2020-03-04 19:46:19 +01:00
unsettledgames
8c94a951e2 Started implementing preview rect
At the moment there's a bug in the getCursorPos function, may have something to do with offsets. The rect is correctly drawn, but with a weird offset.

Added vfx canvas for tools previews.
2020-03-04 15:46:25 +01:00
unsettledgames
efaa8e3c34 Connected events to rect selection
_rectSelect.js now knows when the user started and finished drawing a rect and is able to edit a preview.
2020-03-04 14:36:40 +01:00
npalomba
8f4f4c2478 Solved bug that made the colour picker appear in the canvas.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 19:53:39 +02:00
npalomba
bd96d01970 Fixed visibility of canvas before canvas generation. 2019-03-31 18:44:09 +02:00
npalomba
a9d380ec1d Implemented eraser tool. Must move and resize layers at the same time.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 16:32:49 +02:00
npalomba
e68f495d50 Added functions for canvas management in order to create multiple underlying canvases for implementing layers.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 15:55:08 +02: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