Emmanouil Papadeas
428e5edb8f
Add a text tool ( #1134 )
...
* Initial port of the text tool to Godot 4
* Change font (WIP)
* Add antialiasing option and remove some old unneeded lines
* Remove outline code
* Add horizontal alignment and update the text edit font size
* Improve the text edit
* Don't activate tools while typing
* Format
* Give input priority to the text edit so the key X and shortcuts such as control-z work in the text edit
* Add style settings for bold and italic
* Fix text going blank when changing font
* Use `font.draw_multiline_string()`
* Change the move behavior of the text tool, add confirm and cancel buttons
* Compress images on undo/redo
* Fix text position
2024-11-19 01:20:34 +02:00
Emmanouil Papadeas
dec698024c
Implement selection expanding and shrinking via the Select menu
2024-11-14 17:59:53 +02:00
Emmanouil Papadeas
203340b3a1
If the selected font index is out of bounds, fall back to Roboto
2024-10-17 16:58:15 +03:00
Emmanouil Papadeas
fd714d04df
Update the ExtensionsAPI to handle fonts
2024-10-17 16:52:42 +03:00
Emmanouil Papadeas
91f0b26245
Change the font of the interface from the properties
2024-10-17 14:41:43 +03:00
Emmanouil Papadeas
120bd9a7df
Use American English spelling for "Center Canvas" to make it more consistent with the rest of the application
2024-10-17 13:46:18 +03:00
Variable
d894e9db86
Added Centre Canvas Option ( #1123 )
...
* add a centre frame option
* moved code to view menu
* restore left over stuff
* fix typo
2024-10-16 16:30:30 +03:00
Variable
3863cbaee7
Add a preference to share options between tools ( #1120 )
...
* Add share config button
* fill parameter now saves with curve tool
* rename _fill to _fill_inside for sync consistency (fill in pencil and shape tools basically represent the same thing)
* add icon
* Move the option to the preferences
* Add string to Translations.pot
* Re-introduce `is_syncing`
---------
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-10-16 16:00:20 +03:00
Emmanouil Papadeas
1ed52903b3
Implement the ability to change the font of a 3D text
...
This code will also be useful for the text tool
2024-10-12 16:30:16 +03:00
Emmanouil Papadeas
dcd93b4366
Remove Global.open_sprites_dialog
and Global.save_sprites_dialog
.
2024-10-11 17:12:55 +03:00
Emmanouil Papadeas
b9bf8290b0
Remove Global.animation_timer
2024-10-11 16:38:35 +03:00
Emmanouil Papadeas
dddcfed3c4
Add a new "CanvasRulers" node group for the canvas rulers
2024-10-11 16:31:18 +03:00
Emmanouil Papadeas
d05787d6ef
Add a new "CanvasPreviews" node group for the canvas previews
2024-10-11 16:24:44 +03:00
Emmanouil Papadeas
b79ce0ae15
Add a new "CanvasCameras" node group for the canvas cameras
2024-10-11 14:44:21 +03:00
Variable
564b199fa9
Add hotkeys to switch between tabs ( #1109 )
...
* Added hotkey to switch tab
* Linting
2024-09-29 00:15:37 +03:00
Emmanouil Papadeas
321102e8fe
Add Gaussian Blur as an image effect
2024-09-08 03:13:55 +03:00
Variable
4a7f7cbde5
Added a way to modify shader textures ( #1096 )
...
* experimental support for texture changes
* fix some typos
* formatting + some improvements
* Some final touches, i think it's ready now
* moved a function to the shaderloader
* formatting
* add a void
2024-09-03 03:38:56 +03:00
Emmanouil Papadeas
d531e9ace8
Create a new ShaderLoader class to move some code away from Global
2024-08-16 18:43:25 +03:00
Emmanouil Papadeas
b0aabe4e8a
Add a preference to change max undo steps
2024-08-16 14:28:54 +03:00
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
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
699c9cda87
Fix the name of the new image effect
2024-08-05 13:18:12 +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
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
Kiisu_Master
f27d152cb3
Add setting for Godots low processor usage mode ( #1056 )
...
* Add setting for Godots low processor usage mode
* Update name and description of low processor usage mode setting in preferences
* Fix a tiny mistake
2024-07-30 19:02:10 +03:00
Emmanouil Papadeas
30dfb6aa58
Try to fix issue when certain languages are set to the OS system locale and some GUI elements are not being translated during startup
...
Only confirmed with Brazilian Portuguese at the moment
2024-07-23 19:34:49 +03:00
Emmanouil Papadeas
d82a40f9f9
Remove Global.main_window
variable
2024-07-21 21:25:03 +03:00
Variable
3df7a67b9b
fix some stuff in extension explorer, and changed (open logs folder) to (open editor data folder) ( #1038 )
2024-07-20 23:09:38 +03:00
Emmanouil Papadeas
f4f0e4047e
Fix gradient map layer effect being purple when it's first created
2024-07-12 14:45:24 +03:00
Emmanouil Papadeas
e0a6727223
If the OS is sandboxed, set Global.use_native_file_dialogs
to true and remove the option entirely from the Preferences
2024-07-03 20:53:01 +03:00
Emmanouil Papadeas
bc26557219
Remove Renderer from the Preferences
...
Not currently needed, as it's not possible to change between OpenGL and Vulkan drivers. We could implement this is https://github.com/godotengine/godot/issues/80565 is fixed.
2024-06-14 17:00:26 +03:00
Emmanouil Papadeas
f3823ef6dd
Replace strings with StringNames in initialize_keychain()
2024-06-11 00:15:36 +03:00
Emmanouil Papadeas
556fc4b467
Remove unused "manage_frame_tags" shortcut
2024-06-04 00:41:27 +03:00
Emmanouil Papadeas
debbbf34d1
Try to fix Pixelorama's locale not loading when the OS locale is not set to English
2024-06-03 15:23:33 +03:00
Emmanouil Papadeas
1c3780c94c
Change the locale by finding the nearest loaded locale instead of looking for a hard match
...
Should fix issues where the OS was returning, for example, "fr" for the system locale, and it was not mapped to "fr_FR".
2024-06-01 23:21:23 +03:00
Emmanouil Papadeas
fecb9b5803
Fix changing the tablet driver on Windows
...
Plus, it should also no longer require a restart
2024-06-01 23:13:50 +03:00
Emmanouil Papadeas
e1a53ed905
Fix alpha lock having the same shortcut as pixel perfect
2024-06-01 00:49:01 +03:00
Emmanouil Papadeas
d8a17abd1d
Use the default Godot 4 version property in project.godot
...
The custom one we used was because Godot 3 has no version property, but this is no longer the case.
2024-05-31 16:01:36 +03:00
Emmanouil Papadeas
d070f8c5f5
Put the effects menu shortcuts under an "Effects" group
2024-05-27 15:32:01 +03:00
Emmanouil Papadeas
a8440b80cc
Rename config file from cache.ini to config.ini
2024-05-16 00:07:38 +03:00
Ivan Kruger
8e9ba696f1
Make default palettes available for clean installs on MacOS ( #1008 )
...
* resolved issue where pixelorama_data folder is to registered on MacOS builds
* Reverted changes to workflows and added Mac Resource directory to search path for palettes
* format Global.gd with gdtoolkit
2024-04-30 14:21:19 +03:00
Emmanouil Papadeas
92e8666da2
Change layers with Control + Up/Down arrow keys
...
We already have Control + Left/Right for changing frames, so it makes sense to have Up/Down for layers
2024-04-10 16:58:04 +03:00
Emmanouil Papadeas
1c9c8bf4e3
Add Palettize and Pixelize effects
...
Pixelize makes the image pixelated, and Palettize maps the color of the input to the nearest color in the selected palette. Useful for limiting color in pixel art and for artistic effects.
2024-04-10 01:20:28 +03:00
Emmanouil Papadeas
8f395b2be7
Create a new Effects menu and move all of the cel-specific effects there, away from the Image menu
...
Also moves Project properties into Image
2024-04-09 01:52:12 +03:00
Emmanouil Papadeas
971fb67db1
When running in headless mode, don't set a custom cursor and don't save window data on exit
2024-04-05 20:36:03 +03:00
Emmanouil Papadeas
0ac7789bf9
Store image data in undo/redo of the move tool, reverts 4f5f37a522
...
This fixes an issue where, if the user moves pixels outside the canvas and then undos, those cut pixels will not be restored.
2024-04-05 18:02:46 +03:00
Emmanouil Papadeas
596c174c92
Add a project properties dialog
...
Allows users to change project name and add custom user data. I was not sure where to put this, so I put it under the Edit menu. It might be a good idea to add a new "Project" menu in the future, and perhaps Scale Image, Resize Canvas and Crop to Content/Selection could be placed there, as they always affect the entire project.
2024-04-05 02:24:47 +03:00
Emmanouil Papadeas
183bee6a0f
Load preferences from the config file before waiting for process_frame
2024-04-02 00:02:20 +03:00
Emmanouil Papadeas
11a1428eef
Add an Apply button to the font size slider in the Preferences, fix display scale not being applied on startup
2024-03-30 01:25:01 +02:00