Emmanouil Papadeas
3f26e859dc
Properly update the tileset when using any tool
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
00cd47b94e
Better tile buttons
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
7f82be13ab
Improve tileset panel UI updating logic
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
1bb908638b
Prevent from drawing on empty image portions on manual mode.
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
2ecdf023b2
Make the manual mode work, kind of
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
29262ff7da
Properly implement the auto tile editing mode
...
Should work well now.
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
d584807c14
Show tile indices when pressing Control
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
488c023838
Add a way to show the indices of each tile, WIP
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
a4b33ad83c
Don't delete tiles that have been added using the stack mode
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
cadd7c57f1
Change tile editing mode from the UI
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
7893ae2531
Make manual mode work when the tileset is empty
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
df56989d5f
Improve tileset editing logic
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
8abf44d65a
Support ImageExtended
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
b74c3149af
Add a tileset panel
...
Code is a bit meh, needs to be written better.
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
dab8c5bed5
Add tilemap layers
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
85854b3490
Implement all draw modes (untested)
2024-12-02 19:48:51 +02:00
Emmanouil Papadeas
d562e50af7
Initial work for tilemap layers
2024-12-02 19:48:51 +02:00
Variable
ff5713ae91
When picking color, ensure that the correct index is selected in palette ( #1144 )
...
* When picking color, ensure that the correct index is selected
* if drawing over same color in index mode, check and update index as well
* revert an optimization (croping indices image before display)
* typo
2024-12-02 19:44:52 +02:00
Spencer Beckwith
55f83a3367
Extract export path from output CLI option ( #1145 )
2024-12-01 16:47:16 +02:00
Emmanouil Papadeas
c72a1f4b90
Enable always on top for the child dialogs of the export dialog
2024-11-30 22:23:09 +02:00
Emmanouil Papadeas
be8b7728e4
[skip ci] Fix typo in ImageExtended docstrings
2024-11-29 20:19:19 +02:00
Variable
31981a1def
Added a way to see index of color (plus bugfixes) ( #1143 )
...
* add a way to see indices
* fix some things
* Fixed more than one swatch selected if there is the same color available in an earlier swatch
* fixed wrong index drawn when moved to an smpty swatch
* make active_button public
* fixed wrong color getting stored in array (similar fix to #1108.)
* If the color selected in the palette is the same then it should take prioity.
* formatting
* hide 0 index
2024-11-29 19:10:02 +02:00
Variable
7f4c7a6bf1
Grid patch ( #1142 )
...
* fix second grid not *shown* removed when first grid has default values.
* Make next added grid twice the previous size, and with a different color
* Formatting
2024-11-28 22:02:13 +02:00
HuanWuCode
41ea287df4
Update Import.gd ( #1121 )
2024-11-27 17:01:00 +02:00
Emmanouil Papadeas
a3e372c5d8
[skip ci] Update CHANGELOG.md
2024-11-26 14:01:45 +02:00
Variable
6224d06428
Allow multiple Grids ( #1122 )
...
* Allow upto 10 grids
* Fixed more stuff
* fixed a bug
* formatting
* removed some left over stuff
* linting
* formatting and a bugfix
2024-11-25 15:57:13 +02:00
Vovkiv
6459151549
[skip ci] [linux] Enhancements for desktop file. ( #1140 )
...
Co-authored-by: volkov <volkovissocool@gmail.com>
2024-11-24 14:38:55 +02:00
Variable
fe6efb0f1d
fixed recorder label not updating when project is changed ( #1139 )
2024-11-24 14:37:02 +02:00
Emmanouil Papadeas
8b1367494d
Ensure that the swatches get deleted when the user removes all palettes
2024-11-23 17:54:28 +02:00
Emmanouil Papadeas
01b55aca07
Fix crash when using indexed mode without a palette
2024-11-23 14:17:41 +02:00
Emmanouil Papadeas
5f53a3eb7b
Fix crash when Pixelorama starts without a palette
2024-11-23 14:17:27 +02:00
Emmanouil Papadeas
658477ed4b
Sort system font names by alphabetical order
2024-11-23 01:21:22 +02:00
Emmanouil Papadeas
3fb8484ac5
Use Control + mouse wheel to increase the size of the text tool
2024-11-23 01:00:49 +02:00
Emmanouil Papadeas
0484b1012f
Fix Delete button and fill selection mode of the bucket tool not working with indexed mode
2024-11-23 00:58:34 +02:00
Emmanouil Papadeas
b87a8e2ab8
Fix cel copying not working with indexed mode
2024-11-22 21:00:38 +02:00
Emmanouil Papadeas
e6c4a72158
Fix crash when using indexed mode and the palette has empty swatches between colors
2024-11-22 20:47:38 +02:00
Emmanouil Papadeas
1dcb696c35
Use texelFetch instead of texture for indexed mode shaders
...
Fixes various weird issues when palettes have empty slots, and removes unnecessary calculations.
2024-11-22 20:47:05 +02:00
Emmanouil Papadeas
d580523c6e
Revert "Slightly optimize IndexedToRGB.gdshader"
...
This reverts commit 7cf87ac142
.
2024-11-22 18:29:27 +02:00
Emmanouil Papadeas
11da07b9ac
Hide the color mode submenu when selecting an item
2024-11-22 18:02:36 +02:00
Emmanouil Papadeas
7cf87ac142
Slightly optimize IndexedToRGB.gdshader
...
Multiply the index by 255.0 only once, instead of dividing and multiplying it again
2024-11-22 18:01:29 +02:00
Emmanouil Papadeas
bd7d3b19cc
Add a crop_image boolean parameter to Palette.convert_to_image()
...
Fixes some issues with the Palettize effect where the output would be different if the palette size changed and empty swatches were added, even if the colors themselves stayed the same.
2024-11-22 17:56:39 +02:00
Emmanouil Papadeas
996a234d0d
Call Palettes.current_palette_set_color()
immediately when changing the color of a swatch
2024-11-22 15:26:30 +02:00
Emmanouil Papadeas
77f6bcf07b
Fix Palette.convert_to_image()
storing wrong colors in the image
...
Similar fix to #1108 .
2024-11-22 15:07:16 +02:00
Emmanouil Papadeas
fede2d8e6f
Fix undo/redo not working if the cursor is over the timeline
2024-11-22 02:56:57 +02:00
Emmanouil Papadeas
d0ecf3b03d
Center diagonal symmetry guides when initializing a new project
...
The guides appear centered, but the symmetry itself is not working properly yet
2024-11-21 16:33:19 +02:00
Emmanouil Papadeas
3d65e48c92
Add backend for diagonal mirror buttons
...
The buttons are not yet visible
2024-11-21 12:48:52 +02:00
Emmanouil Papadeas
aa1731b701
Initial work on diagonal symmetry guides
...
Still no buttons yet, and they cannot be moved yet.
2024-11-21 04:00:40 +02:00
Emmanouil Papadeas
558140b309
Add partial logic for diagonal mirroring
...
Still WIP, no buttons and guides exposed yet.
2024-11-21 03:25:41 +02:00
Emmanouil Papadeas
849b815562
Further simplify mirror_array()
2024-11-21 02:21:11 +02:00
Emmanouil Papadeas
3615ce087c
Reduce duplicated code by calling mirror_array
by tools less times
2024-11-21 02:15:50 +02:00