1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00
Commit graph

319 commits

Author SHA1 Message Date
OverloadedOrama d1793c2e60 Fix bug with undo and drawing after motion draw, again
If you did motion drawing, stopped and then went to draw to the frame the motion drawing started, undo wouldn't work properly. That's because can_undo was false.
2020-02-11 20:05:37 +02:00
OverloadedOrama f9bcab78f9 Save pressure sensitivity & smooth zoom preferences in the config ini file 2020-02-11 19:45:36 +02:00
OverloadedOrama 2531aa7b65 Affect already painted pixels on the same mouse press, if the pen pressure is higher than it used to
And fixed bug with undo and drawing after motion draw
2020-02-11 18:42:23 +02:00
OverloadedOrama ef9e906f19 Added Latvian translation
Closes #150
2020-02-11 16:03:25 +02:00
OverloadedOrama 17f623c769 Blend all color channels when the color alpha is less than 1
Along with the alpha blending that already was added some commits ago
2020-02-11 03:45:05 +02:00
OverloadedOrama 8ff917111c Changes to better follow GDScript style guide
Nothing new is being added in this commit, just code re-ordering & re-naming to better follow the recommended GDScript style guide.
http://docs.godotengine.org/en/3.2/getting_started/scripting/gdscript/gdscript_styleguide.html

And

https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/
2020-02-11 00:06:24 +02:00
OverloadedOrama 5fe4b74a39 New alpha blend behavior now works on circle brushes 2020-02-10 02:39:36 +02:00
OverloadedOrama a6d129526c Fixed issue where Brushes and Palettes wouldn't load if you opened Pixelorama from a file
It now uses "OS.get_executable_path().get_base_dir()" to find the root directory of Pixelorama, instead of just "."
2020-02-10 01:23:33 +02:00
OverloadedOrama 9e7a3059f2 Opening .pxo files directly with Pixelorama is now also supported
Also added "-> void" to the methods that did not already have it
2020-02-09 18:06:03 +02:00
OverloadedOrama 45a31faa7b You can now drag and drop/"open with" image files
Thanks to OS.get_cmdline_args(). Support for .pxo files will be coming soon.
2020-02-09 03:13:12 +02:00
OverloadedOrama 3fbd1d35eb The camera now zooms at the mouse's position. 2020-02-09 02:16:14 +02:00
OverloadedOrama f28a3a4405 Basic tablet pen pressure sensitivity, brush alpha now gets blended
Instead of replacing the pixels with the new color's alpha value, the alpha values of the selected color and the current pixel color get blended together. This means that, if you have a pixel with 50% alpha and you draw a color over it with 25% alpha, the final result will have 75% alpha, instead of 25% as it used to be.

The pressure sensitivity is still experimental and may not work properly. Works only with Godot 3.2 and above.

draw_pixel() has also been renamed to draw_brush()
2020-02-09 01:34:37 +02:00
OverloadedOrama 5d0b39f14c Update AboutDialog.gd
Update translator name
2020-02-09 00:03:16 +02:00
OverloadedOrama 93833ba06a Added Chinese Simplified 2020-02-08 00:10:33 +02:00
OverloadedOrama 92cd06207c Changing the language does not change Preferences tab to General
Also updated translatable strings
2020-02-07 23:27:05 +02:00
OverloadedOrama e677824f48 Added smooth zooming
Camera zooming with the help of a Tween node, toggle-able in the Preferences
2020-02-07 03:27:11 +02:00
OverloadedOrama 12fb8b02c8 The language buttons in the preferences have their localized names in their hint tooltips
For example, if you hover over the "English" button while the language is Greek, the hint tooltip will be "Αγγλικά", which is the Greek word for English.
2020-02-07 02:40:53 +02:00
OverloadedOrama 155b77b514 Moved Rotate Image selection up, fixed some warnings
And minor UI changes, like changing default cursor shape to pointing hand when hovering on some UI elements in RotateImage.tscn
2020-02-04 18:29:34 +02:00
Manolis Papadeas c4229e1759
Merge pull request #143 from azagaya/master
Added 2 rotation algorithms and popup for rotating current layer
2020-02-04 18:14:32 +02:00
azagaya a9a647a7ee Fixed bugs detected by overloaded
One bug was that rotxel was used at the end, no matter what algorithm was chosen.
The other was that rotxel was taking into account a image of width x width dimensions.
2020-02-04 12:59:06 -03:00
OverloadedOrama f8ee851a6f Fixes #141
This commit will be reverted when the actual problem is fixed in Godot itself.
2020-02-04 17:33:34 +02:00
azagaya d1ef71ceee Added nearest neighbour rotation 2020-02-03 13:55:55 -03:00
OverloadedOrama 14900ed5ab Remove custom brushes with the middle mouse button
And made the "X" button on the custom brushes a little smaller. Partially addresses #132
2020-01-28 00:22:04 +02:00
OverloadedOrama 2f48547f6c Added more translators in About & fixed translated importing image error 2020-01-27 15:57:40 +02:00
azagaya 8fd8a9db08 Added functions to rotate image, and added gui for the same purpose 2020-01-26 19:50:40 -03:00
OverloadedOrama d83057120b Fixed crash when importing images that were failing to load
They still fail to load, but Pixelorama does not crash.
2020-01-25 21:27:54 +02:00
OverloadedOrama 3b289c5772 Fixed issue when generating an outline inside the image
get_pixel() was being executed outside the image's borders
2020-01-24 04:53:14 +02:00
OverloadedOrama 6e198c6c60 Imported Spanish translation in the project settings 2020-01-22 20:20:58 +02:00
OverloadedOrama d0a50c45e3 Translators can now be seen in the About window. 2020-01-22 19:31:33 +02:00
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
OverloadedOrama 7a3f3eb4f9 Made AnimationTimeline a scene of its own 2020-01-15 22:01:43 +02:00
Manolis Papadeas 021ae469a7
Merge pull request #124 from YeldhamDev/splashscreen_yield_popup
Delay the splash screen popup so it shows properly centered
2020-01-14 14:08:38 +02:00
Michael Alexsander 1cde435d1a Delay the splash screen popup so it shows properly centered 2020-01-14 00:44:16 -03:00
OverloadedOrama 97dad3ef10 v0.6.1 release 2020-01-13 14:50:57 +02:00
OverloadedOrama 24480ede6f Made the cursor tool icons visible by default 2020-01-13 13:26:06 +02:00
OverloadedOrama 2de8865b8b Keep tool icon checkbox visible when a tool is selected 2020-01-13 13:15:06 +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 582b9baedb The canvas updates automatically when onion skinning settings change. 2020-01-12 02:51:12 +02:00
OverloadedOrama 5562d3f2d5 LightenDarken tool no longer affects transparent pixels 2020-01-12 02:34:47 +02:00
OverloadedOrama 340a885cd7 Fixed crash on Godot 3.2.beta6 when pressing the Edit Palette button
Oddly enough, this crash did not occur on Godot 3.1.2 or even Godot 3.2.beta5
2020-01-12 02:22:37 +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 d817f2e5d3
Fixed same issue as 6dfa3ac9b7 2020-01-11 00:14:56 +02:00
Manolis Papadeas c59182019c
Fixed "fill_color variable already declared" warning 2020-01-11 00:11:36 +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