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

2 commits

Author SHA1 Message Date
imgbot[bot] 21a474d30d
[ImgBot] Optimize images (#1042)
*Total -- 154.83kb -> 90.50kb (41.55%)

/assets/graphics/splash_screen/artworks/nighters.png -- 4.28kb -> 2.08kb (51.54%)
/assets/graphics/splash.png -- 14.43kb -> 7.08kb (50.91%)
/assets/graphics/icons/icon.png -- 1.00kb -> 0.49kb (50.88%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0005.png -- 4.24kb -> 2.16kb (48.99%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0006.png -- 4.23kb -> 2.17kb (48.69%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0007.png -- 4.33kb -> 2.23kb (48.34%)
/assets/graphics/splash_screen/artworks/kalpar.png -- 14.26kb -> 7.38kb (48.28%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0009.png -- 4.18kb -> 2.17kb (48.09%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0008.png -- 4.28kb -> 2.22kb (48.09%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0004.png -- 4.17kb -> 2.17kb (47.95%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0003.png -- 4.19kb -> 2.18kb (47.9%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0010.png -- 4.00kb -> 2.10kb (47.52%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0013.png -- 4.17kb -> 2.20kb (47.27%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0002.png -- 4.28kb -> 2.27kb (47.04%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0001.png -- 4.29kb -> 2.28kb (46.96%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0011.png -- 3.96kb -> 2.10kb (46.87%)
/assets/graphics/splash_screen/artworks/roroto/roroto_0012.png -- 3.99kb -> 2.12kb (46.85%)
/assets/graphics/icons/android_main_icon.png -- 0.75kb -> 0.43kb (43.19%)
/assets/graphics/splash_screen/artworks/wishdream.png -- 26.76kb -> 17.06kb (36.27%)
/assets/graphics/splash_screen/artworks/uch.png -- 31.38kb -> 20.45kb (34.84%)
/assets/graphics/misc/value_arrow_right.svg -- 0.63kb -> 0.50kb (20.46%)
/assets/graphics/misc/animate.png -- 0.94kb -> 0.75kb (20.23%)
/addons/dockable_container/icon.svg -- 0.96kb -> 0.82kb (14.71%)
/assets/graphics/misc/value_arrow_up.svg -- 0.42kb -> 0.42kb (1.38%)
/assets/graphics/misc/move_up_arrow.svg -- 0.42kb -> 0.42kb (1.38%)
/assets/graphics/gizmos/omni_light.svg -- 0.30kb -> 0.30kb (0.98%)
/addons/keychain/assets/shortcut.svg -- 0.37kb -> 0.37kb (0.79%)
/assets/graphics/gizmos/spot_light.svg -- 0.38kb -> 0.38kb (0.77%)
/addons/keychain/assets/add.svg -- 0.15kb -> 0.14kb (0.67%)
/assets/graphics/misc/close.svg -- 0.18kb -> 0.18kb (0.53%)
/addons/keychain/assets/edit.svg -- 0.19kb -> 0.19kb (0.51%)
/addons/keychain/assets/folder.svg -- 0.22kb -> 0.22kb (0.44%)
/addons/keychain/assets/mouse.svg -- 0.23kb -> 0.23kb (0.43%)
/addons/keychain/assets/close.svg -- 0.28kb -> 0.28kb (0.35%)
/assets/graphics/misc/external_link.svg -- 0.28kb -> 0.28kb (0.35%)
/assets/graphics/misc/heart.svg -- 0.31kb -> 0.31kb (0.31%)
/addons/keychain/assets/keyboard_physical.svg -- 0.45kb -> 0.45kb (0.22%)
/addons/keychain/assets/keyboard.svg -- 0.94kb -> 0.94kb (0.1%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-07-26 17:01:04 +03:00
Emmanouil Papadeas 91aea32864
Implement 3D layers (#840)
* 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
2023-03-31 21:58:56 +03:00