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
e1724148fc
Updated translations, Readme & Changelog
2020-07-05 02:24:07 +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
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
OverloadedOrama
9fbfbc7432
Fix wrong "Export" text changing on the File menu
2020-06-25 05:07: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
90d02ad75b
Have the ResizeCanvas width & height values the same as the project's size the first time
2020-06-24 04:02:19 +03:00
OverloadedOrama
89b6e3a989
Added a preview to the Resize Canvas dialog
2020-06-24 03:55:58 +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
8e2fe8dac3
Ability to import an image file as a pattern
...
Also moved some pattern importing code from Import.gd to Global.create_pattern_button()
2020-06-24 00:25:54 +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
31fae924bf
Removed import button from splash screen and fixed #265
2020-06-23 17:15:18 +03:00
OverloadedOrama
047561b95a
Added options for when importing an image as a new frame or layer
...
The user can now choose which layer they want the new frame to be, and, similarly, which frame they want the new layer to be when importing an image.
2020-06-22 15:57:42 +03:00
OverloadedOrama
40a01f1da3
Added import image as a new layer of the current project
...
Just realized that I forgot to add undo/redo support of importing images as new frame/layer, oops. Will fix next.
2020-06-21 21:20:39 +03:00
OverloadedOrama
f260971056
Added import image as a new frame of the current project
...
Will also add a way to let the user choose which layer the new cel of the imported image will be.
2020-06-21 21:02:03 +03:00
OverloadedOrama
597fdbc0c0
Removed ImportSprites dialog
2020-06-19 23:07:56 +03:00
OverloadedOrama
2a2de8ba62
Spritesheet preview lines now work properly for non-square images
2020-06-17 17:56:18 +03:00
OverloadedOrama
25d9aca0c4
Drag and drop palette files to open them
2020-06-17 16:47:24 +03:00
OverloadedOrama
f7cc9a8104
Added ability to import images as palettes
2020-06-17 03:56:46 +03:00
OverloadedOrama
063ea04b4c
If imported image size is less than 100px, limit the max value of the spritesheet frames
2020-06-17 03:34:24 +03:00
OverloadedOrama
28818171d4
Call Global.dialog_open when a PreviewDialog pops up/gets hidden
2020-06-17 02:58:24 +03:00
OverloadedOrama
8142647a69
Added Line2D nodes to cut the spritesheet preview
...
This helps in previewing how each spritesheet frame will look when it will be imported in Pixelorama. Note that this does not work well with non-square images at the moment.
2020-06-16 18:30:01 +03:00
OverloadedOrama
13613703fc
Importing spritesheets is possible again
2020-06-16 17:59:56 +03:00
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
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
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
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
60126e46d3
New image now creates a new tab/project
2020-06-05 04:30:50 +03:00
Manolis Papadeas
2e69e1a8c2
Merge pull request #257 from Orama-Interactive/refactoring
...
Last refactoring merge
2020-06-05 02:23:59 +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
OverloadedOrama
7371cd79e4
Fixed image effects
...
Also replaced flip_image_horizontal() and flip_image_vertical() with just flip_image()
2020-06-03 02:53:15 +03:00
OverloadedOrama
54b628f6cb
Made a Frame class, no longer use multiple Canvases for multiple frames
...
The Canvas is now single node, instead of having multiple canvases for each frame. This should also be a performance optimization, since there are less canvas nodes, so there are less _input() calls. It should also fix a rare Undo/Redo issue with motion drawing and making lines. Could be unstable, needs more testing.
As a side effect, the guides are now the same for all frames, so this should also close #246 .
2020-06-03 02:14:24 +03:00
OverloadedOrama
34bc528e97
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.
2020-06-02 05:14:05 +03:00
OverloadedOrama
df0032c515
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.
2020-06-01 18:50:31 +03:00
OverloadedOrama
a9ca858303
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.
2020-06-01 16:42:53 +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
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
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
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
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
c879633f4b
Change min value and step of autosave interval spinbox to 0.5
2020-05-18 16:53:38 +03:00
OverloadedOrama
d0825495d1
v0.7 - The Timeline Update!
2020-05-16 14:48:13 +03:00
OverloadedOrama
528b444101
Changed icon
2020-05-15 22:07:07 +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
7361e01b1d
Added forgotten translations, bumped version to rc3 and small dialog UI changes
2020-05-11 20:07:16 +03:00
OverloadedOrama
74f3644e17
Made "Scale Image" affect all frames
2020-05-11 17:43:58 +03:00
OverloadedOrama
62a695366a
Toggled autosave on by default, and open last project off by default
2020-05-11 16:15:59 +03:00
OverloadedOrama
5424472c95
Clear layers when importing an image that is not to be added as a new frame
2020-05-11 02:40:27 +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
OverloadedOrama
0cd8fa7ddf
Fixes critical bug with saving projects that contained linked cels
...
It used to save the linked cel array which contained the canvas nodes into the .pxo. This, however, does not make sense, because the canvas nodes are being recreated when a .pxo is loaded. Therefore, they are different nodes than they used to be.
Now, an array containing the frame numbers which have cels linked for each frame is being saved and loaded into the pxo.
2020-05-09 03:51:23 +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
7484ce1b9e
Added a Tween to make the background UI darker when a dialog is opened
2020-05-08 18:37:45 +03:00
OverloadedOrama
51b6aadbdd
Makes the background UI darker when a dialog is being opened
2020-05-08 03:10:23 +03:00
OverloadedOrama
0f5c7c5e59
Updated donors in the About dialog
2020-05-07 17:02:35 +03:00
OverloadedOrama
1873945e9f
Renamed Gold theme to Caramel
2020-05-06 22:01:58 +03:00
OverloadedOrama
0203a019c7
Set default clear color to be the same as the theme's PanelContainer bg_color
2020-05-06 20:51:56 +03:00
OverloadedOrama
85d438a9c4
Set the presets of CreateNewImage and FrameTagDialog color pickers to be invisible
2020-05-06 20:24:22 +03:00
OverloadedOrama
85ffd389be
Renamed "Godot" theme to Blue
2020-05-06 16:16:39 +03:00
OverloadedOrama
748171d4f2
Added tool textures for the blue theme
2020-05-06 15:56:44 +03:00
OverloadedOrama
9ce7bae2f9
Updated changelog in SplashDialog and made it a bit bigger
2020-05-06 02:21:42 +03:00
OverloadedOrama
f99b486919
Made the fake grabber change texture based on theme & other small UI changes
2020-05-06 01:19:09 +03:00
OverloadedOrama
c1602ad26a
Big UI overhaul - added PanelContainers to group similar elements
...
Removed separators entirely. Also made the AnimationTimeline have a StyleBoxFlat of its own, which we use to expand its margin top to cover the little space left because of the VSplitContainer. We also use a TextureRect as a fake VSplitContainer grabber.
2020-05-06 00:55:17 +03:00
OverloadedOrama
7559756c50
Changed layer button and "current frame" text position
...
Made AboutDialog's min size a little bigger too
2020-05-05 21:50: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
Manolis Papadeas
1ad1ecb960
Asset renaming ( #225 )
...
* Renamed the Asset folder and subfolders to lowercase
* Fixed font loading issue
Co-authored-by: OverloadedOrama <manoschool@yahoo.com>
2020-05-05 03:53:58 +03:00
OverloadedOrama
0ebc7a6033
Use dark theme's button textures for the gold theme
2020-05-04 02:38:41 +03:00
OverloadedOrama
a4014e5842
Pixelorama's version number now appears on the window title
2020-05-04 00:04:00 +03:00
OverloadedOrama
991eb5a615
Export optimization
...
process_frame() was being called twice when the export dialog appeared, and the frame number was different than the one already stored in the export dialog
2020-05-03 19:19:12 +03:00
OverloadedOrama
4f1c475c8d
Set export path when importing an image
2020-05-03 18:47:13 +03:00
OverloadedOrama
d8a1e5de12
Changed default colors for the checker background
...
Should be easier on the eye. For the dark themes, at least.
2020-05-03 03:42:44 +03:00
OverloadedOrama
23865396e2
Changed default clear color for Godot theme
2020-05-03 03:15:47 +03:00
OverloadedOrama
9482b47825
Changed Palette and Layer TextureButtons into Buttons, massive asset renaming
...
Most asset filenames are now in snake_case
2020-05-03 03:13:08 +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
babd5759f8
Makes sure that BackupConfirmation dialog is properly centered
...
Moved yield(get_tree().create_timer(0.01), "timeout") in _ready() of Main.gd outside of the if, to affect the BackupConfirmation dialog too.
2020-05-02 18:10:01 +03:00
OverloadedOrama
8005474446
Changed mouse_default_cursor_shapes in SplashDialog
2020-05-02 01:47:48 +03:00
OverloadedOrama
28de4d56f6
Added "icons" and "splash_screen" folders into Assets/Graphics
...
Moved all the relative assets there, including the icon files which no longer are on the res:// folder. The main page of the repository should look much cleaner now.
2020-05-02 01:34:55 +03:00
OverloadedOrama
c35e4b0613
Created a "UI" folder in src
...
And a Timeline folder in UI
2020-05-02 01:19:01 +03:00