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

154 commits

Author SHA1 Message Date
Manolis Papadeas 0046856b0f
Merge pull request #197 from sapient-cogbag/xdg-standard
XDG basedir standard on X11 Godot platforms
2020-04-13 01:23:55 +03:00
OverloadedOrama 7824b13335 Changed hint_tooltips from the old string formats to actual sentences
Besides the timeline buttons and color switch button being ready to have their changed shortcuts (when we implement them for these buttons) in their hint tooltips, there is no new functionality. This is merely to make the lives of translators easier.

This is the final commit of weird string IDs being replaced to actual sentences in Translations.pot
2020-04-12 19:50:14 +03:00
sapient_cogbag 516723d125
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama into xdg-standard
Getting ourselves up to date with upstream for easy merge! nya ^.^
2020-04-11 23:38:53 +01:00
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 4c9a58a333 Animation only plays on frames of the same tag
If there are no tags, the animation plays on all frames, as before. Currently no front-end way of toggling this behavior.
2020-04-11 20:10:07 +03:00
sapient_cogbag b2eafc5464
CANT GET THE PROGRAM TO REGISTER THAT WE'RE ON LINUX >:( nyaaaa 2020-04-11 07:58:58 +01:00
sapient_cogbag 1593c5c12b
Set up xdg thing, now for the loader modification nyaa ^.^ 2020-04-11 03:13:35 +01:00
sapient_cogbag 89c125a4a9
started thing 2020-04-10 22:47:06 +01:00
novhack 99f847e732 Add ZSTD compression to save files. Move clear_canvases() to Global.gd 2020-04-10 00:06:24 +02:00
OverloadedOrama 943e20a0de Fixed crash on Linux with layer containers
When the user clicked on a layer container to change its name and then clicked away, the program crashed. This was because the name of the layer was changed (`Global.layers[i][0] = new_name`), and Global.layers_changed() was being called, which removed all of the layer container UI and re-created it.

This is unneeded to happen when only the layer name changes, so I added a boolean to skip the execution of the method.

Oddly enough, the crash was not happening on Windows (at least on my end) and it was working as expected. Godot's output terminal was not showing any error messages, either.
2020-04-06 18:35:54 +03:00
OverloadedOrama 1e9d44fffc You can now delete tags 2020-04-06 01:07:28 +03:00
OverloadedOrama cf55c9167f Changed FrameTagDialog and made it its own scene
The way frames are being added has changed, and now you can modify existing tags too. Deletion will come soon.
2020-04-06 00:51:46 +03:00
Manolis Papadeas f2ed5ade8a
Merge pull request #182 from luiq54/fake_rotsprite
Rotsprite-like Rotation
2020-04-03 20:44:18 +03:00
luiq54 e92b2b3bab Implement fake_rotsprite 2020-04-03 22:27:42 +05:30
OverloadedOrama ce94b9fcc2 Added texture for the onion skinning button for when it's disabled 2020-04-03 15:34:16 +03:00
OverloadedOrama 53338e4310 Basic UI for animation frame tags
You can add tags by right clicking on a cel and selecting "Add Frame Tag". No tag modifying and deletion is implemented yet.

I'm using a different ScrollContainer for the tags, which gets updated everytime the main timeline ScrollContainer gets updated. I hide its sliders from its theme, wish there was a more straightforward way.
2020-04-02 03:29:14 +03:00
OverloadedOrama 61c4ea7aa1 Major UI changes in Main.tscn
More changes will happen
2020-03-27 03:40:23 +02:00
OverloadedOrama 07db587b6c Timeline UI changes
The onion skinning button replaces the old onion skinning area of the timeline, but there's no way right now to change the settings. This will be added in a future commit. More UI changes will soon follow.
2020-03-26 20:56:30 +02:00
OverloadedOrama 278c9facb2 Changed some hint_tooltips
I'm trying to remove all the weird "_HT" strings and replace them with actual sentences instead. This will make it easier for translators
2020-03-26 03:24:25 +02: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
OverloadedOrama 7d12f1fccc Backend implementation of an isometric grid
An attempt to draw an isometric grid. It behaves oddly on non-square canvas sizes, and on some grid sizes. For this reason, I'm not sure if it will be implemented in v0.7.

To test it, set Global.grid_type = Global.Grid_Types.ISOMETRIC
2020-03-12 04:17:48 +02:00
OverloadedOrama 825e06f98a Fixed issue where the remove layer button was not disabled when there was only one layer left 2020-03-11 00:01:12 +02: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 d64b4edb96 Notification labels appear on top of the timeline 2020-03-09 16:59:17 +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 6b73c59a8f Removed some commented code 2020-03-08 22:12:18 +02:00
OverloadedOrama b9b0d3e1b3 Small UI improvement - The visibility icon will remain in a fixed place no matter how long the layer name is. 2020-03-08 21:57:22 +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 4969978f46 Fix issue with frame moving and current_frame not changing
This bug actually originates from before the timeline remake and can be found in v0.6.2 and potentially earlier versions.
2020-03-07 16:43:27 +02:00
OverloadedOrama 2a5dfa7ea2 The selected cel (?) is now pressed, based on current layer and frame
All the other buttons are pressed = false. Also removed some legacy code.
2020-03-07 16:43:26 +02:00
OverloadedOrama 87629fdf2f The selected layer's buttons are now pressed
The unselected layers's buttons are pressed = false
2020-03-07 16:43:26 +02:00
OverloadedOrama 120e47d0f9 Add/remove/move frames should now work
With Undo/Redo. Cloning frames doesn't work yet, will fix shortly.
2020-03-07 16:43:25 +02:00
OverloadedOrama 98e6b0f56b Fix move up/down and merge layers not de-activating when there's only one layer left 2020-03-07 16:43:25 +02:00
OverloadedOrama 4e31c1ed4b Changing layer order works again
Started using a setter method for Global.current_layer
2020-03-07 16:43:24 +02:00
OverloadedOrama 0945a558d2 Fix layer name change
Name change is now saved only if the user presses Enter
2020-03-07 16:43:22 +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 2bfae68755 Implemented Remove Layer - Doesn't work properly yet 2020-03-07 16:43:21 +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 3df9853dda Update the button textures accordingly
Every button will have a texture based on its frame AND its layer. Which means, if the button is on layer 2 and frame 1, its texture will be the contents of frame 1's layer 2 contents.
2020-03-07 16:43:18 +02:00
OverloadedOrama 7d7eccb03f Fixed issues with scrolling
No longer using a GridContainer for the layer and frames.
2020-03-07 16:43:17 +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 b3a8eb6d84 Notification theme is now the same as the selected theme
This makes the letters black on the light and gold themes, and fixes the characters not being rendered issue in Chinese.
2020-03-01 17:56:34 +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
Michael Alexsander 0a9da7422d Add option to hide the animation timeline 2020-02-14 22:30:40 -03:00
OverloadedOrama 543e9d9008 Hide pressure sensitivity settings
Due to complications and priority shifts, tablet pen pressure sensitivity will not be included in v0.6.2
2020-02-14 18:26:03 +02:00
OverloadedOrama f3759d677e Load the image of the cursor once
This should fix some rare crashes as well
2020-02-12 00:38:35 +02:00