OverloadedOrama
808883b3a5
Restore freehand drawing on motion drawing
2020-01-16 01:38:44 +02:00
OverloadedOrama
1353db92d1
Don't execute Canvas' _input() method if it's not the selected frame
...
Canvas.gd's _input() method returns when the canvas' frame is not the currently selected frame. Saves a little bit of performance and fixes some issues like the line angles of ALL frames being drawn, and might fix some crashes I had with motion drawing and undo/redoing.
2020-01-15 22:47:56 +02:00
OverloadedOrama
bac3fdcad6
Canvas Line2D doesn't get freed and re-created
...
Make Line2D have the same position for both of its points so it's invisible when the user is not making a straight line
2020-01-15 22:31:02 +02:00
henlo-birb
6fa41000ed
added option to hide tool icons next to cursor
2020-01-12 20:41:17 -05:00
OverloadedOrama
542f709a8f
Fixed issue where undo/redo was not working properly for straight lines that went outside the canvas
2020-01-13 01:11:03 +02:00
OverloadedOrama
ff758467dd
Fixed a rare crash with straight lines
...
It was possible that the variable `is_making_line` could be true, even if the line itself has been freed from memory.
2020-01-12 22:43:07 +02:00
OverloadedOrama
5562d3f2d5
LightenDarken tool no longer affects transparent pixels
2020-01-12 02:34:47 +02:00
OverloadedOrama
50fa262a75
Put default image width and height to 64, made minor changes in the About dialog and in the Chinese translation
2020-01-11 00:29:29 +02:00
Manolis Papadeas
8b4c42a576
Merge pull request #118 from Gaarco/master
...
Add preference options for the Image: default width, default height, default fill color and their translation strings
2020-01-11 00:21:35 +02:00
Manolis Papadeas
6dfa3ac9b7
Fixed issue where the size wouldn't change if the user modified only the width or the height
2020-01-11 00:08:24 +02:00
OverloadedOrama
5cce9d3180
Changes to the tool options UI
...
New option for the color picker tool (closes #115 - also includes new translatable strings), VSplitContainer for the tools and their options and a ScrollContainer for the tool options.
2020-01-10 22:44:29 +02:00
Marco
a34c163cdb
Add fill color
2020-01-10 20:47:44 +01:00
Marco
5e49c3eae8
Fix
2020-01-10 20:32:31 +01:00
Marco
7b0251fdfa
Image preferences and its translations
2020-01-10 20:24:07 +01:00
OverloadedOrama
16e92b0e9f
Removed uneccesary code from Canvas.gd that prevented _input() from executing if Space was being pressed
2020-01-09 20:51:03 +02:00
OverloadedOrama
48e871586c
Added space for panning - Closes #110
2020-01-09 20:49:27 +02:00
OverloadedOrama
db29c1af67
Fixed crash that occured when trying to delete contents of a selection that were outside the canvas' borders
2020-01-07 17:20:25 +02:00
OverloadedOrama
46e4ea15ad
Fixed issue with line_2d in Canvas.gd where it wasn't being freed when releasing shift
2020-01-05 22:40:07 +02:00
OverloadedOrama
830ae623d2
Added new strings to be translated
...
Greek translation is still in progress
2019-12-31 20:10:10 +02:00
OverloadedOrama
d42648efe1
Added a Splash Screen popup window
...
Re-organized transparent backgrounds, removed the Timer from Canvas nodes.
2019-12-31 18:04:00 +02:00
OverloadedOrama
129885ddfc
Cloning layers now adds "(copy") to the layer name
...
So if you clone "Layer 0", the cloned layer's name will be "Layer 0 (copy)"
2019-12-30 22:05:09 +02:00
OverloadedOrama
04fe708560
Fixed issue where the canvas was stuck on 64x64 size
2019-12-28 19:03:45 +02:00
OverloadedOrama
3cac42ba15
Fixed mirroring of the bucket tool
...
Also removed unnecessary double code from Canvas.gd, made it a little cleaner.
2019-12-28 15:14:54 +02:00
OverloadedOrama
abfa70be31
Fixed issue with the filled circle brush
...
It no longer leaves any unfilled pixels
2019-12-28 00:25:44 +02:00
OverloadedOrama
d6a199c53f
Added a new brush type - Filled Circle
...
Filled Circle brush is just like the Circle brush, but filled. Issue is, when drawing while moving the mouse, some pixels remain unfilled.
Also added some more file brushes.
2019-12-27 22:02:47 +02:00
OverloadedOrama
86761c92ec
Layers stay invisible when adding/removing/moving a new layer
2019-12-27 20:24:44 +02:00
OverloadedOrama
42e3aec561
Fixed issue where Shift and Ctrl weren't working with straight lines on Canvas.gd
2019-12-27 17:38:43 +02:00
Overloaded
080676ac83
Merge pull request #96 from Calinou/fix-gdscript-warnings
...
Fix GDScript warnings pertaining to unused arguments
2019-12-27 17:19:03 +02:00
Hugo Locurcio
02c76cfd14
Don't call update()
in the canvas on non-mouse input events
...
This partially addresses #85 .
2019-12-27 16:16:20 +01:00
Hugo Locurcio
386473845e
Fix GDScript warnings pertaining to unused arguments
...
Those warnings can be ignored by prefixing the argument with an
underscore.
2019-12-27 16:14:01 +01:00
OverloadedOrama
fec657efc8
Fixed bug with random brushes, they were being resized forever while the user was drawing
2019-12-27 00:00:20 +02:00
OverloadedOrama
3a20b3e073
Added a new brush type - Random Brushes
...
They're like File brushes, but each time you draw, expect to see something different!
To make a random brush, just put the images you want in the same folder (under the main Brushes folder of course), and make sure their filename starts with "%".
I also changed _process() to _input() in Canvas.gd, so there may be some unexpected behavior.
2019-12-26 21:36:56 +02:00
OverloadedOrama
d4b42534bb
Added sliders for brush size & 2 new custom brushes
...
Also, in Canvas.gd's _draw() method, draw_set_transform() is called again after the circle brush drawings, to reset the transform to its default state.
2019-12-25 21:17:29 +02:00
OverloadedOrama
06e0d74c14
Added proper circle brush - Bresenham's Circle Algorithm
...
The circle's radius is the brush's size. Respects image/selection boundaries, works with mirror. A special plot_circle() method is found on Global, to calculate the rectangles used by the mouse cursor/position indicator.
2019-12-25 20:27:25 +02:00
OverloadedOrama
d3ff1e984b
Added diagonal outlines, changed paint all pixels of the same color to respect selection
2019-12-25 02:53:45 +02:00
OverloadedOrama
ed2e757c11
Layer Opacity - Change alpha of each layer
...
Added a slider under the layer add/remove/etc buttons that changes the currently selected layer's transparency. It gets saved in .png and .pxo files, while respecting non-opaque pixels in the image too. Which means, their alpha values aren't being overwritten.
2019-12-24 23:51:08 +02:00
OverloadedOrama
c6ded721d1
Canvas transparent background changes on dark & gold themes
...
It's also in Global.gd instead of Canvas.gd
2019-12-21 04:56:48 +02:00
OverloadedOrama
69392ff34b
Constrained angles on straight lines while pressing Ctrl
2019-12-19 15:50:41 +02:00
OverloadedOrama
a76bfcef48
Straight lines now paint the target pixel too
...
They also start at the middle of the pixel, rather than the last mouse position in general
2019-12-19 03:38:14 +02:00
OverloadedOrama
91b21a52f5
Angle between last drawn pixel and line is now appearing on the top when drawing a straight line
...
Also straight lines work with LightenDarken now, and moved the Seconds Timeline a bit to the left
2019-12-19 03:15:23 +02:00
OverloadedOrama
6220ad82bc
Frame number labels change color when selected
2019-12-18 00:53:06 +02:00
Overloaded
f97818d134
Merge branch 'master' into line-tool
2019-12-15 17:49:47 +02:00
Subhang Nanduri
632a0c8dd3
Fix for crashes that occur when using selection tool and line tool
2019-12-15 10:19:58 -05:00
OverloadedOrama
00ef80e932
Fixed problem with drawing and filling gaps, created "shift" in Input Map
...
previous_mouse_pos is now used for regular drawing, while previous_mouse_pos_for_lines is used for straight lines
2019-12-15 14:07:28 +02:00
OverloadedOrama
f3ab5960ba
Imported German translation in the Project Settings
2019-12-15 13:44:53 +02:00
Subhang Nanduri
40dfe544d8
Changed line tool so it activates by pressing shift after last draw
2019-12-15 02:09:14 -05:00
OverloadedOrama
87cddbce06
Fixed LightenDarken drawing bugs
2019-12-11 02:47:54 +02:00
OverloadedOrama
719d29526f
Updated custom tool cursors & changed rectangle selection tool
...
- Also fixed a small translation bug with the menu items, for real this time
- Fixed a bug with the brush color not being updated when using the custom color picker tool
- The pixel indicators only appear for Pencil, Eraser and LightenDarken tools
- Small UI margin changes.
2019-12-11 01:00:26 +02:00
OverloadedOrama
1bd8ec4ae0
Added 2 small sprites below the cursor for the selected tools
...
Instead of having a tool icon as a cursor for the left tool only
2019-12-10 19:56:16 +02:00
OverloadedOrama
704dcf90c0
Retain the zoom factor when adding a new frame
...
Also, when importing a PNG, the window title changes.
2019-12-09 01:39:59 +02:00