unsettledgames
17b2a54d8a
Moved right click layer menu from Layer to LayerList
2021-07-23 14:49:55 +02:00
unsettledgames
804a0335b1
Removed replaceAllOfColor, made another commenting round
2021-07-22 19:26:40 +02:00
unsettledgames
6b84cdaa4d
Removed getCursorPosition
2021-07-22 19:05:58 +02:00
unsettledgames
15cca5ffb7
Removed global pixelGridCanvas and currentMouseEvent
2021-07-22 18:57:44 +02:00
unsettledgames
cd03923a86
Removed global canvases
2021-07-22 18:11:55 +02:00
unsettledgames
6bd6515385
Removed currentGlobalColor
2021-07-22 18:02:19 +02:00
unsettledgames
1a6079cc81
Removed "colors" global variable
2021-07-22 16:40:58 +02:00
unsettledgames
0d7a00c62f
Removed global dragging variable
...
The "dragging" variable is now handled in Input.js
2021-07-22 15:21:48 +02:00
unsettledgames
4e85ad1a73
Merge remote-tracking branch 'upstream/master'
2021-07-22 13:17:50 +02:00
Jascha Bakarinow
e0f64c97ba
Fix brushPreview lagging behind
2021-07-21 23:23:31 +02:00
unsettledgames
1b1290c017
Refactored Input.js to Events.js
...
Started working on Input.js, this time it's used to handle mouse clicks and keyboard shortcuts.
2021-07-20 22:52:51 +02:00
unsettledgames
7976675132
Moved some of _pixelEditorUtility.js functions to proper files
...
Also left some comments about where to put the leftover functions once we have a more detailed structure.
2021-07-18 22:44:31 +02:00
Jascha Bakarinow
f240e54bb3
Set brushSize before panning with Mousewheel
2021-07-17 23:07:57 +02:00
Jascha Bakarinow
d4de08e8be
Move brushPreview when panning with mousewheel
2021-07-17 22:55:51 +02:00
unsettledgames
f76d05bffa
Added FileManager and TopMenuModule
...
The TopMenuModule binds the buttons so that they open the sub menus: at the moment it also binds those events that don't have a proper place yet. FileManager contains all the functions that have something to do with files, that is loading, opening, saving and exporting.
2021-07-15 22:21:19 +02:00
unsettledgames
7c80e8f342
Finished refactoring History, added Startup IIFE
2021-07-15 17:10:07 +02:00
unsettledgames
eada155375
Fixed Dialogue bug
2021-07-14 23:00:12 +02:00
unsettledgames
d81363ddd0
Fixed mode switching, started SplashPage IIFE
2021-07-14 22:48:53 +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
Leamsi Escribano
84f6493bf6
Fixed Color Picker preview not showing
2021-07-11 11:32:49 -04:00
unsettledgames
f81019830b
Edited brush preview to be a bit more visible
2021-07-09 23:50:29 +02:00
unsettledgames
3f2d67a36e
Tested get/set functions
...
Found out every function that uses this has problems: when calling an object method as an input callback, this gets replaced with the element that triggered the event.
2021-07-09 23:44:04 +02:00
unsettledgames
d7b04d7699
Fixed invisible cursor outside of canvas
2021-06-30 22:47:45 +02:00
unsettledgames
1a69b48297
Fixed infinite loop when filling an area with the same colour
2021-06-30 22:35:46 +02:00
unsettledgames
48310a4845
Fixed pixel not being drawn when clicking
2021-06-30 19:40:39 +02:00
unsettledgames
12561b7a87
Binded mouse wheel to panning
2021-06-25 22:42:00 +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
Leamsi Escribano
9fc5c8e3b8
Fixed line tool bugs
2021-01-14 19:50:56 -05:00
Leamsi Escribano
5556587088
Finished Line Tool
2021-01-14 15:28:57 -05:00
Leamsi Escribano
d3a1b6f474
Working on line tool
2021-01-14 13:04:39 -05:00
unsettledgames
9ef0e6ecea
Started commenting code
2020-12-31 13:05:51 +01:00
unsettledgames
eedde51ad4
Fixed pan bug
...
Since setCanvasOffset is now a method of Layer, it can't be called like a global function.
2020-09-18 10:26:56 +02:00
unsettledgames
37a532236b
Fixed brush preview snapping
2020-09-17 16:11:00 +02:00
unsettledgames
267d1a170e
Fixed issue #18
2020-09-16 12:43:51 +02:00
unsettledgames
466eb0580c
Started refactoring the code
...
- Can now zoom without selecting the zom tool
- Moved updateCursor to the tool class, deleted _updateCursor.js
- Removed as many references to canvas as possible, removed every global reference to context
- Added methods in Tool class to move the brush preview
2020-07-21 16:01:00 +02:00
unsettledgames
03ba3fe245
Fixed rectangle tool bug
...
Switching tool from the rectangle caused the editor to freeze.
2020-07-21 14:42:25 +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
d077c4f8e0
Implemented history state for flattening all the layers
2020-06-25 12:10:34 +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
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
349a4417d8
Fixed a horrible bug that happened when moving layers
2020-06-20 23:50:57 +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
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
066582e309
Implemented lock function
...
Now a layer can be locked and unlocked and it's possible to edit a layer only if the layer is not locked.
2020-06-19 12:57:07 +02:00
unsettledgames
0fc1df1650
Added Selection menu
...
Also fixed a few minor bugs.
2020-06-06 21:44:52 +02:00
unsettledgames
944cf1fbed
Implement cut tool
...
yeah that was the easy part but still
- Added hotkeys for copy, paste and cut
- Added _copyPaste.js for copy, cut and paste management
2020-04-20 16:55:34 +02:00
Sam Keddy
f3ce09ac5a
fixed merge
2020-04-15 00:10:21 +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