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

1027 commits

Author SHA1 Message Date
OverloadedOrama 57d4156341 Added a preview dialog that opens every time the user imports an image file
The dialog does not appear on .pxo files. Import options will be added on it soon.
2020-06-13 20:58:43 +03:00
OverloadedOrama 7219a5a274 Added Resize Canvas option to Image menu 2020-06-13 20:22:25 +03:00
OverloadedOrama 53b91a4bf4 Moved image effect code to DrawingAlgos.gd
More specifically, moved scale, crop, invert, desaturate and generate outline code to DrawingAlgos.gd. I am a little worried of DrawingAlgos.gd getting too big though.
2020-06-13 18:57:28 +03:00
OverloadedOrama c6b977d48e Set the main viewport's cursor to be cross, and set it as a custom cursor image
Instead of setting the main arrow as a custom cursor every time the cursor gets inside the viewport, set the viewport's default cursor to be the cross, and change the cross's image once in Global.gd
2020-06-13 18:09:46 +03:00
OverloadedOrama 2e587e3634 Made TopMenuContainer.gd and moved all the menu code there from Main.gd
Main.gd is now easier to read
2020-06-13 17:59:57 +03:00
OverloadedOrama af078d590d Update TransparentChecker's size of all viewports 2020-06-13 15:33:59 +03:00
OverloadedOrama a05f8ac4ab Use Image class' blend_rect method if Godot's version is 3.2.2
https://github.com/godotengine/godot/issues/31124 has now been fixed in Godot 3.2.2-rc1, so we can use Image.blend_rect() instead of a custom method. This makes exporting large images and drawing with large brush sizes a lot faster.

Once Godot 3.2.2 stable is released, the custom blend_rect method will be completely removed.
2020-06-13 15:30:58 +03:00
OverloadedOrama 8064d7b459 Fixed shadowed variables crashes/warnings occurring in Godot 3.2.2-rc1 2020-06-13 15:25:12 +03:00
OverloadedOrama e6aea97f1b The world_2d of the preview viewports is no longer the same as the main viewport's
A "CanvasPreview" Node2D has been added to every preview viewport, where it draws the current frame. This solves #205.
2020-06-12 02:27:21 +03:00
OverloadedOrama 2371238ec0 Removed Import option from the file menu
The "Open" option will handle importing of .pxo files and image files from now on. The "ImportSprites" file dialog node and script are scheduled to be deleted too. Importing spritesheets option will return soon. Next thing I'm going to work on is a preview window that will appear when importing image files.
2020-06-12 01:11:58 +03:00
OverloadedOrama e94e57ea09 Removed canvas.line_2d references from SelectionRectangle.gd 2020-06-11 00:05:19 +03:00
Kinwailo 860173d9a1
Change the line2d to plot line pixel when drawing line. (#260) 2020-06-10 14:19:20 +03:00
OverloadedOrama b0338ab09a Changed structure of .pxo files
The structure of the .pxo files is now consisted of a JSON-structured metadata part, where all the data that can be stored as text are, and a binary part, that contain all the actual image data for each cel and project brush.

This makes it easier for users to understand the .pxo structure, easier to add more changes without having to check versions for backwards compatibility, easier to be opened by third-party apps and it allows us to make an "Export JSON metadata" option, that will export just the metadata in JSON format, without the binary image data.

It's backwards compatible and .pxo files from as far as v0.5 are still supported.
2020-06-10 04:17:39 +03:00
Darshan Phaldesai 49b61db891
Added the ability to draw on Tiling Mode Previews (#259)
Also added hovering brush preview for same
2020-06-09 21:13:34 +03:00
OverloadedOrama 76af8a3214 Change paths in the open/save dialogs when switching project 2020-06-09 20:19:55 +03:00
OverloadedOrama 58bab65518 Implemented zen mode
When zen mode is on, most parts of the UI are invisible, except the drawing canvas and  the top menu bar.
2020-06-09 19:15:25 +03:00
OverloadedOrama d76b24b029 Removed unnecessary code from CreateNewImage.gd 2020-06-09 19:02:09 +03:00
OverloadedOrama 8118381b0b Fixed issue where new images had the size of the previous project 2020-06-09 18:44:08 +03:00
Manolis Papadeas 66feec8f21
Update README.md 2020-06-08 23:48:31 +03:00
OverloadedOrama 01ce3a3932 When opening a project and the current tab is empty, open it in that tab
If the current project is empty (only 1 layer and frame, no tags and the image has no content - is invisible) and the user is opening a project, then the opened project will not open a new tab of its own, and will use the currently opened one instead.
2020-06-07 01:48:35 +03:00
OverloadedOrama d38a6efe9b Move save paths when repositioning tabs
Change path position in the arrays when repositioning tabs
2020-06-06 13:06:50 +03:00
OverloadedOrama 5fda35c2d8 Fixed issues with saving and backups 2020-06-06 02:52:17 +03:00
OverloadedOrama 709a401373 Save backups for all opened projects
current_save_paths and backup_save_paths in OpenSave.gd are arrays now, have paths for every project
2020-06-06 02:16:53 +03:00
OverloadedOrama 2c409ab025 Camera zoom and offset are now project properites
The zoom/offset of the three cameras now get saved in each project, and change when you change project.
2020-06-05 21:03:34 +03:00
OverloadedOrama 9ffce37c0b An asterisk is added to the tab name if there are changes
The window title also changes when switching tabs. And yes, "has_changed_changed" is a stupid method name, I'll find another one sometime later.
2020-06-05 20:15:40 +03:00
OverloadedOrama 6d87901056 Imported image files now open in an new tab
Keep in mind that opening an image file as a new frame might not work properly yet, if the target image has a different size.
2020-06-05 19:51:06 +03:00
OverloadedOrama 1b1c7f844f .pxo files now get opened in a new tab 2020-06-05 18:54:11 +03:00
OverloadedOrama 7a61f1ea4a Fixed issue where the wrong amount of cels were being created
The new image's frames had as many cels as the previously selected project
2020-06-05 18:19:05 +03:00
OverloadedOrama d37b07db5d Reposition tabs is now functional
That was easier than I expected
2020-06-05 17:55:41 +03:00
OverloadedOrama b276999b12 Closing tabs is now possible 2020-06-05 17:50:52 +03:00
OverloadedOrama 4af130bc61 Project brushes change when switching projects
A new Global.file_brushes array is used for the file brushes, and the Project class has its own brushes array for the project brushes
2020-06-05 17:21:35 +03:00
OverloadedOrama 736521246d Change guides when switching project 2020-06-05 16:21:19 +03:00
OverloadedOrama fc03e83377 Change the selection rectangle when switching projects 2020-06-05 16:14:57 +03:00
OverloadedOrama 35969b2f67 Moved the _min and _max variables to Project.gd 2020-06-05 16:06:59 +03:00
OverloadedOrama 60126e46d3 New image now creates a new tab/project 2020-06-05 04:30:50 +03:00
OverloadedOrama ae381a8714 Change canvas and timeline when a tab is being pressed 2020-06-05 04:30:31 +03:00
OverloadedOrama 709a6d470e Added basic UI for tabs 2020-06-05 02:48:38 +03:00
Manolis Papadeas 2e69e1a8c2
Merge pull request #257 from Orama-Interactive/refactoring
Last refactoring merge
2020-06-05 02:23:59 +03:00
OverloadedOrama a3d6b849f1 Create .gdignore files in Misc and pixelorama directories
Because we don't want them included in Godot's file system.
2020-06-05 01:46:16 +03:00
OverloadedOrama 83916f8913 Fixed json crash and text issue in EditPalettePopup
Importing a non-palette json file no longer crashes the app. Enabled autowrap for a label in EditPalettePopup because some translated text were pushing the boundaries of the dialog window.
2020-06-05 01:40:21 +03:00
Manolis Papadeas 802f423067
New Crowdin translations (#235)
* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (French)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (French)

* New translations Translations.pot (Catalan)

* New translations Translations.pot (Ukrainian)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Swedish)

* New translations Translations.pot (Serbian (Cyrillic))

* New translations Translations.pot (Portuguese)

* New translations Translations.pot (Norwegian)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Hungarian)

* New translations Translations.pot (Hebrew)

* New translations Translations.pot (Finnish)

* New translations Translations.pot (Danish)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Arabic)

* New translations Translations.pot (Spanish)

* New translations Translations.pot (Afrikaans)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Latvian)

* New translations Translations.pot (Indonesian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Chinese Traditional)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Greek)

* New translations Translations.pot (German)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (German)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (French)

* New translations Translations.pot (Catalan)

* New translations Translations.pot (Ukrainian)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Swedish)

* New translations Translations.pot (Serbian (Cyrillic))

* New translations Translations.pot (Portuguese)

* New translations Translations.pot (Norwegian)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Hungarian)

* New translations Translations.pot (Hebrew)

* New translations Translations.pot (Finnish)

* New translations Translations.pot (Danish)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Arabic)

* New translations Translations.pot (Spanish)

* New translations Translations.pot (Afrikaans)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Latvian)

* New translations Translations.pot (Indonesian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Chinese Traditional)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Greek)

* New translations Translations.pot (German)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Greek)

* New translations Translations.pot (Greek)
2020-06-05 01:21:12 +03:00
Manolis Papadeas 356bd0665b
Added more contributors and donors in AboutDialog 2020-06-05 00:33:45 +03:00
OverloadedOrama f9bd590d20 Moved size variable from Canvas.gd to Project.gd 2020-06-04 23:20:20 +03:00
OverloadedOrama 4e111a7ac0 Created a Projects class
A Project class contains project-specific data like name, undo_redo, frames, layers, tags and brushes. These variables have been moved from Global. This is the first step towards multiple tab support, where each tab will be a different Project.
2020-06-04 21:05:36 +03:00
Manolis Papadeas fcdbb07b92
Merge pull request #256 from Orama-Interactive/refactoring
Bring more refactoring changes to master
2020-06-04 20:32:23 +03:00
Manolis Papadeas 9d38cbd13e
Update Drawers.gd 2020-06-04 20:30:26 +03:00
Manolis Papadeas dade9560d7
Update Canvas.gd 2020-06-04 20:30:16 +03:00
Manolis Papadeas bb5e70b965
Update Global.gd 2020-06-04 20:30:01 +03:00
Manolis Papadeas b6dec2d500
Merge branch 'master' into refactoring 2020-06-04 20:28:22 +03:00
Manolis Papadeas f4e5484e67
Update CHANGELOG.md 2020-06-04 19:56:38 +03:00