OverloadedOrama
37a8ad2447
Fixed line making with Shift and don't let color picker pick colors outside of canvas
2020-05-31 16:24:08 +03:00
OverloadedOrama
5b7d161ecf
Use enums instead of strings for tools
...
This could be a slight increase in performance
2020-05-31 16:04:33 +03:00
rob-a-bolton
145e3de7c4
Gimp palette import fixes. Support for newer format, and support for unnamed colours ( #250 )
2020-05-31 13:51:08 +03:00
OverloadedOrama
bda9e6267d
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.
2020-05-31 01:07:08 +03:00
OverloadedOrama
4fc2888b68
Removed coord clamping from fill_gaps()
...
This should make line making behave as expected when the mouse is outside of canvas boundaries
2020-05-31 00:42:35 +03:00
Hugo Locurcio
9a1f5bf5b8
Remove fallback for OS.min_window_size
now that Godot 3.2 is out ( #249 )
...
The latest Pixelorama versions require Godot 3.2 to run.
2020-05-31 00:20:41 +03:00
OverloadedOrama
7a509a2047
Moved draw_brush() and fill_gaps() from Canvas.gd to DrawingAlgos.gd
...
draw_brush() is currently very ugly and probably needs inside refactoring
2020-05-30 00:46:58 +03:00
OverloadedOrama
c84c6a19d7
Renamed handle_running_pixelorama_with_arguments() to handle_loading_files()
...
handle_loading_files() is also used for _on_files_dropped()
2020-05-30 00:28:17 +03:00
OverloadedOrama
ae89d3e291
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.
2020-05-29 20:19:22 +03:00
OverloadedOrama
00a0ab882a
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.
2020-05-29 03:16:44 +03:00
OverloadedOrama
a5e10631cd
Moved shortcuts code from PreferencesDialog
2020-05-28 19:51:25 +03:00
OverloadedOrama
0e63860092
Split theme related code from PreferencesDialog into HandleThemes.gd
2020-05-28 03:49:14 +03:00
OverloadedOrama
379b574257
Split code from PreferencesDialog.gd to HandleLanguages.gd
...
Also moved PreferencesDialog script & scene to src/Preferences. More Preferences code splitting will follow.
2020-05-28 03:41:28 +03:00
OverloadedOrama
ef89c650b2
Fixed TextureRect images of the circle brushes in BrushesPopup
...
They all had the pixel brush image in their TextureRect
2020-05-24 00:32:20 +03:00
Igor Santarek
aae3ae0cf4
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>
2020-05-24 00:22:06 +03:00
Igor Santarek
852e249143
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>
2020-05-22 15:05:55 +03:00
Manolis Papadeas
02045ec60c
Merge pull request #242 from Orama-Interactive/refactoring
...
Bring Main.tscn changes to master
2020-05-22 01:45:53 +03:00
OverloadedOrama
94b32baa63
Update CHANGELOG & CONTRIBUTING
2020-05-22 01:37:46 +03:00
imgbot[bot]
4cf6daf948
[ImgBot] Optimize images ( #241 )
...
*Total -- 89.49kb -> 57.70kb (35.52%)
/assets/graphics/icons/icon.png -- 1.00kb -> 0.44kb (55.7%)
/pixelorama/Brushes/Star/%star2.png -- 0.50kb -> 0.23kb (52.66%)
/pixelorama/Brushes/Star/%star4.png -- 0.50kb -> 0.24kb (52.16%)
/pixelorama/Brushes/Star/%star3.png -- 0.50kb -> 0.24kb (52.15%)
/pixelorama/Brushes/Star/%star1.png -- 0.50kb -> 0.24kb (52.05%)
/pixelorama/Brushes/Star/%star6.png -- 0.50kb -> 0.24kb (51.65%)
/pixelorama/Brushes/Star/%star5.png -- 0.50kb -> 0.24kb (51.55%)
/assets/graphics/brush_button.png -- 0.53kb -> 0.27kb (49.08%)
/assets/graphics/splash_screen/github_32px.png -- 1.53kb -> 0.78kb (48.95%)
/assets/graphics/dark_themes/misc/color_defaults.png -- 0.52kb -> 0.27kb (48.87%)
/assets/graphics/light_themes/misc/color_defaults.png -- 0.52kb -> 0.27kb (48.87%)
/assets/graphics/cursor_icons/rectselect_cursor.png -- 0.53kb -> 0.27kb (48.35%)
/assets/graphics/cursor_icons/cursor.png -- 0.53kb -> 0.28kb (47.53%)
/assets/graphics/light_themes/misc/color_switch.png -- 0.52kb -> 0.28kb (46.72%)
/assets/graphics/dark_themes/misc/color_switch.png -- 0.52kb -> 0.28kb (46.53%)
/assets/graphics/cursor_icons/eraser_cursor.png -- 0.55kb -> 0.31kb (44.52%)
/assets/graphics/cursor_icons/pencil_cursor.png -- 0.55kb -> 0.31kb (44.17%)
/pixelorama/Patterns/Light_Blue_Texture.png -- 7.77kb -> 4.41kb (43.25%)
/assets/graphics/cursor_icons/colorpicker_cursor.png -- 0.57kb -> 0.33kb (42.69%)
/assets/graphics/cursor_icons/lightendarken_cursor.png -- 0.57kb -> 0.33kb (42.37%)
/assets/graphics/cursor_icons/bucket_cursor.png -- 0.59kb -> 0.34kb (42.26%)
/pixelorama/Patterns/Ground_leaves.png -- 8.25kb -> 4.82kb (41.55%)
/pixelorama/Patterns/Purple_Texture.png -- 8.25kb -> 4.82kb (41.55%)
/pixelorama/Patterns/small_stonebricks.png -- 1.00kb -> 0.63kb (37.1%)
/assets/graphics/splash_screen/splash_screen_image_v0.7.png -- 31.99kb -> 21.32kb (33.36%)
/pixelorama/Patterns/wooden_planks_2.png -- 7.24kb -> 5.01kb (30.78%)
/pixelorama/Patterns/Brick.png -- 0.89kb -> 0.64kb (28.62%)
/pixelorama/Patterns/Wooden_planks_1.png -- 6.08kb -> 4.43kb (27.09%)
/pixelorama/Patterns/White_Marble.png -- 0.78kb -> 0.62kb (20.75%)
/assets/graphics/splash_screen/orama_64x64.png -- 0.75kb -> 0.60kb (20.05%)
/pixelorama/Patterns/Metro_tile.png -- 2.22kb -> 2.11kb (5.14%)
/pixelorama/Patterns/Yellow_Marble.png -- 2.22kb -> 2.11kb (5.14%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-05-21 23:53:14 +03:00
imgbot[bot]
9c7d5a148b
[ImgBot] Optimize images ( #241 )
...
*Total -- 89.49kb -> 57.70kb (35.52%)
/assets/graphics/icons/icon.png -- 1.00kb -> 0.44kb (55.7%)
/pixelorama/Brushes/Star/%star2.png -- 0.50kb -> 0.23kb (52.66%)
/pixelorama/Brushes/Star/%star4.png -- 0.50kb -> 0.24kb (52.16%)
/pixelorama/Brushes/Star/%star3.png -- 0.50kb -> 0.24kb (52.15%)
/pixelorama/Brushes/Star/%star1.png -- 0.50kb -> 0.24kb (52.05%)
/pixelorama/Brushes/Star/%star6.png -- 0.50kb -> 0.24kb (51.65%)
/pixelorama/Brushes/Star/%star5.png -- 0.50kb -> 0.24kb (51.55%)
/assets/graphics/brush_button.png -- 0.53kb -> 0.27kb (49.08%)
/assets/graphics/splash_screen/github_32px.png -- 1.53kb -> 0.78kb (48.95%)
/assets/graphics/dark_themes/misc/color_defaults.png -- 0.52kb -> 0.27kb (48.87%)
/assets/graphics/light_themes/misc/color_defaults.png -- 0.52kb -> 0.27kb (48.87%)
/assets/graphics/cursor_icons/rectselect_cursor.png -- 0.53kb -> 0.27kb (48.35%)
/assets/graphics/cursor_icons/cursor.png -- 0.53kb -> 0.28kb (47.53%)
/assets/graphics/light_themes/misc/color_switch.png -- 0.52kb -> 0.28kb (46.72%)
/assets/graphics/dark_themes/misc/color_switch.png -- 0.52kb -> 0.28kb (46.53%)
/assets/graphics/cursor_icons/eraser_cursor.png -- 0.55kb -> 0.31kb (44.52%)
/assets/graphics/cursor_icons/pencil_cursor.png -- 0.55kb -> 0.31kb (44.17%)
/pixelorama/Patterns/Light_Blue_Texture.png -- 7.77kb -> 4.41kb (43.25%)
/assets/graphics/cursor_icons/colorpicker_cursor.png -- 0.57kb -> 0.33kb (42.69%)
/assets/graphics/cursor_icons/lightendarken_cursor.png -- 0.57kb -> 0.33kb (42.37%)
/assets/graphics/cursor_icons/bucket_cursor.png -- 0.59kb -> 0.34kb (42.26%)
/pixelorama/Patterns/Ground_leaves.png -- 8.25kb -> 4.82kb (41.55%)
/pixelorama/Patterns/Purple_Texture.png -- 8.25kb -> 4.82kb (41.55%)
/pixelorama/Patterns/small_stonebricks.png -- 1.00kb -> 0.63kb (37.1%)
/assets/graphics/splash_screen/splash_screen_image_v0.7.png -- 31.99kb -> 21.32kb (33.36%)
/pixelorama/Patterns/wooden_planks_2.png -- 7.24kb -> 5.01kb (30.78%)
/pixelorama/Patterns/Brick.png -- 0.89kb -> 0.64kb (28.62%)
/pixelorama/Patterns/Wooden_planks_1.png -- 6.08kb -> 4.43kb (27.09%)
/pixelorama/Patterns/White_Marble.png -- 0.78kb -> 0.62kb (20.75%)
/assets/graphics/splash_screen/orama_64x64.png -- 0.75kb -> 0.60kb (20.05%)
/pixelorama/Patterns/Metro_tile.png -- 2.22kb -> 2.11kb (5.14%)
/pixelorama/Patterns/Yellow_Marble.png -- 2.22kb -> 2.11kb (5.14%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-05-21 23:18:09 +03:00
OverloadedOrama
12c6118763
Created ToolButtons.gd, moved code from Main.gd there
2020-05-21 21:30:40 +03:00
OverloadedOrama
5f9c1976d2
Made BrushesPopup and PatternsPopup their own scenes
2020-05-21 20:37:20 +03:00
OverloadedOrama
d2539f44f0
Removed brush_selected signal
2020-05-21 20:33:00 +03:00
OverloadedOrama
0629449bdf
Created UI.tscn
...
All of the main UI elements are now in UI.tscn instead of Main.tscn
2020-05-21 20:21:01 +03:00
OverloadedOrama
55527501d0
Created TopMenuContainer.tscn and ViewportContainer.gd
2020-05-21 20:13:19 +03:00
OverloadedOrama
2190c21d9d
Separated PalettePanelContainer from Main.tscn, made it its own scene
...
And put all 3 palette dialogs there instead of Main
2020-05-21 02:50:57 +03:00
OverloadedOrama
30e7b34dc9
Made OpenSprite and SaveSprite separate scenes
2020-05-20 01:44:27 +03:00
OverloadedOrama
8e6516a4d4
Use error dialog for 2 more cases
...
NoProjectEditedOrCreatedAlertDialog and OpenLastProjectAlertDialog
2020-05-20 01:37:36 +03:00
OverloadedOrama
2ebdf51047
Use error dialog instead of individual erro dialogs for when removing palettes
2020-05-20 01:31:38 +03:00
OverloadedOrama
110640a6b9
Update godot-gifexporter
2020-05-20 01:13:07 +03:00
OverloadedOrama
067f5a6109
Merge branch 'refactoring' of https://github.com/Orama-Interactive/Pixelorama into refactoring
2020-05-20 01:02:34 +03:00
OverloadedOrama
8c2c8a1d7b
Rebase master (remove palette) to refactoring
2020-05-20 01:02:25 +03:00
OverloadedOrama
1e114d6f4f
Created ColorAndToolOptions script and scene
...
Removed the tool option signals from Main.gd and put them to ColorAndToolOptions.gd. Instead of having 2 methods for left and right, they are now in one method, using a boolean to differentiate between left and right.
2020-05-20 00:57:07 +03:00
OverloadedOrama
c1db72865f
Revert c02cda6b10
...
Left tool shortcuts get ignored completely if we change is_action_pressed to is_action_released.
2020-05-20 00:51:41 +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
caa797e26e
Created ColorAndToolOptions script and scene
...
Removed the tool option signals from Main.gd and put them to ColorAndToolOptions.gd. Instead of having 2 methods for left and right, they are now in one method, using a boolean to differentiate between left and right.
2020-05-19 03:51:16 +03:00
OverloadedOrama
c879633f4b
Change min value and step of autosave interval spinbox to 0.5
2020-05-18 16:53:38 +03:00
Martin Novák
ada0a56d0b
Update godot-gifexporter submodule. ( #237 )
2020-05-17 03:16:23 +03:00
Hugo Locurcio
29a4d218af
Update AppStream metadata for the 0.7 release ( #236 )
2020-05-16 20:36:00 +03:00
OverloadedOrama
c02cda6b10
Made tool keyboard shortcuts fire on action release
2020-05-16 19:59:02 +03:00
Manolis Papadeas
3b8a790cfb
Update README.md
2020-05-16 15:17:21 +03:00
OverloadedOrama
d0825495d1
v0.7 - The Timeline Update!
2020-05-16 14:48:13 +03:00
Manolis Papadeas
8a27bbca49
New Crowdin translations ( #233 )
...
* 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)
* New translations Translations.pot (Russian)
* New translations Translations.pot (Chinese Simplified)
* New translations Translations.pot (German)
* New translations Translations.pot (Polish)
* New translations Translations.pot (Italian)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* New translations Translations.pot (Turkish)
* 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 (Chinese Simplified)
* New translations Translations.pot (Polish)
* New translations Translations.pot (Russian)
* New translations Translations.pot (Russian)
* 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 (Polish)
* New translations Translations.pot (Esperanto)
* New translations Translations.pot (Italian)
* New translations Translations.pot (Russian)
2020-05-16 13:49:46 +03:00
Aaron Franke
7f3902be92
Update gitignore ( #234 )
2020-05-16 13:48:23 +03:00
OverloadedOrama
528b444101
Changed icon
2020-05-15 22:07:07 +03:00
OverloadedOrama
ea52b7b129
Updated changelog link in Main.gd
2020-05-15 20:49:48 +03:00
Manolis Papadeas
50204cc922
Update and rename Changelog.md to CHANGELOG.md
2020-05-15 20:47:35 +03:00
OverloadedOrama
35e1071b5b
Updated splash screen translation strings
2020-05-15 17:20:30 +03:00
OverloadedOrama
a3ec615b0a
Updated splash screen - Added Wishdream's art
...
Congratulations to Wishdream for being the winner of the first splash screen art contest in our Discord server.
2020-05-15 16:20:23 +03:00
OverloadedOrama
ede68d7bf4
Made focus_mode = 0 for the tool buttons
2020-05-13 16:37:46 +03:00