OverloadedOrama
aa4a769088
Importing brushes from the Brushes folder now looks inside the subfolders too
...
But not the subfolders of the subfolders. Also moved the code of brush importing from Main.gd to Import.gd
2019-12-26 19:01:08 +02:00
OverloadedOrama
f0feb2f024
Fixed issues when removing a palette color in EditPalettePopup
...
Also updated _on_AddSwatchButton_pressed() to pass the button itself instead of its index, on new_button.connect()
2019-12-26 02:28:47 +02:00
OverloadedOrama
9b73e4f661
Edit palette fixes
...
- If the palette has colors, automatically select the first one
- When adding a new color button, take the color currently selected on the picker instead of white
- Fixes issues with drag&dropping color buttons. The color that was dragged remains selected.
2019-12-26 02:01:04 +02:00
OverloadedOrama
4a2c0eb291
Added sliders next to spinboxes for the brush color from & LightenDarken amount
2019-12-25 21:42:01 +02:00
OverloadedOrama
d4b42534bb
Added sliders for brush size & 2 new custom brushes
...
Also, in Canvas.gd's _draw() method, draw_set_transform() is called again after the circle brush drawings, to reset the transform to its default state.
2019-12-25 21:17:29 +02:00
OverloadedOrama
06e0d74c14
Added proper circle brush - Bresenham's Circle Algorithm
...
The circle's radius is the brush's size. Respects image/selection boundaries, works with mirror. A special plot_circle() method is found on Global, to calculate the rectangles used by the mouse cursor/position indicator.
2019-12-25 20:27:25 +02:00
Martin Zabinski
7d93e4c076
Fix wrong type to run with Godot 3.2 beta
2019-12-25 03:22:15 +01:00
OverloadedOrama
d3ff1e984b
Added diagonal outlines, changed paint all pixels of the same color to respect selection
2019-12-25 02:53:45 +02:00
OverloadedOrama
a06dbdb9fc
Added Black & White, put Scale/Crop Image and Flip Horizontal/Vertical from Edit to Image
2019-12-25 01:43:21 +02:00
OverloadedOrama
ba4ee3418d
Enchanced Layer Opacity UI- Added Spinbox next to Slider
2019-12-25 00:23:45 +02:00
OverloadedOrama
ed2e757c11
Layer Opacity - Change alpha of each layer
...
Added a slider under the layer add/remove/etc buttons that changes the currently selected layer's transparency. It gets saved in .png and .pxo files, while respecting non-opaque pixels in the image too. Which means, their alpha values aren't being overwritten.
2019-12-24 23:51:08 +02:00
OverloadedOrama
aa860960e2
Fixes #54
2019-12-24 20:49:07 +02:00
OverloadedOrama
b8c92f629b
Invert colors under Image menu
2019-12-24 19:38:36 +02:00
OverloadedOrama
d0c890a63f
Fixed bug in outlines where some pixels might be outside the image boundaries
2019-12-24 17:52:58 +02:00
OverloadedOrama
ea97ec85f8
Added outline generation, under new "Image" menu
...
You can currently change outline color & thickness
2019-12-24 16:48:07 +02:00
OverloadedOrama
02f5bd0f5b
Fixes #90
2019-12-24 13:52:46 +02:00
OverloadedOrama
1f2d8406c2
Text under frames and TimelineSeconds color change on different themes
2019-12-24 04:37:17 +02:00
OverloadedOrama
bfd64a6b84
Re-organized the right panel, fixed spaces in palette buttons, made AddPalette a TextureButton
2019-12-24 04:28:45 +02:00
OverloadedOrama
014afc47fb
Fixed variable shadowing warnings in some palette scripts
2019-12-24 04:08:16 +02:00
OverloadedOrama
27ab9d14d7
Added texture for the palette buttons
...
Add palette needs to become a TextureButton though.
2019-12-24 04:01:58 +02:00
OverloadedOrama
5358d0f6f8
Custom UI button textures for the Light theme
2019-12-23 02:16:34 +02:00
OverloadedOrama
60a51e0812
Added light theme to preferences
2019-12-22 23:36:02 +02:00
OverloadedOrama
ba9ee9bdd8
Changed normal textures of light theme UI buttons
2019-12-22 20:50:37 +02:00
OverloadedOrama
2ea71475ea
Fixed crash in Palette.gd where json files for palettes may not have had "comments" and "editable"
...
Also updated com.orama_interactive.Pixelorama.appdata.xml
2019-12-21 22:24:39 +02:00
CheetoHead
5f434e7d33
Merge remote-tracking branch 'upstream/master'
2019-12-21 10:50:28 -05:00
OverloadedOrama
f4a62f227f
Changed transparent background and default clear color for Godot's theme
2019-12-21 05:03:57 +02:00
OverloadedOrama
c6ded721d1
Canvas transparent background changes on dark & gold themes
...
It's also in Global.gd instead of Canvas.gd
2019-12-21 04:56:48 +02:00
OverloadedOrama
d08841da62
Remove frames with middle click
2019-12-21 04:20:55 +02:00
OverloadedOrama
f69cd0ff94
Default clear color changes on Gold theme
...
Also made buttons' texture_pressed change between themes
2019-12-21 04:17:39 +02:00
OverloadedOrama
238bb3b488
Made Timeline & Tool buttons change depending on theme type
...
Changed "LayerButtons" group to "UIButtons", as it includes most UI buttons.
2019-12-21 03:50:09 +02:00
OverloadedOrama
8058cf2f55
Button textures change based on their filename and not their node name
...
Restored layer nodes back to their previous names
2019-12-21 03:27:11 +02:00
OverloadedOrama
23b83c8864
Asset re-organization, added light theme button textures
...
Most haven't been implemented yet, this commit just adds files
2019-12-21 03:17:37 +02:00
OverloadedOrama
f08d6c8708
Layer buttons change depending on theme
...
2 theme types, dark and light. 2 types of graphics for the layer buttons for each theme type.
2019-12-21 03:02:57 +02:00
OverloadedOrama
c159eda437
Layer graphics for the light theme, renamed dark layer graphics, removed unecessary graphics
...
Also put hover textures for layer visible/invisible
2019-12-21 02:20:23 +02:00
OverloadedOrama
e69000b13d
Renamed Light Theme to Gold Theme
...
A new light theme (which will probably be less yellow-y) will be added.
2019-12-21 01:33:02 +02:00
CheetoHead
33551c4d81
Merge remote-tracking branch 'upstream/master'
2019-12-20 15:23:14 -05:00
CheetoHead
770c633db2
Added GPL importer, new palette classes for clarification
2019-12-20 15:22:52 -05:00
Overloaded
22a2b4133e
Merge pull request #81 from YeldhamDev/translation_brazilian_portuguese
...
Add brazilian portuguese translation
2019-12-20 18:56:58 +02:00
OverloadedOrama
8e20ad995c
Keep current font when changing theme
2019-12-20 18:44:51 +02:00
Michael Alexsander
8da4b78d30
Add brazilian portuguese translation
2019-12-20 13:25:02 -03:00
OverloadedOrama
c3e75496d6
Theme preferences now get saved in the config_cache file
2019-12-20 16:36:23 +02:00
OverloadedOrama
2fc9711788
Added Light theme in Preferences
...
Light theme is still work in progress
2019-12-20 15:32:43 +02:00
OverloadedOrama
abee0653d6
3 themes available under Preferences, changed theme organization
...
Dark theme (default), gray theme, Godot's theme
2019-12-20 05:22:03 +02:00
Overloaded
ccbbe779ea
Merge pull request #76 from YeldhamDev/ruler_vertical_values
...
Make the vertical ruler show its values vertically
2019-12-20 02:33:49 +02:00
Michael Alexsander
7d1b72aa58
Make the vertical ruler show its values vertically
2019-12-19 19:23:08 -03:00
Michael Alexsander
9dc5c53f7e
Keep "View" menu visible when toggling items
2019-12-19 18:14:08 -03:00
OverloadedOrama
80f7a0ca13
Added Shift+Ctrl+Z as a secondary shortcut for Redo
2019-12-19 17:07:26 +02:00
OverloadedOrama
69392ff34b
Constrained angles on straight lines while pressing Ctrl
2019-12-19 15:50:41 +02:00
Schweini
2cce289b0b
Change Redo shortcut
2019-12-19 11:34:26 +01:00
OverloadedOrama
a76bfcef48
Straight lines now paint the target pixel too
...
They also start at the middle of the pixel, rather than the last mouse position in general
2019-12-19 03:38:14 +02:00
OverloadedOrama
91b21a52f5
Angle between last drawn pixel and line is now appearing on the top when drawing a straight line
...
Also straight lines work with LightenDarken now, and moved the Seconds Timeline a bit to the left
2019-12-19 03:15:23 +02:00
OverloadedOrama
3cf44a6d55
Created basic theme changing under Preferences
...
Also fixed bug where Global.can_draw wasn't being set to true after PreferencesDialog was hidden
2019-12-19 01:18:57 +02:00
OverloadedOrama
432c9690ff
PreferencesDialog is now a scene of its own
...
We should change the organization of the project, and use multiple saved scenes instead of everything being on Main.tscn.
Also restored "X" as a shortcut for color switch, because that somehow got lost.
2019-12-18 18:12:44 +02:00
CheetoHead
9a65960994
Import palette file dialog added
2019-12-18 09:43:11 -05:00
CheetoHead
18b9480a00
Merge branch 'master' into palette_updates
2019-12-17 19:49:28 -05:00
CheetoHead
3191e3f8c8
Add new palette updates 1
2019-12-17 19:49:20 -05:00
OverloadedOrama
6220ad82bc
Frame number labels change color when selected
2019-12-18 00:53:06 +02:00
Hugo Locurcio
5d912d27f6
Simplify the Command key mask binding
...
`KEY_MASK_CMD` is automatically remapped by Godot to `KEY_MASK_CTRL`
or `KEY_MASK_META` depending on the OS.
2019-12-17 21:45:34 +01:00
OverloadedOrama
9289cb350d
Replaced sub_key_mask with KEY_MASK_CTRL because it lead to a crash
2019-12-17 22:35:16 +02:00
Overloaded
f3c77e30d0
Merge pull request #69 from AndreevAndrei/master
...
[hotkeys] Add cmd-key supporting for macOS, closes #67
2019-12-17 22:28:48 +02:00
Andreev Andrei
545aaf97c1
[hotkeys] Add cmd-key supporting for macOS, closes #67
2019-12-17 23:23:55 +03:00
OverloadedOrama
7dd67e7130
Put Traditional Chinese to Preferences and changes font when choosing Chinese
2019-12-17 19:52:09 +02:00
OverloadedOrama
bfcb52a2f0
Put Russian in preferences & in Project Settings
2019-12-17 13:10:42 +02:00
Overloaded
c32ad873a6
Merge branch 'master' into master
2019-12-17 13:02:41 +02:00
Andreev Andrei
cda19952f5
[languages] Add Russian language, closes #63
2019-12-17 12:05:40 +03:00
OverloadedOrama
3a29a729e9
Re-added Polish in Preferences and in Main.gd's loaded_locales
2019-12-17 04:22:39 +02:00
Overloaded
329099fed4
Merge branch 'master' into palette_updates
2019-12-17 04:07:44 +02:00
OverloadedOrama
c9071f30eb
Changed brush color interpolation and LightenDarken amount's range from 0-100, instead of 0-1
2019-12-17 04:01:38 +02:00
CheetoHead
73830832ce
Update PaletteContainer.gd
2019-12-16 20:47:19 -05:00
CheetoHead
97efa20055
Merge branch 'master' into palette_updates
2019-12-16 20:36:06 -05:00
CheetoHead
b094c6595f
Added edit palette menu and custom file saving
2019-12-16 20:23:18 -05:00
OverloadedOrama
1ee38494e3
Changed default cursor shape for the rulers, because they were in the wrong direction
2019-12-17 00:04:25 +02:00
CheetoHead
388352467b
Updated remove button to be disabled for default palettes
2019-12-16 10:48:23 -05:00
CheetoHead
b40f8f0513
Merge branch 'master' into palette_updates
2019-12-16 10:23:46 -05:00
CheetoHead
b57e2c3c74
Palette switching bug fix
2019-12-16 10:14:16 -05:00
OverloadedOrama
9f1779893d
Changed default cursor shape for the rulers, to indicate that they are interactive
2019-12-16 16:00:02 +02:00
OverloadedOrama
0570fc7351
Moved color preview under color picker
...
This closes #53
2019-12-16 15:36:33 +02:00
OverloadedOrama
6c14a7d5e2
Fixed issue where the brush type select popup window chose brush type for the right tool instead of the left
2019-12-16 02:02:49 +02:00
OverloadedOrama
ed42cdaef1
Fixed palette issue where, when you changed palette, you would still select colors from the Default palette
...
Also removed "pass" from the methods, since their purpose is to prevent errors from empty functions and they don't do anything else besides that.
2019-12-16 00:14:17 +02:00
Hugo Locurcio
fd9bf26695
Darken the UI when exiting the application
...
This improves user experience a bit when quitting Pixelorama,
especially on slower hardware.
2019-12-15 21:47:32 +01:00
Overloaded
f97818d134
Merge branch 'master' into line-tool
2019-12-15 17:49:47 +02:00
OverloadedOrama
396f32735c
Fixed some translation issues
2019-12-15 17:40:38 +02:00
Subhang Nanduri
632a0c8dd3
Fix for crashes that occur when using selection tool and line tool
2019-12-15 10:19:58 -05:00
OverloadedOrama
00ef80e932
Fixed problem with drawing and filling gaps, created "shift" in Input Map
...
previous_mouse_pos is now used for regular drawing, while previous_mouse_pos_for_lines is used for straight lines
2019-12-15 14:07:28 +02:00
OverloadedOrama
f3ab5960ba
Imported German translation in the Project Settings
2019-12-15 13:44:53 +02:00
Overloaded
52f9683223
Merge branch 'master' into palette_updates
2019-12-15 13:36:46 +02:00
Subhang Nanduri
40dfe544d8
Changed line tool so it activates by pressing shift after last draw
2019-12-15 02:09:14 -05:00
CheetoHead
f2e858866e
Added another palette option and got the selector button working
2019-12-15 00:06:04 -05:00
CheetoHead
582ee8e790
Additional changes w/ merge from master
2019-12-14 22:35:31 -05:00
CheetoHead
4c3b43d350
Merge branch 'master' into palette_updates
2019-12-14 22:19:17 -05:00
CheetoHead
51e26f6efa
Loading palettes from json file in user folder
2019-12-14 22:11:32 -05:00
OverloadedOrama
482c06753e
Made color palette buttons work for the right mouse button too
...
Also fixed issue where the custom brushes' color wasn't being updated, and re-added French as an option in the preferences.
2019-12-15 03:15:01 +02:00
CheetoHead
8da50296a2
Added Palette
2019-12-14 18:18:45 -05:00
Hugo Locurcio
c4ca26c013
Fix compatibility with Godot 3.1
...
This closes #35 .
2019-12-14 23:21:55 +01:00
OverloadedOrama
a4b7fe2205
Implemented a fix for UndoRedo leak ( #34 ) - Thanks to qarmin!
2019-12-13 00:19:28 +02:00
OverloadedOrama
87cddbce06
Fixed LightenDarken drawing bugs
2019-12-11 02:47:54 +02:00
OverloadedOrama
719d29526f
Updated custom tool cursors & changed rectangle selection tool
...
- Also fixed a small translation bug with the menu items, for real this time
- Fixed a bug with the brush color not being updated when using the custom color picker tool
- The pixel indicators only appear for Pencil, Eraser and LightenDarken tools
- Small UI margin changes.
2019-12-11 01:00:26 +02:00
OverloadedOrama
1bd8ec4ae0
Added 2 small sprites below the cursor for the selected tools
...
Instead of having a tool icon as a cursor for the left tool only
2019-12-10 19:56:16 +02:00
OverloadedOrama
e26fd5077d
Made guides thicker so they won't disappear on certain zoom levels
2019-12-10 18:31:55 +02:00
OverloadedOrama
e157b33e1d
Fixed bug where if Pixelorama started with Greek and went to English, the menu items would remain in Greek
2019-12-10 14:28:19 +02:00