OverloadedOrama
8b682570b2
If we have cmdline_args, ensure the images are opened last
...
This way, cmdline_args loading overwrites load_last_project()
2020-05-03 21:45:05 +03:00
OverloadedOrama
991eb5a615
Export optimization
...
process_frame() was being called twice when the export dialog appeared, and the frame number was different than the one already stored in the export dialog
2020-05-03 19:19:12 +03:00
OverloadedOrama
4f1c475c8d
Set export path when importing an image
2020-05-03 18:47:13 +03:00
OverloadedOrama
2b5f6b47ee
Made the remove frame button get disabled when there's only one frame
2020-05-03 18:17:12 +03:00
OverloadedOrama
2ee4c541c9
Fixed tool texture loading
2020-05-03 13:39:20 +03:00
OverloadedOrama
28c4ee8f90
Saved the TransparentChecker shader as a resource
...
In case it gets used in other places too in the future, like preview backgrounds.
2020-05-03 03:49:44 +03:00
OverloadedOrama
d8a1e5de12
Changed default colors for the checker background
...
Should be easier on the eye. For the dark themes, at least.
2020-05-03 03:42:44 +03:00
OverloadedOrama
563270bad7
Fixed play, onion skinning and loop button textures
2020-05-03 03:36:40 +03:00
OverloadedOrama
23865396e2
Changed default clear color for Godot theme
2020-05-03 03:15:47 +03:00
OverloadedOrama
9482b47825
Changed Palette and Layer TextureButtons into Buttons, massive asset renaming
...
Most asset filenames are now in snake_case
2020-05-03 03:13:08 +03:00
OverloadedOrama
148d918f12
Removed NotoSansCJKtc-Bold to save space
...
Updated some missing translations from SplashDialog too
2020-05-02 23:11:41 +03:00
OverloadedOrama
babd5759f8
Makes sure that BackupConfirmation dialog is properly centered
...
Moved yield(get_tree().create_timer(0.01), "timeout") in _ready() of Main.gd outside of the if, to affect the BackupConfirmation dialog too.
2020-05-02 18:10:01 +03:00
OverloadedOrama
b70fae36a3
Append Global.root_directory to XDG_DATA_DIRS
...
This lets Pixelorama to search for brushes, palettes & patterns in the "pixelorama" folder that may be on the root folder of the executable. Useful for non-package builds, like itch.io, and for the using Pixelorama inside the editor. It should not cause issues for packages but if it does, let me know.
2020-05-02 16:41:30 +03:00
OverloadedOrama
8005474446
Changed mouse_default_cursor_shapes in SplashDialog
2020-05-02 01:47:48 +03:00
OverloadedOrama
fe7e984432
Filenames of assets in "Tool Cursors" are now in snake_case
2020-05-02 01:41:50 +03:00
OverloadedOrama
28de4d56f6
Added "icons" and "splash_screen" folders into Assets/Graphics
...
Moved all the relative assets there, including the icon files which no longer are on the res:// folder. The main page of the repository should look much cleaner now.
2020-05-02 01:34:55 +03:00
OverloadedOrama
c35e4b0613
Created a "UI" folder in src
...
And a Timeline folder in UI
2020-05-02 01:19:01 +03:00
OverloadedOrama
8d5a673543
Moved "Themes & Styles" to "Assets/themes"
2020-05-02 00:59:34 +03:00
OverloadedOrama
646fc19a70
Merged "Scripts" and "Prefabs" folders into "src"
...
Made a new "src" folder that will contain the source code files, like all the GDScript and scene files. Please read this for more details: https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/
It made no sense to keep scenes separate from their scripts. More file organizing will follow soon.
2020-05-01 22:17:05 +03:00
OverloadedOrama
5a54235604
Changes to scripts to follow GDScript style guide
...
Please read here for more info: https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_styleguide.html
This commit does not add/change any new/existing features.
2020-05-01 20:47:10 +03:00
OverloadedOrama
62bbad7374
Confirmation dialog for "open last project" menu option when there are unsaved changes
...
Changed text in UnsavedCanvasDialog and renamed Global.saved to Global.project_has_changed (the boolean values are now opposite)
2020-05-01 19:40:36 +03:00
OverloadedOrama
df2bf59871
Update Translations.pot
...
Fixed a missing newline
2020-05-01 18:46:09 +03:00
OverloadedOrama
0ad8cc64cc
Added timeline button events to the input map & some dark theme changes
...
You currently cannot change the bindings of the timeline buttons, but now that they are in the input map, it should prevent the shortcuts from being bound elsewhere.
2020-05-01 18:40:16 +03:00
OverloadedOrama
460f86ff8e
Fixed issue with open last image and turned off pixel perfect drawing by default
2020-05-01 00:02:52 +03:00
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
c82c54d096
Changed copy_frame.png images
2020-04-30 19:18:37 +03:00
OverloadedOrama
85851a291a
Removed duplicate files
2020-04-30 17:43:56 +03:00
OverloadedOrama
cab50a83ff
Attempting to fix the mess created by renaming files
2020-04-30 17:14:31 +03:00
OverloadedOrama
7050efb54a
Removed old button textures
2020-04-30 16:46:23 +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
3064ad1b32
Changed "Left/Right tool options" text to just "Left/Right tool"
2020-04-25 15:46:28 +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
Igor Santarek
198fdfb606
Completed the hole in translation for the new open last project on startup or at will feature. ( #216 )
2020-04-22 00:36:32 +03:00
OverloadedOrama
51faec8dcf
Connected HorizontalRuler's mouse_entered signal to its script again
...
The connection got lost for some reason
2020-04-22 00:27:29 +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