* Better Animate System
* checkbutton to checkbox
* fixed value and saturation sliders being divided by 360 (when they should be divided by 100)
* minor code cleanup
* moved frame index code to ImageEffect.gd
* code cleanup
* more cleanup
* preview animation is now possible
* fixing things
* only hide when affect == FRAME
* formatting
* formatting
* formatting
* renamed Animate.png and a minor improvement
* removed unintentional changes
And fix issue where the clone, remove and reverse frames always only affected the selected frames and not the frame where the right click occurred (bug introduced some commits ago, it's not present in v0.11).
The frame number digit count is now 4, so for example exported files are being named as "name_0001.png", "name_0002.png", ... "name_0010.png" and so on. The tag name is now not included in the file name by default.
* Duplicated frames
* Added Clone Tag feature
* fix remaining tag issues
* Update AnimationTimeline.gd
formatting
* formatting
* formatting
* add icon and other remaining stuff
* formatting
* formatting
* Update AnimationTimeline.gd
* Update AnimationTimeline.gd
* some bug fixes
* some bug fixes
* make empty tags appear as (Untitled)
* linting
* Delete copy_frame.png
* Delete copy_tag.png
* Add files via upload
* removed separate button and use tag button
* UI improvements to
"Paste content from tag"
* remove some lines that appeared
during resolving conflicts
* Update AnimationTimeline.gd
* moved paste tag code to it's own script
to reduce lines to 1000 in animation timeline.gd
* formatting
* Add files via upload
* test lint disabling
* Update AnimationTimeline.gd
* increase max file lines to 2000
* Removed accidental changes by commit:.....
1902938b98
(Due to my bad habit of dragging and dropping files instead of using git)
This is useful for users that do not have a mouse wheel, such as touchscreen users. Changing themes also changes the theme for the frame buttons automatically as well.
* Tilemode selections
* Selection TileMode
* Fixed some bugs with the ORIGINAL tile mode
Image brushes needed to be adjusted
* remove behaviour checkbutton
* fixed remaining things
* formating
* formatting
* formatting
* formatting
* fix crash on rotating image
* Fix Color getting transparent on double chicking
same swatch twice
* typo
* typo
* Update RotateImage.gd
* Use sheckbox instead of option button
* make checkbox directly under select menu
Seems to produce the same result as GIMP's Posterize color filter. Should be useful for reducing the colors of an image, and it could work together with 3D lighting. Thanks to https://godotshaders.com/shader/color-reduction-and-dither/ for the shader.
On large canvases (like 4096x4096), simply moving the mouse around was laggy. It turns out that texture_to_draw = current_cels[i].image_texture was causing the lag, but I'm not sure why. It could be that texture_to_draw was a Texture and not an ImageTexture.
There is still some room for optimization, both the second canvas and canvas preview are being drawn on _input(), which is unnecessary.
This should save some time on initial loading, but it introduces a slight loading time when opening the scale or rotate dialog for the first time in a session
* Implement 3D layers
* Remove unneeded files
* Fix bug where a single hidden layer would ignore all of the layers on top when exporting
* Fix pxo loading
* Remove junk nodes from 3DShapeEdit
Seems like they were created when I copied from the old 3D Options.tscn panel to the new 3D Shape Edit tool.
* Make light gizmos half the size, and hide gizmos when rotating
* Fix crash when using the 3D shape edit tool on a group layer
* Remove unneeded code in Canvas.gd
* Add torus in the Cel3DObject.Type enumerator
Torus isn't currently supported in Godot 3.5, but it is in 3.6 and 4.0, so this is just future-proofing. May break compatibility with .pxo files that were exported with 3D layers before this change.
* Toggle 3D object visibility
* Change texts and some variable names
* Fill translation strings
* Fix crash on group blending, and make the code in Export.blend_layers() more general
* Fix errors when attempting to draw on a 3D cel
Can occur when multiple cels are selected, some of them 3D and some of them pixel
* Make scene properties and objects be per-cel instead of per-layer
Breaks compatibility with previous .pxo files that had 3D layers. Also introduces serialize() and deserialize() methods to BaseCel
* Use if not layer is get_script() in GroupLayer.blend_children()
* Flip the condition in GroupLayer.blend_children()
* Fix bug where locked/invisible layers could get drawn
Regression from c2f6bf0f3f
* Move gizmo code to 3DShapeEdit's draw_start(), move some undo/redo logic to 3DShapeEdit
* Move all of the undo/redo code to 3DShapeEdit, simplify code in Cel3D
* Store Cel3D image data to pxo, for easy usage by external software
This makes importing projects with 3D layers to other software, such as Godot using godot_pixelorama_importer easier.
* Make the linter happy
* Fix bug where the previously selected object would remain selected when it got removed with undo
Also fixes a bug with the inconsistent behavior caused by resizing a selection with gizmos without pressing Shift, while the keep ratio button was pressed.
For some reason, cel_texture.texture.get_data() seemed to cause a segmentation fault, and then a crash, when the image size was large. Also added some extra static typing to the drag and drop methods, but they are unrelated to the crash.
* Added intial crop tool
* [skip ci] Removed unneeeded LINE_WIDTH constant from CropRect
* Added DimensionsLabel
* Cleaned up CropRect._draw
* Hide the CropRect after switching to a different tool
* Sets the crop values to the entire canvas size on setup
* [skip ci] Added crop tool tooltip
* Made Crop tools synced with eachother by placing the crop settings on CropRect
* Added new modes, refactored, added rule of thirds lines and darkened background
* [skip ci] reset optimization
* Renames
* [skip ci] Tweaked the darkened background
* Fixed bug with top/bottom/left/right sliders after rect refactor
* Changing width/height on locked aspect ratio bug
* Aspect ratio sliders rounding/setting a min of 1 px height/width
* Fixed bugs with drawing the crop rect, especially with locked aspect ratio
* Save the mode to config_cache
* Added size lock and renamed mode
* Added tooltip for size lock. Not sure if I did the translation file right
* removed signal that wasn't used
* Formatting
* Removed old TODO comment from one of my previous PRs that isn't true anymore
* Fixed definition order for linter
* Changed locked size modes moving to offset by @Variable-ind, reordered methods
---------
Co-authored-by: MrTriPie <MrTriPie>
* Image bruch now obeys dynamics as well
* Added a signal that resets dynamics
* formatting
* change uncheck.png
* added preview for pressure
* Added the requested changes
* Code Improvements to Perspective editor
* formatting
* fixed a bug
* Some drastic changes
* Delete src/UI/Tools directory
* Delete src/UI/UI/PerspectiveEditor directory
* Some drastic changes
* i messed up so here's the fix
* Added easy movement and rotation
* formatting
* useless script
* fix some things and add tracker disabler
* formatting
* fix incorrect length on redo
* remove useless code
* Added Perspective Editor
* removed unintended changes
* Removed unintended changes
* removed un-intended changes
* Delete Axes.tscn
* Delete Axis.gd
* Removed MouseGuides from editor
I will add them separately
* Added MouseGuides
* Some changes
* Fixed some things
* added mouse guide
* make MouseGuides remember last setting
* don't move if dialog is open
* Dont move tracker guides if dialog is open
* UI improvement to editor
* Update VanishingPoint.gd
* UI Improvement
* Minor Color Improvements
* fixed a bug
This was causing a crash
* Some UI Changes
* Improve UI some more
* fix typo
* Added Undo/Redo and improved UI
* Formatting
* formatting
* formatting
* formatting
* Fix Definition out of order
* Fix Definition out of order
* formatting
* formatting
* fix Duplicate error
* Fix some things
* Some UI Changes
* Some code refinement
* Removed un-needed lines
* Some code refinement
* Some more UI Changes
* Changes, Changes and Changes
* Delete LineButton.gd
* Delete LineButton.tscn
* Delete PerspectiveEditor.gd
* Delete PerspectiveEditor.tscn
* Delete PointCollapseContainer.gd
* Delete PerspectiveLine.tscn
* Delete PerspectiveLine.gd
* Changed boundary separators to ColorRects
* make the guide update more frequently
* make default color have full alpha
* Dim the boundaries based on luminance
* typo
* Formatting
* Formatting
* formatting i forgot to do
* Delete VanishingPoint.gd
* Delete VanishingPoint.tscn
* Fixed rouge collapsible container
---------
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
Have only two shaders, one for simple gradient and the other for dithered gradient generation. The gradient shape gets passed as a uniform to the shader. Gradients can now get repeated, and the size option for linear gradients is back.
Gradients are no longer limited to two colors, but can now instead have as many as we want, with each color having its own offset. Step gradients have now been removed; to generate the same effect, you can now generate a linear gradient with constant interpolation. Cubic interpolation in gradients is now also possible.
The dithering shaders were by far the biggest challenge and they had to be re-written in order for them to support multiple colors, with each one having a difference offset. I have noticed that some colors may disappear when Constant interpolation is used, though, so it can be buggy sometimes. Thanks to https://godotshaders.com/shader/dither-gradient-shader/ for the reference.
ValueSliders are now also used in the gradient window.