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
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.
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.
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.
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.
* 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>
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.
* 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>
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.
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.
* 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>