Commit Graph

20 Commits

Author SHA1 Message Date
unsettledgames
7c80e8f342 Finished refactoring History, added Startup IIFE 2021-07-15 17:10:07 +02:00
unsettledgames
6c8ec8e7a9 Refactored History into an IIFE
Divided History states and actual History management, refactored all occurrences of history-related functions to use the new version.
2021-07-14 22:20:55 +02:00
unsettledgames
e4ecc3d607 Moved dialogue related things to their own IIFE
Refactored all calls to showDialogue and closeDialogue to use the IIFE version
2021-07-13 23:40:23 +02:00
unsettledgames
6e483710f0 Fixed sprite scaling history bug 2021-04-29 12:50:59 +02:00
unsettledgames
fb1200162e Finished commenting the editor
Also cleaned a few things, removed some unused variables
2020-12-31 16:47:56 +01:00
unsettledgames
f0fae3698d Fixed canvas resizing history bug 2020-09-29 21:22:02 +02:00
unsettledgames
aabc715086 Finished todo list for current contribution
Fixed canvas trimming history, added proper setting management for the pixel grid.
2020-09-29 19:10:50 +02:00
unsettledgames
c7cacc37ca Finally fixed friggin canvas trimming
Proper history management must still be implemented.
2020-09-27 13:08:48 +02:00
unsettledgames
c2bf2fe131 Fixed canvas undoing bug 2020-09-27 11:25:09 +02:00
unsettledgames
4223597659 Started canvas trimming 2020-09-26 13:08:43 +02:00
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
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
2a9acebd2f Fixed bug in canvas resizing when resizing sprite 2020-09-21 10:39:37 +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
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
9c15a09975 Added saving layers, must test canvas resizing 2020-09-13 12:11:08 +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
1e6f719f50 Started resize canvas interface 2020-07-22 23:29:27 +02:00