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

298 commits

Author SHA1 Message Date
OverloadedOrama 2bc5a919fb Update CHANGELOG & Translations 2020-09-30 01:37:05 +03:00
OverloadedOrama c0db420f73 Update splash screen with 3 new artworks
Also change copyright notice in splash screen & about dialog
2020-09-23 15:28:03 +03:00
OverloadedOrama b07545a3d1 Added missing CelButton hint tooltip translation 2020-08-27 20:02:53 +03:00
OverloadedOrama 850c5606de Added missing translations
And added hint tooltips to "Pixel Perfect" and "Overwrite Color" buttons
2020-08-27 14:30:26 +03:00
OverloadedOrama a65fc0e00c Added Romanian and Korean 2020-08-25 17:17:43 +03:00
OverloadedOrama 3a88a5c861 Change "Art by" translation string
Found in the splash dialog
2020-08-21 20:13:22 +03:00
OverloadedOrama 8d1c2e96f3 Finished implementing the isometric grid - Closes #305
Added the ability to change grid type in Preferences, and made an isometric cell size value which affects just the size of the cells of the isometric grid. Also updated translations.
2020-08-20 00:12:07 +03:00
OverloadedOrama 15cc80bcf7 Updated translations and changelog 2020-08-18 00:01:45 +03:00
OverloadedOrama 8734659da1 Added Hungarian, updated list of translators
Norwegian isn't working for some reason.
2020-08-10 03:26:55 +03:00
OverloadedOrama da656df5b7 Added more options to the Gradient Dialog 2020-08-08 19:02:49 +03:00
OverloadedOrama 205e72f356 Gif exporting now works in HTML5 2020-08-07 11:01:27 +03:00
OverloadedOrama 2346ca810b Added dialog with options for invert colors 2020-07-31 03:39:46 +03:00
OverloadedOrama 0d1e45cfe4 Added a dialog for image flipping with options 2020-07-30 00:01:04 +03:00
OverloadedOrama 051f3df147 Buttons to reset preferences to default
Similar functionality with Godot's default buttons. The buttons currently aren't visible with the gold & light themes.
2020-07-29 03:16:02 +03:00
OverloadedOrama f88d201e1a Organized Preferences better
As a result, "General" no longer exists.
2020-07-29 01:54:15 +03:00
OverloadedOrama 8d9e1e8207 Fullscreen can be toggled on and off from the View menu 2020-07-21 22:11:25 +03:00
OverloadedOrama 8c965c1858 Added ability to change gradient direction 2020-07-18 19:01:24 +03:00
OverloadedOrama 29e9579eb6 Added basic gradient generation
A new option in the "Image" menu, gradient generation.
2020-07-18 17:23:36 +03:00
OverloadedOrama 20f28ff492 Import project brushes from an image file 2020-07-13 21:17:08 +03:00
OverloadedOrama d31509035f Add a "Use ZSTD Compression" checkbox on Save Sprite dialog 2020-07-11 02:09:17 +03:00
Kinwailo 4a668f71f5
Refactoring tools (#281)
* Refactoring tools

* Remove unused code

* Fixed some inferring errors and added translations

* Attempt to fix some Script Errors found in the CI workflow

* Fix bucket crash.

* Fix static type convert.

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
2020-07-09 15:22:17 +03:00
OverloadedOrama e1724148fc Updated translations, Readme & Changelog 2020-07-05 02:24:07 +03:00
OverloadedOrama 8230d9de96 Added image size and frame size labels on PreviewDialog
Just to show the image size and the frame size. The latter is only visible if the user chose to import the sprite as a spritesheet.
2020-06-25 01:22:26 +03:00
OverloadedOrama 5ce061d793 Palettes can now be created from the colors of the selected sprite 2020-06-24 20:22:44 +03:00
OverloadedOrama 5df25c21c6 When making a new palette or importing one and its name already exists, Pixelorama will add a number to its name.
For example, "Palette_Name" would become "Palette_Name (2)", "Palette_Name (3)", etc.
2020-06-24 20:02:03 +03:00
OverloadedOrama 9362b3486b Added a Center button to the ResizeCanvas dialog 2020-06-24 03:31:44 +03:00
OverloadedOrama fa2dfb6bca Change image offset in Resize Canvas 2020-06-24 03:21:44 +03:00
OverloadedOrama a8de56ed68 Ability to import an image file as a brush
Works only for file brushes at the moment. The image files gets copied into the "pixelorama/Brushes" directory.
2020-06-23 21:59:47 +03:00
OverloadedOrama 25d9aca0c4 Drag and drop palette files to open them 2020-06-17 16:47:24 +03:00
OverloadedOrama 13613703fc Importing spritesheets is possible again 2020-06-16 17:59:56 +03:00
OverloadedOrama 7219a5a274 Added Resize Canvas option to Image menu 2020-06-13 20:22:25 +03:00
Manolis Papadeas 881e53dadc
Bring refactoring changes to master (#253)
* Refactoring image_menu_id_pressed method in Main.gd (#243)

* Refactoring image_menu_id_pressed method in Main.gd

I've moved the code from each "match" case into a seperate method to make it more readable.

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>

* Refactoring Main.gd. Mostly cutting big methods into smaller ones. (#244)

* Refactoring Main.gd. Mostly cutting big methods into smaller one.

- Reduced size of _ready method in Main.gd
- Moved code from certain parts of old _ready method into seperate methods
- Fixed the translation bug related to CurrentFrame node in TopMenuContainer scene. The CurrentFrame node wasn't updating the language when I was changing language. I've also changed the translation file for this.
- Fixed Global.palette_option_button.selected related warning. Because of some unknown reasons, git didn't push completed line there.
- Moved code from file_menu_id_pressed and view_menu_id_pressed method in Main.gd to separate methods to make it more readable.

* Removed window_title changes from Main.tscn

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>

* Fixed TextureRect images of the circle brushes in BrushesPopup

They all had the pixel brush image in their TextureRect

* Split code from PreferencesDialog.gd to HandleLanguages.gd

Also moved PreferencesDialog script & scene to src/Preferences. More Preferences code splitting will follow.

* Split theme related code from PreferencesDialog into HandleThemes.gd

* Moved shortcuts code from PreferencesDialog

* Created DrawingAlgos.gd and moved a lot of drawing code there

Moved code from Global.gd and Canvas.gd to DrawingAlgos.gd. Will also move the fill_gaps and draw_brush methods of Canvas.gd next. Maybe even refactor the inside of them a bit to make them easier to read.

* Connected "files_dropped" signal to a method

This lets the user drag and drop files into Pixelorama, while it runs, to open them. This doesn't work properly and will crash when it can't open the files. It will get merged into master soon.

* Renamed handle_running_pixelorama_with_arguments() to handle_loading_files()

handle_loading_files() is also used for _on_files_dropped()

* Moved draw_brush() and fill_gaps() from Canvas.gd to DrawingAlgos.gd

draw_brush() is currently very ugly and probably needs inside refactoring

* Removed coord clamping from fill_gaps()

This should make line making behave as expected when the mouse is outside of canvas boundaries

* Drawing is no longer limited by the canvas boundaries

his means that, if you have a brush largen than 1px, you can draw on the edges of the canvas. All pixels that are being drawn outside of the canvas will still have no effect.

* Use enums instead of strings for tools

This could be a slight increase in performance

* Fixed line making with Shift and don't let color picker pick colors outside of canvas

* Changed Global node variables to arrays for left/right

Instead of having 2 variables for left & right nodes, use an array instead. This will help with better looking code, automation and less repetitive code, as seen in ToolButtons.gd. Move related refactoring will follow.

* More Global left/right variables became Arrays

Global.update_left_custom_brush() and its right counterpart have also now become Global.update_custom_brush(mouse_button : int)

* Use Global.Mouse_Button instead of strings for comparison

This should be a slight increase in performance

* Refactoring perferences dialog (#251)

* Added ItemList to themes

* Language and theme checkboxes are now radio buttons

* Even more Global left/right variables became arrays

ColorAndToolOptions has now the same code for left and right tool options, with more similar refactoring coming soon to places like Canvas and DrawingAlgos

* Refactored Canvas.gd

* Refactored DrawingAlgos.draw_brush(), made draw_pixel() method

This also fixes alpha blending and lighting/darkening issues when drawing pixels with mirroring.

* Remove draw_pixel(), use draw_pixel_blended() instead

* Ignore warnings

I don't know what else to do about them, they seem trivial anyway

* Use enum instead of strings for Global.theme_type

Another potential small performance boost when changing themes.

* Use a new Layer class to handle layer information

This replaces the old Global.layers nested array mess, and makes the code easier to read and to understand.

* Fixed linked cel crash and layer naming

* Created a new Cel class, to handle cel information

Like the Layer class, it is used in place of Canvas.layers nested array mess. It hasn't been tested thoroughly yet, so there may be crashes.

* Fixed issue where if you moved a frame to the start (move left), it was invisible

* Added AnimationTag class

Replaces nested Global.animation_tags arrays. Also replaced array.duplicate(true) with looping through the array and creating a new class for each array element, because duplicate(true) does not create new classes, unfortunately, which was causing issues with undo/redo.

Co-authored-by: Igor Santarek <jegor377@gmail.com>
Co-authored-by: Kinwailo <lokinwai@gmail.com>
2020-06-02 20:00:18 +03:00
Igor Santarek eb47d24df3
New remove current palette feature (#239)
* New remove current palette feature

This commit adds new feature to Pixelorama that will allow user to remove the current selected palette.

* Fixed grammar and added focus_mode = 0 on the remove palette button

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
2020-05-20 00:35:48 +03:00
OverloadedOrama 528b444101 Changed icon 2020-05-15 22:07:07 +03:00
OverloadedOrama 35e1071b5b Updated splash screen translation strings 2020-05-15 17:20:30 +03:00
OverloadedOrama 7361e01b1d Added forgotten translations, bumped version to rc3 and small dialog UI changes 2020-05-11 20:07:16 +03:00
OverloadedOrama 0e807c176f Fixed issue with splash screen buttons, not keeping the background modulation when opening another dialog 2020-05-09 15:54:43 +03:00
John Jerome Romero adc109ed18
Added selective animation tag export for Spritesheets (#230)
* Added selective frame tag export for Spritesheets

* Changes LinesCount value and max_value to canvas_size

This does not allow the spritesheet to contain more frames than the tag has, because it limits its size to the number of frames the currently selected tag has.

Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-05-09 02:46:51 +03:00
OverloadedOrama 1873945e9f Renamed Gold theme to Caramel 2020-05-06 22:01:58 +03:00
OverloadedOrama 85ffd389be Renamed "Godot" theme to Blue 2020-05-06 16:16:39 +03:00
OverloadedOrama 6e2400e8fe Added missing autosave translations in Preferences 2020-05-05 16:03:32 +03:00
OverloadedOrama 61fab1a7de [BREAKS COMPATIBILITY WITH GODOT <=3.1.1] Implemented Indonesian & Czech languages
Pixelorama now requires at least Godot 3.1.2 or 3.2.x to work, because TranslationServer.get_loaded_locales() was not included in older versions. If you're using an older version of Godot, please update. Godot 3.2.1 is the currently recommended version, until 3.2.2 is out.

Also updated the list of the translators.
2020-05-05 14:45:16 +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 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
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 3064ad1b32 Changed "Left/Right tool options" text to just "Left/Right tool" 2020-04-25 15:46:28 +03:00
OverloadedOrama 7bac0ff8f4 Added pattern offset - Closes #130 2020-04-25 02:09:34 +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
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
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 ec38a879c7 Update Translations.pot
Added some Undo & Redo notification strings
2020-04-21 00:01:02 +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 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
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 2225226bf5
Added a missing string from Translations.pot 2020-04-16 18:10:58 +03:00
novhack 840b83fee7 Add color switch shortcut to preferences. 2020-04-15 20:52:20 +02:00
novhack bfbe76ab79 Cleanup preference dialog visuals a little bit. Add missing hints. 2020-04-15 19:44:34 +02: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
luiq54 8fdeb63778 Fix minor bugs and cleanup 2020-04-15 15:19:29 +05:30
OverloadedOrama 21dd3f2e2d Added a zoom tool
Makes it easier to zoom for people with tablets and touch screens in general
2020-04-13 05:07:52 +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
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 d0c4fbc6eb Made some UI changes to the tool options 2020-04-11 18:45:32 +03:00
novhack e6233a37d5 Add shortcuts binding to preferences. 2020-04-08 00:57:37 +02:00
novhack e8c6025c46 Add gif export plugin and extend export dialog with GIF animation support. 2020-04-06 18:51:47 +02:00
Marco Galli 1efec81a6b
Improved CreateNewImage dialog #178 (#181)
* Sync fork

* Added 'Lock aspect ratio' when creating a new image

* Added common templates in 'CreateNewImage' dialog

* Last fix

* Added translation strings
2020-04-03 03:12:42 +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 9af27bd78d Change some hint_tooltips 2020-03-31 21:27:16 +03:00
OverloadedOrama 5803010a56 Replace the weird ID strings with actual sentences 2020-03-31 03:46:07 +03: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 f7571c0628 Some translation updates & hint tooltip changes 2020-03-26 02:42:49 +02:00
OverloadedOrama 730c62ce38 Fixed "Import..." string in Translations.pot 2020-03-25 04:49:22 +02:00
OverloadedOrama d974d3f76a Implemented Esperanto 2020-03-25 04:42:03 +02:00
OverloadedOrama 873808d6c1 Updated strings for translation 2020-03-25 04:29:23 +02:00
OverloadedOrama 105d612fcd Changed quit message when there is unsaved progress
Also, when saving on quit, Pixelorama now actually quits after the user saves.
2020-02-23 00:52:51 +02:00
OverloadedOrama 3776ef73b5 Added new translatable string & changelog update 2020-02-15 15:19:11 +02:00
OverloadedOrama ef9e906f19 Added Latvian translation
Closes #150
2020-02-11 16:03:25 +02:00
OverloadedOrama 1288a00188 Update Translations.pot 2020-02-07 23:39:30 +02:00
OverloadedOrama 92cd06207c Changing the language does not change Preferences tab to General
Also updated translatable strings
2020-02-07 23:27:05 +02:00
OverloadedOrama 5f16000078 Update Translations.pot 2020-01-26 23:58:14 +02:00
OverloadedOrama 94ef09f1a5 Update Translations.pot 2020-01-26 23:52:03 +02:00
OverloadedOrama bb13b108fd Update Translations.pot 2020-01-24 01:07:35 +02:00
henlo-birb 6fa41000ed added option to hide tool icons next to cursor 2020-01-12 20:41:17 -05:00
Manolis Papadeas 8b4c42a576
Merge pull request #118 from Gaarco/master
Add preference options for the Image: default width, default height, default fill color and their translation strings
2020-01-11 00:21:35 +02:00
OverloadedOrama 5cce9d3180 Changes to the tool options UI
New option for the color picker tool (closes #115 - also includes new translatable strings), VSplitContainer for the tools and their options and a ScrollContainer for the tool options.
2020-01-10 22:44:29 +02:00
Marco 7b0251fdfa Image preferences and its translations 2020-01-10 20:24:07 +01:00
OverloadedOrama 83641ecc9a Added 3 palette error strings for translation 2020-01-08 17:31:56 +02:00
OverloadedOrama 1b57c4ee22 Made 2 more strings in the About window translatable 2020-01-05 20:03:46 +02:00
OverloadedOrama d7134dc616 Made strings "Patrons" and "Changes" translatable
Not sure if you'd want to translate them, but now you can if you want to.
2020-01-05 16:09:50 +02:00
OverloadedOrama b1d84042b1 Big splash screen update & new translatable strings 2020-01-05 16:03:04 +02:00
OverloadedOrama 78609a86fb Put default value for "show on startup" in config_cache file
Also put the checkbutton's string on the translation files
2020-01-01 20:04:13 +02:00
OverloadedOrama 079600501f Added more Palette strings to be translated
English and Greek strings are already translated.
2020-01-01 03:28:53 +02:00
OverloadedOrama 29baf3dcc0 Made About & Preferences update translations every time you open them
Also fixed "Grey" string, it was supposed to be "Gray"
2020-01-01 01:27:34 +02:00
OverloadedOrama 830ae623d2 Added new strings to be translated
Greek translation is still in progress
2019-12-31 20:10:10 +02:00
OverloadedOrama 87d6d6140b When exporting a png, "Export PNG..." becomes "Export (filename)"
Also updated the translations to simply translate "export". Feel free to fix anything I may did wrong.
2019-12-28 03:07:48 +02:00
OverloadedOrama d35046d838 Translations - switched from a single .csv to gettext (multiple .po files)
See this for more info on gettext https://docs.godotengine.org/en/3.1/tutorials/i18n/localization_using_gettext.html
2019-12-24 01:47:43 +02:00