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

524 commits

Author SHA1 Message Date
Martin Novák 82fe186b65
Add autosave feature with backup of unsaved new projects (#221)
* Add autosave feature with backup of unsaved new projects.

* Fix wrong indentation on line 205.

* Store backup for every opened file in user://. Some other improvements.

* Remove unnecessary variable.

* Update Translations.pot

Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-04-30 20:33:24 +03:00
OverloadedOrama cab50a83ff Attempting to fix the mess created by renaming files 2020-04-30 17:14:31 +03:00
OverloadedOrama 5b3c846e72 Revert "Big changes to timeline buttons"
This reverts commit e05fc26f5a.
2020-04-30 16:45:46 +03:00
OverloadedOrama e05fc26f5a Big changes to timeline buttons
They're no longer TextureButtons, but Buttons with TextureRect as children. This makes it easier to make them work for multiple themes, and we also save some disk space.

More buttons will follow soon.
2020-04-30 16:36:00 +03:00
Darshan Phaldesai 4ef2c482d8
Revamped the Splash Screen (#223) 2020-04-30 14:44:24 +03:00
OverloadedOrama 4b2930fe67 Don't set Global.saved = true, change the window title and show a notification if a .pxo failed to get saved 2020-04-28 01:22:45 +03:00
OverloadedOrama eab57cf327 Added dragonfi to the list of contributors & updated Changelog.md 2020-04-27 18:17:06 +03:00
Dávid Gábor BODOR 1ccd5dde7a
Pixel Perfect mode for brush, eraser and lighten/darken (#222)
* Add pixel perfect mode for pencil and eraser

* Add Pixel Perfect for left and right tools

Co-authored-by: Dávid Gábor Bodor <david.gabor.bodr@gmail.com>
2020-04-27 18:09:54 +03:00
OverloadedOrama 0bed558e31 Reset window title, save paths and file menu text when a new image is being created 2020-04-25 22:24:20 +03:00
OverloadedOrama 09a8f5f47f Fixed crash when trying to fill a pattern and no patterns existed
This should not happen in a realistic scenario anyway, but it's now fixed just in case.
2020-04-25 15:00:38 +03:00
OverloadedOrama 7bac0ff8f4 Added pattern offset - Closes #130 2020-04-25 02:09:34 +03:00
OverloadedOrama 768a1e7b8f Added Patterns for the bucket tool
The bucket tool can now use Patterns instead of colors to fill areas. They get loaded from the "Patterns" folder, similar to how Brushes and Palletes work. You can no longer use brushes for the bucket tool.
2020-04-25 00:42:02 +03:00
OverloadedOrama a14e928031 On play_animation(), disconnect the other button's toggled signal temporarily - This fixes #219 2020-04-24 00:10:21 +03:00
OverloadedOrama 84e822bb44 Made Onion Skinning Settings dialog bigger - Fixes #220 2020-04-23 23:25:12 +03:00
OverloadedOrama 85bdffa322 If linked cels existed when a frame got deleted, they now get removed from memory
It basically loops through the layers and, if some cels are linked, they get deleted from the Global.layers array. Closes #218
2020-04-23 01:46:16 +03:00
Igor Santarek 8ac923c716
Export multiple files in multiple directories feature (#217)
Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-04-22 22:36:23 +03:00
OverloadedOrama 2d4d40c213 Added a "Link Cel" option when right clicking on a cel, if the cel isn't already linked
This should make cel linking be more user friendly.
2020-04-22 19:01:33 +03:00
OverloadedOrama f7b9d22991 On merge layer, linked cels on the bottom layer will become unlinked if the top cels have content
Works with UndoRedo too
2020-04-22 16:56:03 +03:00
OverloadedOrama 09d2265056 Made Unlink Cel work with UndoRedo 2020-04-21 21:34:45 +03:00
OverloadedOrama 1e4a5cff8e The guides can no longer be undone
They were causing issues with UndoRedo, and with the latest changes, even crashes. I decided to remove their UndoRedo behavior, at least for now.

Also put jegor377 to the list of Contributors.
2020-04-21 21:01:45 +03:00
Igor Santarek 086679f1f0
Open last edited project at startup or at will feature (#215)
* Created feature that will alllow user to open last edited project on Pixelorama startup or open last edited project at will.

Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-04-21 20:45:02 +03:00
OverloadedOrama fef7627f73 Made the animation stop playing on clear_canvases()
This stop the animation from playing when a new image is being created, or a file is being loaded.
2020-04-21 19:42:01 +03:00
OverloadedOrama c737ff3589 Canvas background gets resized on frame_changed
In case frames have different sizes. Also solved issue when opening files and they had a different size than the currently selected image.
2020-04-21 04:29:39 +03:00
OverloadedOrama 79a4c0232e Minor TransparentChecker performance boost
Got rid of its _process, using _ready() instead. It also gets called when the canvas size changes, or the checker settings in the preferences change.
2020-04-20 19:12:22 +03:00
OverloadedOrama b21455cfd0 Minor guide and rulers performance boost
Got rid of their _process methods, Guides have input instead, and the rulers get updated when the camera zoom or offset change.
2020-04-20 18:52:05 +03:00
OverloadedOrama 06d19c8e48 Frame tags now work with UndoRedo 2020-04-20 00:09:48 +03:00
OverloadedOrama cb1b741b05 Made general undo and redo methods in Global.gd
To reduce some duplicate code, and they will most likely be needed for frame tags UndoRedo
2020-04-19 21:17:33 +03:00
OverloadedOrama 9cb98a443e Delete frames from tags if the frames are deleted
And also move tags if frames before their first frame are deleted. Doesn't work with UndoRedo yet.
2020-04-19 21:00:36 +03:00
OverloadedOrama ba2b8aae91 Changes on how animation plays on frame tags
If the animation starts playing on a frame outside a tag, the animation will not limit itself to the tags later on as it plays. The animation will play only on a tag, if it started on a frame which has that tag. I also made it react to frame and tag changes, if they happen while the animation is running.

I also added a play_animation() method in AnimationTimeline.gd, to reduce duplicate code found in _on_PlayForward_toggled() and _on_PlayBackwards_toggled()
2020-04-19 20:39:08 +03:00
OverloadedOrama b6c7ad4d1c Small UI & translation fixes
Made the right panel in Main.tscn and CreateNewImage.tscn a little bigger, changed some labels, translations and some Global.can_draws. Also added a temporary fix for a issue where Space is being treated as a mouse press, for FrameButton.gd
2020-04-19 02:27:23 +03:00
OverloadedOrama cba301f911 Zoom label now shows the correct zoom value on smooth zoom 2020-04-18 20:38:59 +03:00
OverloadedOrama 53a9719230 Removed old transparent background & made some tooltip changes
The transparent background has been removed both from code and its files. Changed some hint_tooltips and put them in Translations.pot too.
2020-04-18 18:36:29 +03:00
Kinwailo 2ae67cdb76 Improve the checker board of transparent background 2020-04-18 15:03:18 +08:00
OverloadedOrama 4e539e5e29 Removed remove_frame() from FrameButton.gd
Use _on_DeleteFrame_pressed() on AnimationTimeline.gd instead
2020-04-18 00:35:42 +03:00
OverloadedOrama feea931e22 Fixed issue with project brushes and undoing their deletion 2020-04-17 22:10:52 +03:00
luiq54 73891af597 Brush Selection Fix 2020-04-17 22:33:52 +05:30
OverloadedOrama 954b6111c2 Cloned frames are now automatically part of the tag
The tags don't work with UndoRedo yet, so this is not final behavior
2020-04-17 04:59:23 +03:00
OverloadedOrama 699dfbe091 Cleaned adjust_hsv in Canvas.gd a bit
Removed duplicate code & made it faster for selections
2020-04-17 04:35:47 +03:00
OverloadedOrama a3b01873a2 When cloning a frame, the clone appears next to the cloned
Removed some code from FrameButton.gd since it's used in AnimationTimeline.gd, and removed the Global.hidden_canvases array, as... it did nothing? I don't remember what I made it for, I think it was for UndoRedo purposes but it's seems to be working fine without it.
2020-04-17 04:25:08 +03:00
OverloadedOrama 4068330e26 Improved "Fit to Frame" button
Also set the default mode for the right zoom tool to zoom out.
2020-04-16 18:34:57 +03:00
Manolis Papadeas 42dbd31c7a
Merge pull request #204 from novhack/switch-colors-shortcut
Switch colors shortcut
2020-04-16 18:25:11 +03:00
Manolis Papadeas 88dff6cf46
Merge pull request #203 from novhack/preferences-cleanup
Cleanup preference dialog
2020-04-16 18:12:04 +03:00
OverloadedOrama 40e7a0aed9 Don't let tag_to be larger than Global.canvases.size(), and smaller than tag_from
Also, when adding an new tag, the starting and ending frame values become the current frame.
2020-04-16 03:00:40 +03:00
novhack 840b83fee7 Add color switch shortcut to preferences. 2020-04-15 20:52:20 +02:00
Schweini07 acff84c5b1
Add a Delete Button and a Copy Button for frames (#202) 2020-04-15 20:59:49 +03:00
novhack bfbe76ab79 Cleanup preference dialog visuals a little bit. Add missing hints. 2020-04-15 19:44:34 +02:00
OverloadedOrama 4e33775c84 Fixed bug where the user could drag the guides when the canvas had no focus 2020-04-15 19:54:59 +03:00
OverloadedOrama 10280f25f9 Added checkbox to toggle if the animation will play only on the frames of the same tag 2020-04-15 16:25:58 +03:00
Manolis Papadeas f27a3be6ae
Merge pull request #199 from luiq54/devel
Added HSV Adjust Dialog
2020-04-15 16:05:44 +03:00
luiq54 8fdeb63778 Fix minor bugs and cleanup 2020-04-15 15:19:29 +05:30