Commit Graph

23 Commits

Author SHA1 Message Date
unsettledgames
034715fac8 Fixed bug when undoing layer add
Also created nAppLayers to save the number of layers used by the editor (and that the use can't directly with).
2020-09-26 11:51:18 +02:00
unsettledgames
9c68e541d9 Added history management for sprite scaling 2020-09-22 14:17: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
2a5315b81a Added history management for duplicating layers 2020-09-17 12:36:15 +02:00
unsettledgames
267d1a170e Fixed issue #18 2020-09-16 12:43:51 +02:00
unsettledgames
b7d5f603b1 Added history states for canvas resizing
Must fix bug that happens when creating a new layer after resizing the canvas
2020-09-15 13:06:31 +02:00
Sam Keddy
62fc655fd2 bug fixes 2020-09-11 19:48:55 +00:00
unsettledgames
2868363bb7 Started project opening
Fixed a bug in the flatten visible undo, created an array to store the colours in the current palette, implemented project saving.
2020-06-27 13:29:28 +02:00
unsettledgames
75a6b7ade7 Finished implementing layers
Updated readme with the features that should be implemented.
2020-06-26 17:38:39 +02:00
unsettledgames
4bd05f184d Finished implementing history states
I thought it was going to be a lot more annoying
2020-06-25 13:19:31 +02:00
unsettledgames
d077c4f8e0 Implemented history state for flattening all the layers 2020-06-25 12:10:34 +02:00
unsettledgames
17a2fe8318 Implemented history state for merging layers 2020-06-25 11:40:47 +02:00
unsettledgames
364b5d2652 Implemented history state for deleting layers
Also fixed a few bugs in the other states.
2020-06-24 23:40:49 +02:00
unsettledgames
b694483f40 Implemented history for renaming layers 2020-06-24 22:34:21 +02:00
unsettledgames
3dbd7fbb1a Fixed bugs in the already implemented history states, added state for moving layers
Since the states were recycling the same functions, a brand new state was saved when redoing, so that undoing was impossible.
2020-06-24 13:30:24 +02:00
unsettledgames
74a8ee0988 Implemented history state for adding layers 2020-06-24 12:51:09 +02:00
unsettledgames
8201099ad5 Fixed history for canvas edits 2020-06-23 23:29:13 +02:00
unsettledgames
9032bf4fe9 Added layer menu in the top bar
Since I've procrastinated a lot and I've finished the things to implement before it, next is history management.
2020-06-23 18:10:10 +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
0fc1df1650 Added Selection menu
Also fixed a few minor bugs.
2020-06-06 21:44:52 +02:00
Theo Cavignac
6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +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
Sam Keddy
7126e83f5f first commit 2019-03-26 23:20:54 +00:00