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

1216 commits

Author SHA1 Message Date
Emmanouil Papadeas fc695a038e Remove Global.canvas from the canvas' children 2024-10-11 14:08:43 +03:00
Emmanouil Papadeas bd68f3d20b [skip ci] Add some strings to Translations.pot 2024-10-11 13:08:29 +03:00
Emmanouil Papadeas ffc98a4b7f Remove confusing text from the tooltips of the play animation buttons
Addresses #1114
2024-10-10 16:33:50 +03:00
Emmanouil Papadeas 7a3050b5a0 Fix formatting 2024-10-10 15:29:41 +03:00
Emmanouil Papadeas 55325a38a4 Use a Vector2i in Selection.gd when pasting 2024-10-10 15:29:36 +03:00
Emmanouil Papadeas 8802e3ab41 Slightly improve camera zoom and pan touch gestures
Not quite there yet
2024-10-10 15:29:12 +03:00
Emmanouil Papadeas abcf6f5ec6 Remove unneeded Global.current_project in SymmetryGuide 2024-10-10 15:28:46 +03:00
Emmanouil Papadeas 9cf3045bf3 Fix "previous_project" shortcut not doing anything when we are on the first tab 2024-10-10 15:27:45 +03:00
Emmanouil Papadeas 39afb5e15b Add buttons with menus that move the symmetry guides to the center of the canvas, or the view center 2024-10-10 15:27:06 +03:00
Emmanouil Papadeas 2f24508dea Add a new Reset category in the Preferences 2024-10-09 21:20:17 +03:00
Variable b350f436c6
Allow clipping to selection during export (#1113)
* Allow clipping to selection during export

* linting

* removed shader
2024-10-01 20:18:58 +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
OverloadedOrama dbe48a4681 Fix issue where sometimes the camera zoom was not being preserved when switching between projects 2024-09-24 11:59:18 +03:00
Variable 10e457bf26
Set dynamics dialog to correct size after something is made visible … (#1104)
* Set dynamics dialog to correct size after something is made visible or hidden

* use a separate function instead of lambdha
2024-09-20 18:45:06 +03:00
Emmanouil Papadeas 9824aef893 Attempt to fix the preview of the move tool not being aligned to the pixel grid 2024-09-19 00:38:46 +03:00
Variable 51f6816433
Fixed a colorpicker bug (fixed inconsistent raw values) (#1108)
* Fixed a colorpicker bug

* Some changes in the comments

We should probably avoid using "I" in comments, as it's not clear who is speaking, and `##` should only be used for documentation string and not normal comments.

---------

Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-09-18 01:09:37 +03:00
Variable b5ded76654
Stretch mode and expand mode fixes (#1103)
* Set dynamics dialog to correct size after something is made visible or hidden

* fixed aspects of brush buttons

* Fixed wrong stretch mode

* improved rotation brush UI

* Update PaintSelect.tscn

* formatting

* fix all stretch modes

* fix export expand mode

* Fix more Stretch modes

* Fixed Resize canvas transparent checker

* removed an addition

The change: 625fe4cdd1
is moved over to a new pr

* moved some changes to another pr

* Moved some more changes to another pr
2024-09-17 21:38:21 +03:00
Emmanouil Papadeas 52e45b158b Release v1.0.3 2024-09-13 17:02:35 +03:00
Emmanouil Papadeas 8c7594a1c8 Add a failsafe to the previous commit's solution 2024-09-13 01:05:53 +03:00
Emmanouil Papadeas 1e2e5dc431 Fix wrong preview in the gradient dialog when editing the gradient and dithering is enabled 2024-09-13 01:02:48 +03:00
Emmanouil Papadeas 6ad23f8485 Second attempt to fix a visual bug with resize canvas' dialog preview 2024-09-12 21:08:32 +03:00
Emmanouil Papadeas 462a95a5ae Fix visual bug with the preview of the resize canvas dialog 2024-09-12 20:23:18 +03:00
Emmanouil Papadeas 8f6eba3f84 Make the Gaussian blur dialog invisible 2024-09-11 17:01:25 +03:00
Emmanouil Papadeas b962b31568 Make some method names in ExportDialog lowercase
They were named this way due to the naming conventions of Godot 3, but Godot 4 automatically makes these method names be all lowercase. Eventually we should replace all methods in the codebase to be all lowercase.
2024-09-11 16:59:53 +03:00
Emmanouil Papadeas 54068895bc Rename "trim sprite" to "trim images" and add the related strings to Translations.pot
"Trim images" should be a more fitting name for this option, as it's quite common to export multiple images and the use of plural makes it more clear that this option applies to all exported images.
2024-09-11 16:45:16 +03:00
Emmanouil Papadeas f9dd09dc2c Update AboutDialog.gd 2024-09-09 00:52:20 +03:00
Emmanouil Papadeas 321102e8fe Add Gaussian Blur as an image effect 2024-09-08 03:13:55 +03:00
Emmanouil Papadeas b3021ceb67 Add a gaussian blur layer effect 2024-09-08 02:40:28 +03:00
Emmanouil Papadeas 28e143e033 Make the color picker popup in GradientEdit moveable 2024-09-07 17:19:42 +03:00
Emmanouil Papadeas f162f12fbf Save the onion skinning opacity in the config file 2024-09-07 03:59:19 +03:00
Emmanouil Papadeas a0c7dd4527 Optimize the export dialog by caching all of the blended frames
No more slowness when changing the export settings. The only setting that causes the frames to be blended again is changing the layers.
2024-09-05 04:50:36 +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
Variable 167b0d863c
fix wrong stretch mode in cel preview (#1097) 2024-09-02 02:03:39 +03:00
Emmanouil Papadeas 69ce932f1c Add a quality slider to the export dialog when exporting jpeg files 2024-09-01 02:49:13 +03:00
alikin12 1460ba2e89
Set timeline layer and frame header to be fixed on top (#1095) 2024-09-01 02:30:36 +03:00
Variable a7f1486ec3
Index Map (#1093)
* Index Map

* Formatting

* improve description a bit.
2024-08-31 02:53:27 +03:00
Donte 4fa8981590
Add onion skinning opacity adjustment (#1091)
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-08-30 22:58:28 +03:00
Vaibhav Kubre 613dd5d7f6
feat: Added option to trim sprites empty area while exporting (#1088)
* feat: Added trim sprite option works like charm

* fix: format issue

* ran working gdformat
2024-08-29 19:07:48 +03:00
alikin12 987366fa8f
Add global layer buttons (#1085) 2024-08-28 02:53:05 +03:00
Emmanouil Papadeas d70ddd72db Release v1.0.2 2024-08-21 16:11:38 +03:00
Emmanouil Papadeas 9be3ba290c Update AboutDialog.gd 2024-08-21 14:30:47 +03:00
Emmanouil Papadeas bdef545727 Fix issue when merging two layers, where if the bottom layer had layer/cel transparency, the transparency would be applied in the content destructively 2024-08-17 02:38:27 +03:00
Emmanouil Papadeas 29f9601d8a Revert "Fix cursor blinking at the edge of canvas (#1075)"
This reverts commit 77f6860f7a.
2024-08-17 00:59:48 +03:00
Emmanouil Papadeas 410f06435c Fix issue where color sliders wouldn't be visible during startup, if the color options button was expanded 2024-08-16 19:29:32 +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 19574bca7d Implement the ability to save with blended images with native file dialogs
Fixes #1058
2024-08-16 13:59:14 +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 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 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
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 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
Emmanouil Papadeas 68be6ac106 Allow editing of non-pixel cel properties 2024-08-11 15:03:33 +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
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 699c9cda87 Fix the name of the new image effect 2024-08-05 13:18:12 +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 a3d7725a44 Fix popups appearing in wrong places when single window mode is disabled 2024-08-03 22:36:05 +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 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 95b5102394 Enable exclusive and disable popup_window flags of all the dialogs
Closes #1061, fixes issue where when Pixelorama's window loses focus, the dialogs disappeared, but the dialogs can no longer close when pressing outside of them.
2024-07-31 22:49:30 +03:00
Emmanouil Papadeas 8e90271a64 Disable show hidden files by default in the export dialog
Maybe that is what caused #1060?
2024-07-31 21:41:18 +03:00
Emmanouil Papadeas af81154cbf Fix a crash with Godot 4.3 2024-07-31 20:55:02 +03:00
Emmanouil Papadeas 9c7effdba3 Optimize previews of the ellipse selection and the shape tools
Before this commit, when these tools were being used on large areas, the software would start being very slow due to the polyline drawing. Now it simply draws an image.
TODO:
- Optimize the lasso, pixel and polygon select tools
- Mirror the previews of ellipse selection and shape tools, for consistency with the lasso, pixel and polygon select tools
- Perhaps somehow remove Previews.gd since its work is even more limited now.
2024-07-31 18:05:22 +03:00
Emmanouil Papadeas c2fc70e436 Fix bug when selecting multiple layers and their opacity changes immediately by the opacity slider 2024-07-30 21:25:15 +03:00
Emmanouil Papadeas b2bdfbeb06 Fix a signal warning in import tag dialog 2024-07-30 20:27:15 +03:00
Variable 9ba556282a
Import Animation dialogue improvements (#1041)
* splash ambient

* change fill to radial

* make import tag work with frame button

* hide Import tag dialog when clicking outside

* Icon shows the first frame of a tag

* formatting
2024-07-30 20:22:22 +03:00
Variable 1d82bd95e5
Make clipping masks work with Move tool and offset image dialog (#1057)
* made clipping masks work with offset image dialog

* move tool now works with clipping masks
2024-07-30 19:29:55 +03:00
nicejammer ce6a48a020
Add missing translation strings and fix broken ones (#1051)
Added missing strings to Translations.pot and fixed a few ones that were broken either because of missing periods, differences in capitalization or because of trailing newlines (the latter seems to get automatically trimmed in tooltips during runtime)
2024-07-29 02:26:51 +03:00
Emmanouil Papadeas 41e21cd9b0 [skip ci] Delete extension_repository.md 2024-07-28 02:29:48 +03:00
Variable 76ffe7bb41
add more info to references pannel (#1049) 2024-07-28 02:23:30 +03:00
Variable 7c2d237792
fix some things in ExtensionExplorer (#1047)
* fix some things

* treat any string as a comment (unless it starts with a link)
2024-07-27 17:52:37 +03:00
Emmanouil Papadeas 94abe80295 Update changelog url 2024-07-27 13:20:18 +03:00
Emmanouil Papadeas 5eaf81aeae [skip ci] Add a Steam achievement for creating a 3D layer 2024-07-27 13:00:16 +03:00
Emmanouil Papadeas 40fb5894b0 Update AboutDialog.gd 2024-07-26 18:19:52 +03:00
Variable 50858be854
Add readme button to extensions (if they posess one) (#1045) 2024-07-26 17:00:21 +03:00
nicejammer 9196995697
Fix certain strings not updating when language changes (#1043)
A few buttons and labels in Pixelorama weren't getting updated when changing languages, they'd just remain at the language the program started up with or only update when changing projects.

This fixes that and ensures they get updated as soon as the user changes languages.
2024-07-26 16:10:56 +03:00
Emmanouil Papadeas 96a1d2770d Call Global.dialog_open() on the tag properties popup 2024-07-23 22:27:29 +03:00
Emmanouil Papadeas ab9a5aa0fd Fix bug where the ValueSlider text color wasn't getting updated when its enabled parameter was toggled 2024-07-23 18:40:35 +03:00
Emmanouil Papadeas 785f0eccd4 Fix issue where the minimum size of the color shapes of the color picker panel gets reset when the theme changes 2024-07-23 18:31:24 +03:00
Emmanouil Papadeas e485633cb9 Make the color picker panel have slightly less empty space on the bottom 2024-07-23 18:22:47 +03:00
Emmanouil Papadeas 899fa521eb Fix crash when adding a new layer to a collapsed group layer 2024-07-23 17:58:19 +03:00
Emmanouil Papadeas c6d24d458e Replace some Vector2s with Vector2is 2024-07-23 13:51:02 +03:00
Variable 75bdc6d9be
Added some ambience to Splash backgrounds (#1039)
* splash ambient

* change fill to radial
2024-07-22 14:56:03 +03:00
Emmanouil Papadeas f84f15b8ae Experiment with Steam achievements, using a new SteamManager class
This has no effect on non-Steam builds. Steam achievements are mostly for fun, but can also be educational because they can let users know of certain features and functionalities. It's using the GodotSteam GDExtension, but because I do not want to bloat the GitHub repository with things that are not needed for most builds, I decided not to include the GDExtension files, and instead check if the `Steam` class exists in `ClassDB`. The new SteamManager class pretty much does nothing on non-Steam builds, so do not worry about bloat.

In the future we could even take advantage of more of Steam's features, such as Cloud storage for pxo files.
2024-07-22 03:11:29 +03:00
Emmanouil Papadeas d58da13493 Bump version to v1.0-rc1 2024-07-22 01:00:25 +03:00
Emmanouil Papadeas 774786ab44 Remove unused variables 2024-07-21 21:17:18 +03:00
Emmanouil Papadeas b8af094529 Add the 1.0 splash screen artworks 2024-07-21 03:23:25 +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 6b23c51e12 Fix some typos 2024-07-19 19:41:31 +03:00
Emmanouil Papadeas 64ced35bac Move the dynamics-related code into a new script
This also fixes the dynamics previews not working, as `_input()` is now handled locally in the dynamics popup panel.
2024-07-19 19:39:13 +03:00
Emmanouil Papadeas 506004b2a3 Fix checker background not appearing in the drop shadow dialog 2024-07-19 19:23:46 +03:00
Emmanouil Papadeas 4bc4ed1299 Change the extension repository link 2024-07-16 17:33:31 +03:00
Emmanouil Papadeas 3ea0ef0b5a Make the size of the text of rulers and guides be affected by the font size 2024-07-15 00:31:52 +03:00