Manolis Papadeas
de6f78b058
Fix crash when importing an image file as a new frame
2020-12-09 18:07:12 +02:00
Laurenz Reinthaler
da214efc53
Change shortcut key from CTRL to CMD on OSX ( #393 )
2020-12-05 16:10:40 -08:00
Laurenz Reinthaler
e0b010867a
Allow moving the canvas through panning and zooming through a zooming gesture ( #391 )
2020-12-04 17:41:16 -08:00
Manolis Papadeas
e9de204736
Update AboutDialog.gd
...
Clean code by putting `create_item` lines of code into their own methods and update missing translators
2020-12-03 23:40:09 +02:00
Manolis Papadeas
46939bd74d
Check the correct tile mode button in View > Tile Mode when changing between projects
...
Also changed the buttons to radiobuttons
2020-12-03 03:49:53 +02:00
Manolis Papadeas
b1e8bf98d2
Made TransparentChecker shader material unique for the main two viewports
...
Fixes #377 . The issue was that the shader material was being shared with the background of the cel buttons, and when the cel button transparent background was resized, the canvas transparent background was also affected.
2020-11-26 02:05:05 +02:00
Manolis Papadeas
512507e2c7
Fix "It's not a reference to a valid Image object" error when resizing canvas for the first time
2020-11-26 01:22:11 +02:00
Manolis Papadeas
4d85cf1a10
Symmetry guides now adjust their position when the image is being resized
...
Fixes #379
2020-11-25 21:59:18 +02:00
Manolis Papadeas
54c6c86099
When opening a .pxo project which has guides, they will no longer be added to the project at the first tab too
2020-11-25 18:25:56 +02:00
Manolis Papadeas
37ee4856ff
Fixed an issue with brushes
2020-11-25 01:21:28 +02:00
AbhinavKDev
96454a2d57
Handiling tile modes in each project ( #388 )
...
* Handiling tile modes in each project
Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-11-24 08:53:18 -08:00
Manolis Papadeas
d7008362b5
Added a "Mirror View" option in the View menu
...
Which is used to flip the canvas horizontally and non-destructively. Closes #227
2020-11-23 18:53:21 +02:00
Manolis Papadeas
bcd86bd655
Update AboutDialog.gd
2020-11-20 04:23:46 +02:00
Manolis Papadeas
257b8d4aa6
Onion skinned previous and next frames are now being drawn on top of the current frame
2020-11-19 02:01:43 +02:00
Manolis Papadeas
c39bfe992b
Remove wront hint_tooltips from the Preferences
2020-11-18 19:11:48 +02:00
Manolis Papadeas
22f4796251
Fix LightenDarken's Hue Shifting colors
...
- All colors move towards yellow when lighting, and purple when darkening. The logic has become more complex, so it doesn't just increase (or decrease) the hue when lighting (or darkening). This solves issues with green and blue.
- Added limits to the hue when lighting and darkening, limits to the value when darkening, and to the saturation when lighting.
This behavior should eventually be documented to explain how it works to the users.
2020-11-17 04:18:36 +02:00
Darshan Phaldesai
397ef566db
Added Fix for new Tile modes ( #384 )
2020-11-16 10:57:35 -08:00
Manolis Papadeas
76772d3c64
Fixed bug with ImageEffect previews and different projects
...
When the user switched from one project to another, which had a larger size, the preview of the ImageEffect was trying to set pixels out of bounds, only when the affect option was different than "Current cel"
2020-11-16 00:56:03 +02:00
AbhinavKDev
9768372dcc
The minimum no of onion skin to the future and past is set to 0 ( #380 )
2020-11-15 05:45:10 -08:00
Manolis Papadeas
6feea6dd3f
Fixed untranslated palette string
2020-11-14 15:24:24 +02:00
AbhinavKDev
de4634e22d
Improved the tiling feature ( #378 )
...
* Improved tiling feature
* Removed some unwanted code
* Fixed the bug mentioned by overloaded
* Added the requests by overload
* changed the y value which was given x value before
2020-11-13 10:12:20 -08:00
Manolis Papadeas
4be0740170
Fixed crash when loading a pxo older of 0.8.1 and selecting a frame other than the first
...
Had to do with Project.frame_duration not having as array members as it should.
2020-11-12 02:16:08 +02:00
Manolis Papadeas
28ca2cd87e
Small improvements and bug fixes to the Display Scale option
...
When clicking Apply, the zoom level now gets fit to the frame, and the Preferences dialog keeps its focus and its tabs.
2020-11-10 01:32:27 +02:00
Manolis Papadeas
03d0525794
Disable "Recent projects" on the Web version
2020-11-10 01:14:35 +02:00
Manolis Papadeas
f259ceb5e6
Change "Shrink GUI" to "Display Scale" and its step to 0.1
2020-11-09 14:15:42 +02:00
Manolis Papadeas
17b3ed4e88
Moved "Shrink GUI" option from Startup to Interface
...
Themes are also in the Interface category now, in the Preferences
2020-11-09 01:52:53 +02:00
Manolis Papadeas
267c9f292c
Update CHANGELOG and AboutDialog
2020-11-09 01:18:51 +02:00
Manolis Papadeas
fad41bd27b
Fix Hue Shifting not working on exported builds
2020-11-07 23:03:37 +02:00
Manolis Papadeas
bd10680f63
Minor changes to the shrink option
2020-11-07 19:12:31 +02:00
gschwind
279228daba
Implement shrink option ( #376 )
...
* Add shrink option that allow change default shrink
Shrink option allow to scale the godot application. This path enable
dynamic change of this value in the options.
* Fix the computation of cursor location
For an unknown reason the function get_local_mouse_position return
incorrect current_pixel when shrink is not 1. This path compute the
transformation manually and povide correct values for any shrink value.
2020-11-06 17:57:35 -08:00
Manolis Papadeas
922c48f50e
Fix LightenDarken issue where it did not remember some options when switching tools
2020-11-03 00:43:48 +02:00
Manolis Papadeas
ebb6d74d9f
Using the lighten/darken on pixels with an alpha value of 0 no longer has an effect on them.
2020-11-02 20:07:31 +02:00
Manolis Papadeas
b1b4497ae8
The lighten/darken tool now has a hue shifting mode - Closes #189
2020-11-01 16:00:18 +02:00
Manolis Papadeas
cff3f9f6b2
Fixed issue where imported projects were not remembering the directory_path and file_name when switching tabs.
2020-10-29 22:35:20 +02:00
Manolis Papadeas
7dd9b36cdc
Move "Recent projects" up, just below "Open last project" in the File menu
2020-10-29 22:33:15 +02:00
Manolis Papadeas
00a4722966
Small UI fixes to the HSVDialog
2020-10-29 22:25:31 +02:00
Manolis Papadeas
b5df8a7ac5
Move the notifications a bit to the left
2020-10-29 16:46:58 +02:00
Manolis Papadeas
0d5b4416a4
Changed CJK font and fixed some character issues
...
- The CJK font (for Chinese & Korean) was changed to DroidSansFallback from NotoSansCJKtc. This results in a much smaller exported `.pck` (over 10MB less)
- Fixed Chinese and Korean characters not displaying properly in the Splash dialog and the About dialog.
2020-10-29 00:45:23 +02:00
Manolis Papadeas
4415f86c56
Update CHANGELOG & AboutDialog, trim trailing whitespaces
2020-10-27 23:03:43 +02:00
dasimonde
7126074a0e
Add feature request #276 ( #370 )
...
* Add request #276
* Remove a warning message
* Some fixes
* Bug fix. Remove Global.save_project_to_recent_list() from src/Main.gd
Co-authored-by: Daniel Simon <dasimon@gmx.org>
2020-10-26 13:51:55 -07:00
dasimonde
d85efce73a
Add feature request #358 ( #368 )
...
* Add feautre request #358
* Remove the if statement in src/UI/Canvas/TileMode.gd
Co-authored-by: Daniel Simon <dasimon@gmx.org>
2020-10-25 16:10:14 -07:00
Manolis Papadeas
ab6bebd6d4
When there are errors in opening and saving files, the errors appear in the form of a popup dialog, instead of a notification or an OS alert.
2020-10-25 18:02:51 +02:00
Manolis Papadeas
9be6248024
The default path of the dialogs for opening and saving is now the user's desktop folder
2020-10-25 03:26:31 +02:00
Manolis Papadeas
4e33476a4d
Fixed "Export" option in the File menu not working properly when switching between projects
...
Export.was_reported was keeping its value when switching projects, instead of being project-specific. Also fixed issue where imported images were not remembering the directory_path and file_name when switching projects.
2020-10-25 00:58:37 +03:00
Manolis Papadeas
e6da4d2b30
Update changelog, translations & AboutDialog
2020-10-24 22:42:53 +03:00
Manolis Papadeas
96fc2aa12d
Fixed issues where fully transparent color could not be picked
...
More specifically, the color picked sometimes failed to pick transparent color (and picked black instead), swapping between colors when one of them is fully transparent made it fully opaque, and also when picking a color from a palette which was fully transparent made it fully opaque.
Closes #364
2020-10-23 20:18:39 +03:00
Manolis Papadeas
df7a650137
Fixes #363
2020-10-23 18:11:08 +03:00
Manolis Papadeas
cce4fa4cbb
Added more options to the Rotate Image dialog
...
Now all of the image effects (except those related to resizing) have the same affect options.
2020-10-23 17:50:52 +03:00
Manolis Papadeas
b3aa4a6343
Fixed crash when creating a new project
...
Caused by #357
2020-10-23 17:44:37 +03:00
Rémi Verschelde
d41751d39c
Use '~' prefix instead of '%' for random brushes ( #362 )
...
Fixes #337 .
2020-10-21 19:07:49 +03:00
OverloadedOrama
e94bcf50e0
Made pxo saving a bit safer
...
It now first attempts to serialize the project data and turn them to JSON, and then opens the file. This is a lto safer because, if a crash happens in the serialization, the file is not already open, and therefore it does not get corrupt. Earlier, if a crash happened, the file would be empty. This meant that if that file existed previously, all of the data would be lost.
2020-10-20 03:27:38 +03:00
PinyaColada
852365c38f
Frame properties ( #357 )
...
* Sync for my local files to my repository
* This is frame properties update, it works but I can't be stored while
saving or loading and that makes crashes just the beggining :)
* I forgot this files :P
* Frame Properties update.
* Updating frame properties
* Update Translations.pot
* Changes to CanvasPreview and CelButton change
2020-10-19 17:57:40 +03:00
Manolis Papadeas
f5cf3f3ca7
Only grab guide focus when they're visible
2020-10-19 00:04:06 +03:00
OverloadedOrama
320f1a4da2
Update v0.8.1
2020-10-14 16:15:30 +03:00
OverloadedOrama
b67e2b3d7d
Update AboutDialog.gd
2020-10-14 13:44:23 +03:00
OverloadedOrama
37a8f51249
Added a warning dialog when clicking the remove palette button
...
This prevents accidental palette deletions
2020-10-13 14:30:51 +03:00
PinyaColada
97847a94c7
Sync ( #346 )
2020-10-09 13:19:36 +03:00
OverloadedOrama
0506701874
Updated translations & changelog, added PinyaColada to the contributors list
2020-10-09 00:16:00 +03:00
PinyaColada
64eb4f27ce
Cut option ( #345 )
...
* I Made the cut function, his respective shortcut <c-x> and the appearence of the function in the top
bar in edit.
* Update Main.tscn
2020-10-08 18:05:33 +03:00
OverloadedOrama
f15578fbe6
Added Hugo Locurcio in splash screen & in About dialog as a $10 patron
2020-10-07 17:01:36 +03:00
OverloadedOrama
e5c371cf88
Added error code to pxo open/save error messages
2020-10-06 04:37:43 +03:00
OverloadedOrama
3be5f27c5c
Added more options for creating palette from sprite
...
Creating palettes from sprites has been enhanced - you can now choose if you want to get colors from the selection, current cel, entire frame or all frames, and if you want the colors to have an alpha component.
2020-10-06 01:18:33 +03:00
OverloadedOrama
fbbdcdaa57
Made the frame move buttons get disabled when you can't move frames
2020-10-05 02:37:55 +03:00
Laurenz Reinthaler
0f8a04193f
Add buttons for moving the current frame left or right ( #344 )
...
Add dark theme sprite
Add light theme sprite
Co-authored-by: Laurenz Reinthaler <reinthalerlaurenz@gmail.com>
2020-10-03 22:46:24 +03:00
OverloadedOrama
1ca4b6a199
Fix positioning of the restore default button in Preferences
2020-10-01 22:57:03 +03:00
OverloadedOrama
63410bdb46
Attempting to fix error code 23 when exporting png files
2020-10-01 21:27:08 +03:00
OverloadedOrama
54cfecacc4
Guides now move with a step of 0.5 pixels
2020-09-30 13:12:01 +03:00
Erevos
41a9107c45
Theme edits ( #342 )
...
* Theme edits
Changed all the themes to be more consistent, buttons and panel containers have rounded edges. Note that the spacings have been switched too, so it needs subtle remakes in the placing of each element. Especially the tool buttons. Also check the themes on preferences (need better spacing) and rulers are not included.
* Some UI fixes
* Reduced size of themes
* Fixed more spacing issues and replaced timeline grabber icon
* Removed old theme icons
* Change purple and light rulers
* Fix purple top menu & caramel rulers
Co-authored-by: Erevoid <Erevoid@users.noreply.github.com>
Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
2020-09-29 18:00:43 +03:00
OverloadedOrama
da24133a4d
Fixed crash where the animation was playing in the mini canvas preview and then the user switched to a project with less frames
2020-09-28 01:09:11 +03:00
OverloadedOrama
4f1c19563b
When moving tabs, the projects now move along with their respective tabs
2020-09-28 00:56:58 +03:00
OverloadedOrama
21d4e177eb
Another attempt to fix #339 - Remove default texture from BrushTexture
...
In BrushButton.tscn
2020-09-27 21:48:06 +03:00
OverloadedOrama
10b082434b
Removed brush_button.png - May solve #339
2020-09-27 20:35:46 +03:00
OverloadedOrama
3aaee48369
Fix canvas preview zoom and play button not working
2020-09-23 20:30:33 +03:00
OverloadedOrama
1fc7cc151d
v0.8 - The multiple project & Web update!
2020-09-23 16:51:08 +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
9617d18bc8
Don't create guides if they have less than 2 points
2020-09-21 19:19:41 +03:00
OverloadedOrama
6157fd3355
Improve canvas preview UI
2020-09-15 00:01:21 +03:00
OverloadedOrama
edf7e43bb8
Update size label when changing project or scaling
2020-09-14 17:51:35 +03:00
OverloadedOrama
f91cb41049
Fixed zoom issues with SymmetryGuide
2020-09-08 00:12:09 +03:00
Darshan Phaldesai
2bb7cab76b
Created dummyBtn which holds the ButtonGrp ( #329 )
...
* Created dummyBtn which holds the ButtonGrp
Also added the swatch Buttons to the same group.
* Bug Fixes
Also Updated the EditPalettePopup since it uses the PaletteButtons.
2020-09-07 16:32:10 +03:00
OverloadedOrama
e0fb942c7c
An even better fix for loading backups
2020-09-05 22:27:11 +03:00
OverloadedOrama
497f0e03cb
Fixes issue when saving a pxo and removing its backup
...
Supersedes #327
2020-09-05 21:55:12 +03:00
OverloadedOrama
aa3637cc41
Fixed crash when loading backups
...
backup_paths can have more elements that backup_save_paths, which caused crashes if a backup file did not exist.
2020-09-05 19:13:43 +03:00
OverloadedOrama
d59ad5937d
Enter v0.8 Release Candidate stage
2020-09-05 13:39:32 +03:00
OverloadedOrama
cab057b73c
Remove filter from PreviewDialog's TextureRect
2020-08-29 19:14:11 +03:00
OverloadedOrama
5932f83831
Rename "pixelorama" folder to "pixelorama_data" for non-XDG locations
...
Workaround for #248 and #321 .
2020-08-29 16:34:52 +03:00
OverloadedOrama
87ff964742
Updated list of contributors and translators
2020-08-28 21:26:29 +03:00
OverloadedOrama
0a0bf62bcd
Each Project has its own export path now
...
This could be buggy so it needs more testing.
2020-08-28 18:05:49 +03:00
OverloadedOrama
687819413d
Fixed regression where it was possible to draw on locked layers
2020-08-28 01:42:18 +03:00
OverloadedOrama
44ecf375fc
Removed duplicate code from the image effects and put it into the parent ImageEffect class
2020-08-28 01:20:07 +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
e673888529
Import pal palette files by dropping them into the app
2020-08-27 01:37:14 +03:00
OverloadedOrama
b53926724e
Made image effect dialog previews centered & made them expand vertically
2020-08-26 18:33:15 +03:00
OverloadedOrama
b52a7c224a
Put a transparent checker background to RotateImage dialog
...
Also made it extend the ImageEffect class.
2020-08-26 17:49:46 +03:00
OverloadedOrama
e88b62ea44
Fixed issue in HSVDialog where the TextureRect would resize on dialog resize
2020-08-26 16:12:35 +03:00
Darshan Phaldesai
60c5ec9ad5
Affect area now affects the previews. ( #320 )
2020-08-26 14:29:49 +03:00
Matthew Paul
719708fb10
Add transparent checker to export dialog and animation cels ( #318 )
...
* Add checker to export dialog
* Add checker to CelButton
2020-08-26 12:45:32 +03:00
Matthew Paul
348d758ef4
Add PAL palette format import ( #315 )
...
* Add PAL palette format import
* Move .pal selection into Dialog; Attempt HTML implementation
* Fix issue with HTML5 pal palette import.
2020-08-26 12:36:03 +03:00
OverloadedOrama
f121c39ddc
Put checker backgrounds to almost all image effect dialog previews
...
Also made them inherit ImageEffect, resulting in much less and cleaner code. Only RotateImage remains. Partially addresses #206 .
2020-08-25 19:49:18 +03:00
OverloadedOrama
2af677016e
Created an ImageEffect class
...
This will be the parent of all (or most) image effect dialog nodes. Currently only parent on FlipImageDialog, will change to be parent of the rest of the effects.
2020-08-25 19:07:12 +03:00
OverloadedOrama
b73937fd0c
Made HSVDialog a ConfirmationDialog node
...
To be consistent with the rest of the image effect dialogs
2020-08-25 18:49:12 +03:00
OverloadedOrama
a65fc0e00c
Added Romanian and Korean
2020-08-25 17:17:43 +03:00
OverloadedOrama
fe757b3393
Change the max value of the brush size slider to 25
...
The spinbox can still go up to 100px size.
2020-08-23 18:14:30 +03:00
OverloadedOrama
3a88a5c861
Change "Art by" translation string
...
Found in the splash dialog
2020-08-21 20:13:22 +03:00
OverloadedOrama
52effb12cd
Fix issue with project loading and not being able to draw outside of 64x64
...
Project.selected_pixels() did not get updated.
2020-08-20 01:27:21 +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
1ff32f2892
Fixed some leak issues with gdgifexporter
...
Made scrips extend Reference instead of Node
2020-08-19 01:01:00 +03:00
OverloadedOrama
14d958e55f
Moved tile mode drawing logic from Canvas to a new script
...
I mostly did it so I could move tile mode logic into a new node, so I could have control over the drawing order. TileMode.gd also always draws 8 blank rectangles, which are being drawn on top of the grid, in order to hide it if it gets out of boundaries. We are now very close to implementing an isometric grid, #305 .
This shouldn't have much of a performance impact, but some more testing is most likely needed.
2020-08-18 17:03:49 +03:00
OverloadedOrama
f2136236b1
Moved canvas indicator drawing to a new script
...
Cursor indicators now appear on top of the grid again
2020-08-18 16:35:05 +03:00
OverloadedOrama
92332cc52e
Move Canvas related files to a "Canvas" folder under "UI"
2020-08-18 16:21:31 +03:00
OverloadedOrama
15cc80bcf7
Updated translations and changelog
2020-08-18 00:01:45 +03:00
OverloadedOrama
35b2c201ae
Changed how isometric grid is drawn
...
Instead of drawing individual lines, execute draw_isometric_tile() multiple times. What this method does is basically draws a single isometric tile, which then gets repeated for the entire canvas size. Also moved all the grid logic to a new script, which gets updated less often that Canvas.gd, for optimization purposes.
Works better than the previous method, although it might be a bit slower, and currently does not work well if the canvas size is not divisible by the grid size. For now, it only gets affected by the grid width. Changing grid height has no effect.
2020-08-17 22:54:33 +03:00
Kinwailo
39808082b6
add follow canvas movement and scale option to transparent checker ( #311 )
2020-08-17 22:30:58 +03:00
OverloadedOrama
b998c87bcc
Made the isometric grid code a bit more clear with comments
...
This commit has no impact on the logic itself, just makes the code a bit easier to understand, hopefully.
2020-08-16 01:21:42 +03:00
OverloadedOrama
ff54d2db8e
Add a transparent background for flip image dialog preview
...
Seems to be working fine, will do the same for the remaining dialogs.
2020-08-16 00:07:56 +03:00
OverloadedOrama
0fbc2987ca
Generate theme buttons via code
...
Instead of having hardcoded nodes. This makes implementing new themes a bit easier.
2020-08-15 00:10:34 +03:00
OverloadedOrama
79bd015c19
Put top menu & ruler styles inside the themes
...
Instead of using stylebox files.
2020-08-14 00:22:49 +03:00
OverloadedOrama
fe2ed42819
Use VisualServer viewport for applying shader
...
This comes with the benefit that we no longer need a Viewport node in the ShaderEffect dialog, which lets us have the Preview TextureRect at a fixed size. Previously, the preview was scaled based on the image's size, which would make applying shaders to large images very inconvenient, since the dialog would be way too big.
2020-08-13 01:55:31 +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
d49c280179
Create language radiobuttons from script
2020-08-10 03:01:46 +03:00
OverloadedOrama
da656df5b7
Added more options to the Gradient Dialog
2020-08-08 19:02:49 +03:00
OverloadedOrama
e8683d75bf
Fixed export dialog path textedit not being updated when choosing a directory
2020-08-08 17:21:52 +03:00
OverloadedOrama
205e72f356
Gif exporting now works in HTML5
2020-08-07 11:01:27 +03:00
Martin Novák
f3bce3857a
Replace godot-gifexporter with godot-gdgifexporter ( #295 )
...
Add exporting in a separate thread and a progress bar
Remove background color option from gif export
2020-08-07 08:13:04 +03:00
Michael Alexsander
89cd1d972a
Set tool options containers' size flags to "Fill" ( #292 )
2020-08-06 12:27:20 +03:00
Michael Alexsander
f715b566b1
Fix out-of-bounds error when color picking outside the image ( #291 )
2020-08-06 12:13:45 +03:00
OverloadedOrama
65828b328a
Change window titles in image effect dialogs
2020-08-04 19:10:50 +03:00
azagaya
6d23f95d07
Added Scale3X algorithm as an option to scale sprites ( #290 )
2020-08-02 18:24:00 +03:00
OverloadedOrama
5bbea6fa03
Don't let preview animation play if there's only one frame
2020-08-02 01:54:12 +03:00
OverloadedOrama
7269b45fc5
Added play button and zoom slider for the small canvas preview
...
May also be a solution for the age old issue #25 .
2020-08-02 00:59:00 +03:00
OverloadedOrama
ebc9eab773
Added dialog with options for desaturation
...
Not sure if options for RGBA channels are really needed here, but I kept them from invert colors. We could remove them in the future if they are unneeded.
2020-08-01 04:24:11 +03:00
Martin Novák
6f645d996d
Refactor export dialog ( #288 )
...
* Split export code from export dialog to Export.gd autoload
Clean access to child nodes of export dialog
* Fix export variables set in Main.gd
* Fix more wrong variable assignments
Co-authored-by: alexhayoo <65853178+alexhayoo@users.noreply.github.com>
2020-07-31 23:26:52 +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
d4fe1f7b12
Moved image effect scene and script files into a new folder
2020-07-29 20:34:27 +03:00
OverloadedOrama
30cd607c65
Made "ImageEffects" node a separate scene
...
The ImageEffects node is the parent of all image effect dialogs
2020-07-29 20:06:20 +03:00
OverloadedOrama
bedede5970
Added more options to the OutlineDialog
2020-07-29 18:25:19 +03:00
OverloadedOrama
7e3fd089e4
Added color previews next to the themes in Preferences
2020-07-29 04:40:27 +03:00
OverloadedOrama
db606a5051
Added a dark texture for the restore to default button
...
For light & caramel themes
2020-07-29 03:36:19 +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
ec81950139
Experimental shader feature: Expose shader's float uniforms to the UI
...
If the loaded shader has uniforms, they will be exposed to the UI, so the users will be able to modify the shader parameters easily. Currently only works with float uniforms.
2020-07-28 04:11:06 +03:00
OverloadedOrama
8529e93029
Don't save erased guides in .pxos
...
This fixes a crash when saving a pxo with guides that have been removed
2020-07-27 20:03:15 +03:00
OverloadedOrama
8cca37e752
Hid some color picker presets from GradientDialog
...
And removed some code for setting preview texture flags to 0. The flags are already being set in create_from_image()
2020-07-27 04:47:29 +03:00
OverloadedOrama
94aa94a364
Added a preview in OutlineDialog
2020-07-27 04:36:00 +03:00
OverloadedOrama
4870ebc094
Added checkbox in OutlineDialog for affection selection
2020-07-27 04:11:46 +03:00
OverloadedOrama
062ce664ca
Unlock the image before getting its size in generate_gradient()
...
This *may* solve a rare crash related to memory.
2020-07-25 20:17:47 +03:00
OverloadedOrama
585f83e28a
Fixed Invert and Desaturate not working on the correct cel
2020-07-25 19:35:46 +03:00
OverloadedOrama
186e2259ac
[EXPERIMENTAL] Added ability to load a shader as an image effect
...
This new feature allows users to load a .shader file (must be a GLES2 Godot shader) that will modify the image itself. This feature is experimental and possibly buggy, not all shaders are working properly and I'm not sure yet why. As such, this feature may not be included in v0.8 stable.
2020-07-25 16:26:57 +03:00
OverloadedOrama
59122f6a13
Fixed issue in HSVDialog using the wrong selected pixels when affecting all projects
2020-07-24 03:53:24 +03:00
OverloadedOrama
2cb07fb848
Added option to affect all projects in the HSVDialog
...
HSVDialog should be ready now. These options will also appear in the rest of the image effects.
2020-07-24 03:41:10 +03:00
OverloadedOrama
95ccd42e48
Added option to affect all frames in the HSVDialog
2020-07-24 03:28:39 +03:00
OverloadedOrama
1ce89c6577
Added affecting options to the HSVDialog
...
First option is to affect the selected pixels only. The second it to affect the current cel, or the entire frame (all cels of the frame). Options to affect all frames and all projects will be added next. I also made changes to Canvas.handle_undo() and handle_redo() to make this work.
Once all these options are added successfully in HSVDialog, they will also be added in the rest of the Image effect dialogs.
2020-07-24 03:22:12 +03:00
OverloadedOrama
af915caf7a
Refactored adjust_hsv to be 3 times faster
...
adjust_hsv() now gets executed once instead of thrice. The results should be the same.
2020-07-23 04:39:23 +03:00
OverloadedOrama
46717692ef
Fixed mouse filter of the ImageEffects node
2020-07-23 04:38:09 +03:00
OverloadedOrama
462187a6c1
Grouped Image effect dialogs together in Main.tscn
2020-07-23 04:15:18 +03:00
OverloadedOrama
c7f50107d6
Fixed symmetry guide being off by one pixel
...
See https://github.com/Orama-Interactive/Pixelorama/issues/133#issuecomment-662328285
2020-07-22 15:07:02 +03:00
OverloadedOrama
d3cb0c2b17
Gave splash screen and camera_zoom() more time to get executed
...
This should make the splash screen properly centered on HTML5, and the canvas being always fit to frame when the program starts (in all platforms).
2020-07-22 00:11:33 +03:00
OverloadedOrama
8d9e1e8207
Fullscreen can be toggled on and off from the View menu
2020-07-21 22:11:25 +03:00
OverloadedOrama
81f9cb4769
Improved performance for bucket filling after the selected_pixels change
...
0f82be765e
should no longer have any performance issues left now.
2020-07-20 22:45:22 +03:00
OverloadedOrama
6c2b7f7067
Improved performance for drawing after the selected_pixels change
...
It should be as fast as before, if there's not a big selection.
2020-07-20 22:29:58 +03:00
OverloadedOrama
0f82be765e
Replaced the _min and _max Project variables with Project.selected_pixels
...
This will allow us to create more selection tools in the future, that aren't necessarily rectangular (See #129 ) and even enhance the current rectangle selection tool (See #56 )
Current issues spotted so far:
Drawing is slower for large images, and bucket filling is also considerably slower even on a 64x64 image. Optimizations are required.
2020-07-20 22:15:34 +03:00
OverloadedOrama
8c965c1858
Added ability to change gradient direction
2020-07-18 19:01:24 +03:00
OverloadedOrama
7aee58ec1a
Fixed gradient dialog crash
...
Occurred sometimes when trying to generate a gradient in a different project that has a different size.
2020-07-18 17:29:05 +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
826b4da177
Organized all Dialog nodes in Main.tscn under a parent "Dialog" node
...
Just to make the scene tree look cleaner.
2020-07-18 02:27:47 +03:00
OverloadedOrama
c6bc3d6d05
Change point limit of Guides from 99999 to 19999
...
This should prevent some bugs where the guide being dragged won't appear. Probably memory issues?
2020-07-16 05:36:17 +03:00
OverloadedOrama
740d7e237d
Made Symmetry Guides have dotted lines
...
Just to make them different from regular Guides
2020-07-16 05:35:31 +03:00
OverloadedOrama
a5a8bf1fe5
Turn Symmetry Guides visibility on and off if mirroring is enabled
...
Also fixed issue with "Show Guides" view menu option and having multiple projects with guides. Only think remaining is to make the Symmetry Guides look different than regular guides. Closes #133 .
2020-07-16 05:05:40 +03:00
OverloadedOrama
9fa91ffd8e
Added SymmetryGuides
...
Two special guides - one horizontal and one vertical - that let you change the axis of symmetry for mirroring. On the next commit(s) I will make them visible only if mirroring is toggled on. Almost solves #133
2020-07-16 04:25:59 +03:00
OverloadedOrama
7529e967e3
Selection no longer affects the mirroring point of symmetry
...
Instead, x_symmetry_point and y_symmetry_point are being used in Project.gd that determine the points of symmetry. This is necessary for #133
2020-07-15 21:23:15 +03:00
OverloadedOrama
70ba60cbaa
Have "untitled" be the default project name on save & export
2020-07-15 20:27:14 +03:00
OverloadedOrama
ebf19c7bfe
Disable "open last project" option in HTML5
2020-07-15 18:36:46 +03:00
OverloadedOrama
8ec3256ce6
Have "untitled" as default project name in SaveSpriteHTML5
2020-07-15 18:28:46 +03:00
OverloadedOrama
ea717cfea7
CreateNewImage now remembers the last created canvas size - Closes #178
...
The default image width, height and fill color are being used only when the program first launches. After that, if the user creates an image with changed settings, these settings are being kept.
2020-07-15 03:25:59 +03:00
OverloadedOrama
c6ccbd4868
Import image file as part of a random brush
...
The random brush gets loaded only if Pixelorama gets restarted. I'll see if I can change this somehow.
2020-07-14 03:33:01 +03:00
OverloadedOrama
1b561220b2
Merge brush_name_replace() and pattern_name_replace() to file_name_replace()
2020-07-13 22:13:21 +03:00
OverloadedOrama
8c02e696a9
Add hint tooltips for Project Brush buttons when importing them from image files
2020-07-13 21:59:25 +03:00
OverloadedOrama
c42a8a7219
Same as the previous commit but for Patterns too
2020-07-13 21:57:37 +03:00
OverloadedOrama
72f5ed1d2b
When importing a file brush and its filename already exists, add a number to its filename
...
Similar to 5df25c21c6
but for brushes.
2020-07-13 21:42:40 +03:00
OverloadedOrama
20f28ff492
Import project brushes from an image file
2020-07-13 21:17:08 +03:00
Kinwailo
fd3afbfebc
Add overwrite option to pencil. ( #282 )
2020-07-13 15:10:17 +03:00
OverloadedOrama
e04b79dd4b
Added pattern file name as a tooltip for their buttons
2020-07-13 03:44:08 +03:00
OverloadedOrama
b47685e857
Fixed importing brushes and patterns by opening file
2020-07-13 03:36:42 +03:00
OverloadedOrama
d099666abe
Fixed transparent background in ResizeCanvas dialog
...
It was always square, even on non-square image dimensions.
2020-07-11 03:19:52 +03:00
OverloadedOrama
d31509035f
Add a "Use ZSTD Compression" checkbox on Save Sprite dialog
2020-07-11 02:09:17 +03:00
OverloadedOrama
671536cbd7
Fixed bucket crash when there were no patterns
2020-07-09 15:52:59 +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
0713342c0f
Change "err" variable for HTML5 in OpenSave.save_pro_file()
2020-07-05 02:22:48 +03:00
OverloadedOrama
9464c7a953
Importing palettes is now possible in HTML5
2020-07-01 04:48:18 +03:00
OverloadedOrama
d02bb52d48
Removed some old code about pen pressure
2020-07-01 03:57:27 +03:00
OverloadedOrama
6e7b3610d0
Workaround for #275
2020-07-01 03:08:50 +03:00
OverloadedOrama
0bc26bbbae
Always ensure that directory_path is "user://" on HTML5
2020-06-30 22:36:03 +03:00
OverloadedOrama
7e3436d3ba
Loading image files is now possible in HTML5
...
Had to move some palette png code around in order to make it possible to use these image files as palettes. Hopefully loading .pxo files should be next. Addresses #280
2020-06-30 22:29:24 +03:00
OverloadedOrama
637a60d9ee
Saving .pxo files in HTML5 is now possible
...
Addresses #280
2020-06-30 20:25:43 +03:00
OverloadedOrama
a517f9178a
Fix png files not being recognized when being exported from the HTML5 build
2020-06-30 18:38:26 +03:00
OverloadedOrama
fb7c1a1874
Saving .png files is now possible in HTML5
...
Addresses #280 . Huge thanks to https://github.com/Pukkah/HTML5-File-Exchange-for-Godot
2020-06-30 18:32:16 +03:00
OverloadedOrama
6b26bb5b10
Removed custom blend_rect() method from DrawingAlgos
2020-06-30 15:07:09 +03:00