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

194 commits

Author SHA1 Message Date
OverloadedOrama ba8d01333e Changed hint_tooltips for the tool buttons, they now change based on selected keybindings 2020-04-12 00:08:45 +03:00
OverloadedOrama d0c4fbc6eb Made some UI changes to the tool options 2020-04-11 18:45:32 +03:00
OverloadedOrama 3f1c81ac13 Fixed crash when creating a new image and a layer had opacity less than 100%
Caused in CreateNewImage.gd, Global.current_layer = 0 should be under Global.canvas gets set to a new canvas, and after its _ready() method gets executed. The crash occurred when a layer above 0 had transparency less than 100, and a new image was created. _on_OpacitySlider_value_changed() in AnimationTimeline.gd was executed on the old canvas right before it was destroyed, while Global.layers had been cleared.

Also removed _on_OpacitySlider_value_changed() from Main.gd, it served no purpose there.
2020-04-11 05:36:51 +03:00
novhack 237b8c1507 Move open/save related code to a separate file. 2020-04-09 22:54:05 +02:00
novhack e6233a37d5 Add shortcuts binding to preferences. 2020-04-08 00:57:37 +02:00
OverloadedOrama 6056ff4857 Changed which tool options are visible for when each tool is selected 2020-04-08 00:43:43 +03:00
OverloadedOrama 83188a54d9 When the palette, outline and rotate image dialogs are open, the user can't zoom in the canvas anymore. 2020-04-07 18:13:35 +03:00
OverloadedOrama f5ab5c3987 Frame tags are saved in .pxos
And are also cleared on clear_canvases()
2020-04-07 00:23:30 +03:00
OverloadedOrama 4bfe199cf0 Changed default and min window sizes
The new default window size is 1280x720, and the new minimum window size is 1024x576.
2020-04-05 00:45:19 +03:00
OverloadedOrama 30e8522677 Set Global.saved = true when creating a new image 2020-04-02 15:28:47 +03:00
luiq54 dee0d0696d Add WarningDialog for unsaved Image before creating a new Image 2020-04-02 15:26:26 +05:30
OverloadedOrama e072b95727 Pattern filling - Partially addresses #130
If the user chooses a brush that is not the pixel or a circle brush and uses the bucket tool, the brush image is used as a pattern that fills the area.
2020-03-28 05:15:09 +02:00
OverloadedOrama 61c4ea7aa1 Major UI changes in Main.tscn
More changes will happen
2020-03-27 03:40:23 +02:00
OverloadedOrama d974d3f76a Implemented Esperanto 2020-03-25 04:42:03 +02:00
novhack 169efa29d5 Replace ExportSprites with a new ExportDialog. 2020-03-23 23:09:37 +01:00
OverloadedOrama a60efccbfd Added a boolean to check if new frames will be linked and an array of linked frames to Global.layers
This doesn't add any new functionality right now
2020-03-14 21:40:10 +02:00
Marco 54ed08357d LineEdit release focus on Enter key pressed 2020-03-13 19:51:39 +01:00
OverloadedOrama 550da1e961 Can't delete and apply effects to locked layers
By effects I mean the selections of the Image menu
2020-03-10 01:42:50 +02:00
OverloadedOrama 87b22e7d6d Fixed crash when loading a .pxo file from an earlier version 2020-03-09 21:22:25 +02:00
OverloadedOrama 7a008cfc3f Implemented locking/unlocking layers
When a layer is locked, no changes can be made to it.
2020-03-09 03:26:13 +02:00
OverloadedOrama 1e5c674673 Fixed spacing between some comments 2020-03-09 02:17:49 +02:00
OverloadedOrama 0619d0e1ad Opening and saving .pxo file should now work
This should be all of the functionality restored. This commit makes the branch stable, in theory.
2020-03-07 16:43:28 +02:00
OverloadedOrama 2f07259389 Importing PNGs should now work 2020-03-07 16:43:27 +02:00
OverloadedOrama 18356d4408 UndoRedo and Image effects work per layer
Basically just replaced Global.canvas.current_layer_index with Global.current_layer
2020-03-07 16:43:23 +02:00
OverloadedOrama 60aed9efba Use setter method for layers to update the UI
Instead of updating it in undo and redo methods
2020-03-07 16:43:22 +02:00
OverloadedOrama a2893e1c1c Store layer visibility on Global.layers instead
This way, toggling visibility in a layers works for all frames in that layer.
2020-03-07 16:43:19 +02:00
OverloadedOrama 953d002d91 [EXPERIMENTAL] Re-making the timeline
Trying to merge layers into the timeline, and eventually add more features like "share layer with all frames", among others. THIS IS NOT FINISHED, IT WILL *NOT* WORK PROPERLY. Once it is finished, this branch will be merged onto master.

So far only add layer and add frame work, and even they may have some issues. Undoing also does not work properly yet.

The UI is also not finished, as it currently has problems with the scroll containers.
2020-03-07 16:43:17 +02:00
OverloadedOrama 5a44f3f4d5 Use a different dialog for when quitting while there is unsaved progress
It now also works when quitting from File > Quit (or Control + Q)
2020-02-23 02:11:52 +02:00
OverloadedOrama 105d612fcd Changed quit message when there is unsaved progress
Also, when saving on quit, Pixelorama now actually quits after the user saves.
2020-02-23 00:52:51 +02:00
OverloadedOrama 40d1da66c8 Add "(*)" to the window title when file is not saved 2020-02-22 17:32:16 +02:00
OverloadedOrama eab3669eb2 Use new window_title variable to change window's title
Will be used later to get the current window title. Godot doesn't seem to have a built-in way to get the window's title.
2020-02-22 17:21:52 +02:00
OverloadedOrama 52fa460876 Saved is false after any action and is true at the beginning
Also hide QuitDialog after saving
2020-02-22 17:14:32 +02:00
Schweini07 3ea3bd7b40
Ask for Confirmation when Pixelorama is about to quit and the Sprite is unsaved (#165) 2020-02-22 17:02:56 +02:00
OverloadedOrama f0c0176080 Fixed issue where splash screen was appearing even though it should not 2020-02-19 01:13:29 +02:00
OverloadedOrama b656d4976b Commit from which v0.6.2 will be build on - hopefully 2020-02-17 16:38:24 +02:00
OverloadedOrama 30ce04b7f3 Set SaveSprite's current path when opening a project 2020-02-16 18:18:12 +02:00
OverloadedOrama 5a5484d4e0 Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama 2020-02-16 15:19:43 +02:00
OverloadedOrama bc734658cd Use Global.animation_timeline to toggle timeline's visibility 2020-02-16 15:19:01 +02:00
Michael Alexsander 736edf002e Make opening a project set the save path 2020-02-15 21:12:17 -03:00
Manolis Papadeas 3b570ccf82
Merge pull request #156 from YeldhamDev/colorpicker_presets_hide
Hide presets in ColorPickers
2020-02-15 15:09:03 +02:00
Michael Alexsander f808614384 Hide presets in ColorPickers 2020-02-15 02:34:42 -03:00
Michael Alexsander 0a9da7422d Add option to hide the animation timeline 2020-02-14 22:30:40 -03:00
OverloadedOrama ef9e906f19 Added Latvian translation
Closes #150
2020-02-11 16:03:25 +02:00
OverloadedOrama 8ff917111c Changes to better follow GDScript style guide
Nothing new is being added in this commit, just code re-ordering & re-naming to better follow the recommended GDScript style guide.
http://docs.godotengine.org/en/3.2/getting_started/scripting/gdscript/gdscript_styleguide.html

And

https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/
2020-02-11 00:06:24 +02:00
OverloadedOrama a6d129526c Fixed issue where Brushes and Palettes wouldn't load if you opened Pixelorama from a file
It now uses "OS.get_executable_path().get_base_dir()" to find the root directory of Pixelorama, instead of just "."
2020-02-10 01:23:33 +02:00
OverloadedOrama 9e7a3059f2 Opening .pxo files directly with Pixelorama is now also supported
Also added "-> void" to the methods that did not already have it
2020-02-09 18:06:03 +02:00
OverloadedOrama 93833ba06a Added Chinese Simplified 2020-02-08 00:10:33 +02:00
OverloadedOrama 155b77b514 Moved Rotate Image selection up, fixed some warnings
And minor UI changes, like changing default cursor shape to pointing hand when hovering on some UI elements in RotateImage.tscn
2020-02-04 18:29:34 +02:00
Manolis Papadeas c4229e1759
Merge pull request #143 from azagaya/master
Added 2 rotation algorithms and popup for rotating current layer
2020-02-04 18:14:32 +02:00
azagaya 8fd8a9db08 Added functions to rotate image, and added gui for the same purpose 2020-01-26 19:50:40 -03:00