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

3047 commits

Author SHA1 Message Date
Emmanouil Papadeas cfbe851da5 Add a convolution matrix layer effect
Still WIP, could use some extra parameters such as RGBA channel, and I should also implement it as an image effect.
2024-08-16 04:24:43 +03:00
Emmanouil Papadeas 2e3f0a2696 Add <kbd>Control+Shift+Alt</kbd> as a shortcut that automatically selects a layer directly from the canvas when using tools 2024-08-15 20:16:43 +03:00
Emmanouil Papadeas 077c57c53a
Implement support for group layer blending (#1077)
* Blend group layers on `DrawingAlgos.blend_layers()`

* Support group layer blending on the canvas

* Allow editing of group layer properties

* Fix issues with group layer blending in canvas, and unite common code

* Group layers can now be used as clipping masks

* Make move tool preview work on child layers

* Change OffsetImage's `blend_layers()` to support group layer blending

* Support group layer blending in the canvas preview

* Fix layer blending mode, clipping mask opacity and cel opacity not being updated automatically if the layer/cel changed is not selected

* Add a pass through blending mode to layer groups

Fingers crossed that no bugs were introduced

* Fix issue with layers that belong to pass through groups not updating their textures on the canvas automatically on undo
2024-08-15 15:52:55 +03:00
alikin12 f6f40e03e5
Fix Orama-Interactive#958 (reset custom brush when switch another tool) (#1078) 2024-08-15 15:42:01 +03:00
Emmanouil Papadeas 04a5292672 Use exact match for the draw_color_picker shortcut 2024-08-15 04:36:33 +03:00
Emmanouil Papadeas cbd36c3243 Update Keychain 2024-08-14 16:20:40 +03:00
Emmanouil Papadeas ed8d14bd22 [skip ci] Update CHANGELOG.md 2024-08-14 00:43:20 +03:00
Emmanouil Papadeas 1d5de2ed86 Implement the ability to move all selected cels on between different frames, but on the same layer
You currently cannot move multiple cels on different layers, they still act as swapping. Eventually I'd also like to implement moving cels between different layers, but they would also have to be on the same frame. I don't think moving cels between different layers and frames at the same time is possible.
2024-08-13 23:25:29 +03:00
Emmanouil Papadeas 1a99d524d1 Fix some buttons not being affected by the custom icon color on startup 2024-08-13 04:23:56 +03:00
Emmanouil Papadeas 8163015c02 Change blend modes of multiple selected layers from the timeline
And also add undo/redo when changing the blend mode from the layer properties dialog. Not sure why I had made their behaviors so inconsistent.
2024-08-13 00:53:37 +03:00
Emmanouil Papadeas d18acd9937 [skip ci] Update CHANGELOG.md 2024-08-12 22:44:28 +03:00
Hamster 77f6860f7a
Fix cursor blinking at the edge of canvas (#1075)
* fix: mouse blinking at the edge of painting canvas

* format: reformat src/UI/ViewportContainer.gd

* format: reformat according to gdlint

* refactor: removed unused code comments
2024-08-12 19:44:48 +03:00
Emmanouil Papadeas 15c186d8a1 Re-introduce #729 to fix an issue where the bucket tool filled with a slightly wrong color
We should probably keep this issue in mind though in case we find a better solution, but this seems to be working for now.
2024-08-12 16:36:20 +03:00
Emmanouil Papadeas 6e360505e3 Silence already connected signal errors in the tile mode offsets dialog 2024-08-12 02:36:45 +03:00
Emmanouil Papadeas c4beee6f41 Fix crash when importing brushes and palettes 2024-08-12 02:34:51 +03:00
superherointj 0d60c4195e
.gitmodules: remove (#1076) 2024-08-12 01:16:29 +03:00
Emmanouil Papadeas 68be6ac106 Allow editing of non-pixel cel properties 2024-08-11 15:03:33 +03:00
Emmanouil Papadeas 3113459224 Fix #1074 2024-08-11 11:05:02 +03:00
Emmanouil Papadeas 9c170ee5a0 Fix group layer children blending not working with nested group layers and with layer effects 2024-08-11 01:38:18 +03:00
Emmanouil Papadeas f3ee00a944 Fix crashes when attempting to export specific layers or tags that have been deleted 2024-08-11 01:00:10 +03:00
Emmanouil Papadeas 363c764fc1 Use the blend layers shader to blend the children of group layers 2024-08-11 00:51:31 +03:00
Emmanouil Papadeas bdc1b5af11 Add a blend_layers_headless method to DrawingAlgos 2024-08-11 00:35:16 +03:00
Emmanouil Papadeas 19e4c94fe3 Add a resized signal to Project, remove the Global.tile_mode_offset_dialog variable
Continue to slowly remove nodes from `Global`.
2024-08-10 22:47:06 +03:00
Emmanouil Papadeas 1678738d75 Add tolerance to the magic wand, rename "similarity" to "tolerance" in the select by color tool and make it work the inverse way
Continuation of b0a284583b for the selection tools.
2024-08-10 18:43:04 +03:00
Emmanouil Papadeas 54d9e021c1 Bump version to v1.0.2-dev 2024-08-10 18:21:35 +03:00
Emmanouil Papadeas b0a284583b Add tolerance to the bucket's "similar area" mode, rename "similarity" to "tolerance" and make it work the inverse way
A slightly breaking change for a minor update, but one that needed to be done. The bucket tool's "similarity" (now renamed to "tolerance") used to work the opposite way from all other software, the maximum value meant exact color match and 0 meant no color match. Now it works the inverse way to make it be consistent with other software, and the range is now 0-255 instead of 0-100. 0 means exact color match, 255 means no color match. And tolerance also now works for the "similar area" mode as well.
2024-08-10 18:20:42 +03:00
kleonc 92d7bbf539
Fix isometric grid calculations using ints instead of floats (#1069) 2024-08-09 15:33:45 +03:00
Emmanouil Papadeas e83d560741 Release v1.0.1 2024-08-05 22:16:25 +03:00
Emmanouil Papadeas 511ebfa5a3 Exclude the unused translation files from the exported builds
The pck is now almost 1MB smaller than it was in version 1.0.
2024-08-05 13:33:58 +03:00
Emmanouil Papadeas 699c9cda87 Fix the name of the new image effect 2024-08-05 13:18:12 +03:00
Emmanouil Papadeas 478508be05
New Crowdin updates (#1052) 2024-08-05 13:13:40 +03:00
Emmanouil Papadeas f299cf1339 Update AboutDialog.gd 2024-08-05 13:13:16 +03:00
Emmanouil Papadeas fbe2952346 Make shape previews look like they did in v1.0
The AutoInvertColors shader has been updated to make shapes hollow, similar to how the marching ants outline works.
2024-08-04 22:12:57 +03:00
Emmanouil Papadeas 855f72aa5c [skip ci] Update CHANGELOG.md 2024-08-04 00:36:41 +03:00
Emmanouil Papadeas 3dfa7b52c2 Update Keychain 2024-08-03 22:39:58 +03:00
Emmanouil Papadeas a3d7725a44 Fix popups appearing in wrong places when single window mode is disabled 2024-08-03 22:36:05 +03:00
Emmanouil Papadeas 95d96b9b00 Manually write lines in the override.cfg file instead of using ProjectSettings.save_custom() 2024-08-03 22:04:32 +03:00
Emmanouil Papadeas 17ad9eb8b5 Fix issue with popups being unclickable disabled single window mode
Should fix #1054
2024-08-03 21:27:39 +03:00
Emmanouil Papadeas 99793cf140 [skip ci] Update CHANGELOG.md 2024-08-03 01:47:43 +03:00
Emmanouil Papadeas 8c6bf08aef [skip ci] Fix typo in ExtensionsAPI 2024-08-02 21:43:57 +03:00
Emmanouil Papadeas b6583e4133 Fix two bugs with palettes, see description
1) `Palettes`'s `reindex_colors_on_width_increase()` was not changing the `index` of `PaletteColors`, thus resulting in the opened palette itself and the saved file having different indices, which could've caused conflicts with multiple colors sharing the same index, if the user re-arranged the palette after resizing it.

2) If the width was increased but the height increased, the positions of the colors remained the same, which resulted in the colors being in the columns that were removed, to be removed themselves. Now, the colors are taking advantage of the empty space, in order to remove as less as colors as possible. No colors will be removed if the width times the height is equal to or greater than it was before.
2024-08-02 21:32:53 +03:00
Emmanouil Papadeas f7296efbc5 Enable exclusive and disable popup_window flags in the palette dialogs 2024-08-02 20:59:59 +03:00
Emmanouil Papadeas c0c391674d [skip ci] Change instances of "yield" to "await" in comments 2024-08-02 00:42:14 +03:00
Emmanouil Papadeas 1ad4c2357f In the Canvas scene, make Previews and PreviewsSprite nodes share the same material 2024-08-02 00:03:45 +03:00
Emmanouil Papadeas 911c1e82b8 Update CHANGELOG.md 2024-08-02 00:03:19 +03:00
Emmanouil Papadeas 99982b50bb [skip ci] Update Translations.pot 2024-08-02 00:03:16 +03:00
Emmanouil Papadeas 0ea0406233 Add an adjust brightness/contrast image effect
Thanks to https://godotshaders.com/shader/color-manipulator/

The shader has more options than just brightness and contrast though, but I didn't know how else to name the effect. "Adjust Brightness/Contrast" makes it immediately obvious as to what the effect is about.
2024-08-01 21:21:45 +03:00
Emmanouil Papadeas 4d26a6dd55 Fix warnings in some shaders 2024-08-01 15:51:46 +03:00
Emmanouil Papadeas f15e8fb8f2 [skip ci] Update translation mistake 2024-08-01 01:41:33 +03:00
Emmanouil Papadeas 68b4047e72 Enable exclusive and disable popup_window flags in some more dialogs
I forgot to include these changes in 95b5102394
2024-08-01 01:23:33 +03:00