OverloadedOrama
5e942d7b3b
Update frame when unlinking it
2020-03-22 00:30:10 +02:00
OverloadedOrama
772e16bb4d
Fixed issue with merge down layer, the other frames were not being updated
2020-03-22 00:29:47 +02:00
OverloadedOrama
9ca564cfe1
Cel unlinking now works properly
...
Undo/redo can have some weird behavior right now
2020-03-21 22:55:36 +02:00
OverloadedOrama
0ec3af30f4
Layer visibility is taken into account when exporting the drawing as a .png file
...
This means that invisible layers will not be included in the final .png file.
2020-03-19 19:28:05 +02:00
OverloadedOrama
b7b3d1d924
Actually link the images - changes that happen to one linked cell happen to another
...
Also fixed a a crash in FrameButton.gd
2020-03-18 03:24:15 +02:00
OverloadedOrama
73da8eeb1a
Update the currently selected cell's button UI when the link button is pressed
2020-03-18 03:07:35 +02:00
OverloadedOrama
07b62c9fd8
Added "Unlink Cell" to FrameButton's PopupMenu (appears on right click)
...
Behavior may be changed because it's not set to work with UndoRedo. Not sure if it should, yet.
2020-03-18 02:57:23 +02:00
OverloadedOrama
fd0069d2e5
Append new linked cells to Global.layers[i][5]
...
Append the Canvas nodes instead of frame ints
2020-03-18 02:56:29 +02:00
OverloadedOrama
778c86183f
Cel buttons have a green outline to indicate that they're linked
...
The first time the link button get pressed, the currently selected cel is being linked. In futue commits, new frames will be linked on layers where the link button is pressed.
2020-03-18 02:02:41 +02:00
OverloadedOrama
a60efccbfd
Added a boolean to check if new frames will be linked and an array of linked frames to Global.layers
...
This doesn't add any new functionality right now
2020-03-14 21:40:10 +02:00
Marco
54ed08357d
LineEdit release focus on Enter key pressed
2020-03-13 19:51:39 +01:00
OverloadedOrama
41d80d503a
Ability to get color for palette buttons, when editing a palette, from the currently selected left and right colors
2020-03-13 02:04:40 +02:00
OverloadedOrama
7d12f1fccc
Backend implementation of an isometric grid
...
An attempt to draw an isometric grid. It behaves oddly on non-square canvas sizes, and on some grid sizes. For this reason, I'm not sure if it will be implemented in v0.7.
To test it, set Global.grid_type = Global.Grid_Types.ISOMETRIC
2020-03-12 04:17:48 +02:00
OverloadedOrama
67c243b189
Fixed issues when creating new image
2020-03-11 01:07:35 +02:00
OverloadedOrama
825e06f98a
Fixed issue where the remove layer button was not disabled when there was only one layer left
2020-03-11 00:01:12 +02:00
OverloadedOrama
550da1e961
Can't delete and apply effects to locked layers
...
By effects I mean the selections of the Image menu
2020-03-10 01:42:50 +02:00
OverloadedOrama
e71f76d8ee
Fixed crash when changing FPS
2020-03-10 00:47:21 +02:00
OverloadedOrama
87b22e7d6d
Fixed crash when loading a .pxo file from an earlier version
2020-03-09 21:22:25 +02:00
OverloadedOrama
2614ac5b3a
Changes to layer re-naming
...
Layer's LineEdit saves the changes when it loses focus, or when the user presses ESC (or Enter)
2020-03-09 17:17:20 +02:00
OverloadedOrama
d64b4edb96
Notification labels appear on top of the timeline
2020-03-09 16:59:17 +02:00
OverloadedOrama
7a008cfc3f
Implemented locking/unlocking layers
...
When a layer is locked, no changes can be made to it.
2020-03-09 03:26:13 +02:00
OverloadedOrama
f02afbe371
Removed legacy get_layer_container() from Canvas.gd
2020-03-09 03:18:27 +02:00
OverloadedOrama
1e5c674673
Fixed spacing between some comments
2020-03-09 02:17:49 +02:00
Manolis Papadeas
65544dcfc1
Merge pull request #170 from Orama-Interactive/new-timeline
...
Merge the new timeline into master
2020-03-09 01:40:16 +02:00
OverloadedOrama
2b49d439f9
Added Cedulio Cezar (ceduliocezar) and blackjoker77777 as translators
2020-03-08 22:18:17 +02:00
OverloadedOrama
6b73c59a8f
Removed some commented code
2020-03-08 22:12:18 +02:00
OverloadedOrama
a9c57d27e5
Removed frame_changed method from Canvas.gd
2020-03-08 22:03:31 +02:00
OverloadedOrama
b9b0d3e1b3
Small UI improvement - The visibility icon will remain in a fixed place no matter how long the layer name is.
2020-03-08 21:57:22 +02:00
OverloadedOrama
321ac978f1
Fixed crash when removing the first layer
...
Global.current_layer was being set to -1
2020-03-08 21:25:09 +02:00
OverloadedOrama
0619d0e1ad
Opening and saving .pxo file should now work
...
This should be all of the functionality restored. This commit makes the branch stable, in theory.
2020-03-07 16:43:28 +02:00
OverloadedOrama
baa8cfbf63
Importing spritesheets now works
2020-03-07 16:43:28 +02:00
OverloadedOrama
2f07259389
Importing PNGs should now work
2020-03-07 16:43:27 +02:00
OverloadedOrama
4969978f46
Fix issue with frame moving and current_frame not changing
...
This bug actually originates from before the timeline remake and can be found in v0.6.2 and potentially earlier versions.
2020-03-07 16:43:27 +02:00
OverloadedOrama
9812a34b8b
Fixed exporting PNGs
2020-03-07 16:43:27 +02:00
OverloadedOrama
2a5dfa7ea2
The selected cel (?) is now pressed, based on current layer and frame
...
All the other buttons are pressed = false. Also removed some legacy code.
2020-03-07 16:43:26 +02:00
OverloadedOrama
87629fdf2f
The selected layer's buttons are now pressed
...
The unselected layers's buttons are pressed = false
2020-03-07 16:43:26 +02:00
OverloadedOrama
24818bfaea
Cloning frames works
2020-03-07 16:43:26 +02:00
OverloadedOrama
120e47d0f9
Add/remove/move frames should now work
...
With Undo/Redo. Cloning frames doesn't work yet, will fix shortly.
2020-03-07 16:43:25 +02:00
OverloadedOrama
98e6b0f56b
Fix move up/down and merge layers not de-activating when there's only one layer left
2020-03-07 16:43:25 +02:00
OverloadedOrama
adcacaa8cb
Merging layers works
...
This should be all of the layer functionality restored. Frame functionality will soon follow.
2020-03-07 16:43:25 +02:00
OverloadedOrama
24e9eda644
Fixed crash where the cursor was failing to load
...
The issue still exists though, but instead of crashing, the cursor just doesn't change. Probably a Godot bug?
2020-03-07 16:43:24 +02:00
OverloadedOrama
4e31c1ed4b
Changing layer order works again
...
Started using a setter method for Global.current_layer
2020-03-07 16:43:24 +02:00
OverloadedOrama
18356d4408
UndoRedo and Image effects work per layer
...
Basically just replaced Global.canvas.current_layer_index with Global.current_layer
2020-03-07 16:43:23 +02:00
OverloadedOrama
53d062619e
Rectangle Selection works per layer again
2020-03-07 16:43:23 +02:00
OverloadedOrama
6557d3aeac
Clone layer is now functional
2020-03-07 16:43:23 +02:00
OverloadedOrama
0945a558d2
Fix layer name change
...
Name change is now saved only if the user presses Enter
2020-03-07 16:43:22 +02:00
OverloadedOrama
60aed9efba
Use setter method for layers to update the UI
...
Instead of updating it in undo and redo methods
2020-03-07 16:43:22 +02:00
OverloadedOrama
2bfae68755
Implemented Remove Layer - Doesn't work properly yet
2020-03-07 16:43:21 +02:00
OverloadedOrama
bb6e2cbf16
Layer images are now unique to each frame
2020-03-07 16:43:21 +02:00
OverloadedOrama
37621477c8
Hide invisible layers in onion skinning
2020-03-07 16:43:20 +02:00
OverloadedOrama
6e713988d3
Fix Canvas.gd problems
2020-03-07 16:43:20 +02:00
OverloadedOrama
a2893e1c1c
Store layer visibility on Global.layers instead
...
This way, toggling visibility in a layers works for all frames in that layer.
2020-03-07 16:43:19 +02:00
OverloadedOrama
3df9853dda
Update the button textures accordingly
...
Every button will have a texture based on its frame AND its layer. Which means, if the button is on layer 2 and frame 1, its texture will be the contents of frame 1's layer 2 contents.
2020-03-07 16:43:18 +02:00
OverloadedOrama
7d7eccb03f
Fixed issues with scrolling
...
No longer using a GridContainer for the layer and frames.
2020-03-07 16:43:17 +02:00
OverloadedOrama
953d002d91
[EXPERIMENTAL] Re-making the timeline
...
Trying to merge layers into the timeline, and eventually add more features like "share layer with all frames", among others. THIS IS NOT FINISHED, IT WILL *NOT* WORK PROPERLY. Once it is finished, this branch will be merged onto master.
So far only add layer and add frame work, and even they may have some issues. Undoing also does not work properly yet.
The UI is also not finished, as it currently has problems with the scroll containers.
2020-03-07 16:43:17 +02:00
OverloadedOrama
57d3050a67
Added novhack to the list of contributors & updated changelog
2020-03-03 15:16:08 +02:00
novhack
3b16b727b9
Add palette import from a PNG file
2020-03-02 22:37:52 +01:00
OverloadedOrama
b3a8eb6d84
Notification theme is now the same as the selected theme
...
This makes the letters black on the light and gold themes, and fixes the characters not being rendered issue in Chinese.
2020-03-01 17:56:34 +02:00
OverloadedOrama
5a44f3f4d5
Use a different dialog for when quitting while there is unsaved progress
...
It now also works when quitting from File > Quit (or Control + Q)
2020-02-23 02:11:52 +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
40d1da66c8
Add "(*)" to the window title when file is not saved
2020-02-22 17:32:16 +02:00
OverloadedOrama
eab3669eb2
Use new window_title variable to change window's title
...
Will be used later to get the current window title. Godot doesn't seem to have a built-in way to get the window's title.
2020-02-22 17:21:52 +02:00
OverloadedOrama
52fa460876
Saved is false after any action and is true at the beginning
...
Also hide QuitDialog after saving
2020-02-22 17:14:32 +02:00
Schweini07
3ea3bd7b40
Ask for Confirmation when Pixelorama is about to quit and the Sprite is unsaved ( #165 )
2020-02-22 17:02:56 +02:00
OverloadedOrama
f0c0176080
Fixed issue where splash screen was appearing even though it should not
2020-02-19 01:13:29 +02:00
OverloadedOrama
02b91479ad
Should fix #162
2020-02-17 18:28:55 +02:00
OverloadedOrama
b656d4976b
Commit from which v0.6.2 will be build on - hopefully
2020-02-17 16:38:24 +02:00
OverloadedOrama
a1cdd36ef8
Also fixes #161 for spritesheets
2020-02-17 14:50:46 +02:00
OverloadedOrama
15db2dd960
Fixes #161
2020-02-17 14:47:15 +02:00
Michael Alexsander
97b197c41e
Fix ruler markings cutting off before they should
2020-02-16 19:51:46 -03:00
OverloadedOrama
30ce04b7f3
Set SaveSprite's current path when opening a project
2020-02-16 18:18:12 +02:00
OverloadedOrama
5a5484d4e0
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama
2020-02-16 15:19:43 +02:00
OverloadedOrama
bc734658cd
Use Global.animation_timeline to toggle timeline's visibility
2020-02-16 15:19:01 +02:00
Michael Alexsander
736edf002e
Make opening a project set the save path
2020-02-15 21:12:17 -03:00
Manolis Papadeas
3b570ccf82
Merge pull request #156 from YeldhamDev/colorpicker_presets_hide
...
Hide presets in ColorPickers
2020-02-15 15:09:03 +02:00
Michael Alexsander
f808614384
Hide presets in ColorPickers
2020-02-15 02:34:42 -03:00
Michael Alexsander
0a9da7422d
Add option to hide the animation timeline
2020-02-14 22:30:40 -03:00
OverloadedOrama
543e9d9008
Hide pressure sensitivity settings
...
Due to complications and priority shifts, tablet pen pressure sensitivity will not be included in v0.6.2
2020-02-14 18:26:03 +02:00
OverloadedOrama
4ea56363bf
Don't store the same pixels in Canvas.gd again and again
2020-02-14 18:05:53 +02:00
OverloadedOrama
ab87fd8536
Added StarFang208 as an Italian translator
2020-02-13 19:20:01 +02:00
OverloadedOrama
3eaeef0f58
palettes_path is always the root directory plus the "Palettes" subdirectory
...
Also updated Agnis Aldiņš (NeZvers)'s name in the translators
2020-02-12 15:54:24 +02:00
OverloadedOrama
f3759d677e
Load the image of the cursor once
...
This should fix some rare crashes as well
2020-02-12 00:38:35 +02:00
OverloadedOrama
d1793c2e60
Fix bug with undo and drawing after motion draw, again
...
If you did motion drawing, stopped and then went to draw to the frame the motion drawing started, undo wouldn't work properly. That's because can_undo was false.
2020-02-11 20:05:37 +02:00
OverloadedOrama
f9bcab78f9
Save pressure sensitivity & smooth zoom preferences in the config ini file
2020-02-11 19:45:36 +02:00
OverloadedOrama
2531aa7b65
Affect already painted pixels on the same mouse press, if the pen pressure is higher than it used to
...
And fixed bug with undo and drawing after motion draw
2020-02-11 18:42:23 +02:00
OverloadedOrama
ef9e906f19
Added Latvian translation
...
Closes #150
2020-02-11 16:03:25 +02:00
OverloadedOrama
17f623c769
Blend all color channels when the color alpha is less than 1
...
Along with the alpha blending that already was added some commits ago
2020-02-11 03:45:05 +02:00
OverloadedOrama
8ff917111c
Changes to better follow GDScript style guide
...
Nothing new is being added in this commit, just code re-ordering & re-naming to better follow the recommended GDScript style guide.
http://docs.godotengine.org/en/3.2/getting_started/scripting/gdscript/gdscript_styleguide.html
And
https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/
2020-02-11 00:06:24 +02:00
OverloadedOrama
5fe4b74a39
New alpha blend behavior now works on circle brushes
2020-02-10 02:39:36 +02:00
OverloadedOrama
a6d129526c
Fixed issue where Brushes and Palettes wouldn't load if you opened Pixelorama from a file
...
It now uses "OS.get_executable_path().get_base_dir()" to find the root directory of Pixelorama, instead of just "."
2020-02-10 01:23:33 +02:00
OverloadedOrama
9e7a3059f2
Opening .pxo files directly with Pixelorama is now also supported
...
Also added "-> void" to the methods that did not already have it
2020-02-09 18:06:03 +02:00
OverloadedOrama
45a31faa7b
You can now drag and drop/"open with" image files
...
Thanks to OS.get_cmdline_args(). Support for .pxo files will be coming soon.
2020-02-09 03:13:12 +02:00
OverloadedOrama
3fbd1d35eb
The camera now zooms at the mouse's position.
2020-02-09 02:16:14 +02:00
OverloadedOrama
f28a3a4405
Basic tablet pen pressure sensitivity, brush alpha now gets blended
...
Instead of replacing the pixels with the new color's alpha value, the alpha values of the selected color and the current pixel color get blended together. This means that, if you have a pixel with 50% alpha and you draw a color over it with 25% alpha, the final result will have 75% alpha, instead of 25% as it used to be.
The pressure sensitivity is still experimental and may not work properly. Works only with Godot 3.2 and above.
draw_pixel() has also been renamed to draw_brush()
2020-02-09 01:34:37 +02:00
OverloadedOrama
5d0b39f14c
Update AboutDialog.gd
...
Update translator name
2020-02-09 00:03:16 +02:00
OverloadedOrama
93833ba06a
Added Chinese Simplified
2020-02-08 00:10:33 +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
e677824f48
Added smooth zooming
...
Camera zooming with the help of a Tween node, toggle-able in the Preferences
2020-02-07 03:27:11 +02:00
OverloadedOrama
12fb8b02c8
The language buttons in the preferences have their localized names in their hint tooltips
...
For example, if you hover over the "English" button while the language is Greek, the hint tooltip will be "Αγγλικά", which is the Greek word for English.
2020-02-07 02:40:53 +02:00
OverloadedOrama
155b77b514
Moved Rotate Image selection up, fixed some warnings
...
And minor UI changes, like changing default cursor shape to pointing hand when hovering on some UI elements in RotateImage.tscn
2020-02-04 18:29:34 +02:00
Manolis Papadeas
c4229e1759
Merge pull request #143 from azagaya/master
...
Added 2 rotation algorithms and popup for rotating current layer
2020-02-04 18:14:32 +02:00
azagaya
a9a647a7ee
Fixed bugs detected by overloaded
...
One bug was that rotxel was used at the end, no matter what algorithm was chosen.
The other was that rotxel was taking into account a image of width x width dimensions.
2020-02-04 12:59:06 -03:00
OverloadedOrama
f8ee851a6f
Fixes #141
...
This commit will be reverted when the actual problem is fixed in Godot itself.
2020-02-04 17:33:34 +02:00
azagaya
d1ef71ceee
Added nearest neighbour rotation
2020-02-03 13:55:55 -03:00
OverloadedOrama
14900ed5ab
Remove custom brushes with the middle mouse button
...
And made the "X" button on the custom brushes a little smaller. Partially addresses #132
2020-01-28 00:22:04 +02:00
OverloadedOrama
2f48547f6c
Added more translators in About & fixed translated importing image error
2020-01-27 15:57:40 +02:00
azagaya
8fd8a9db08
Added functions to rotate image, and added gui for the same purpose
2020-01-26 19:50:40 -03:00
OverloadedOrama
d83057120b
Fixed crash when importing images that were failing to load
...
They still fail to load, but Pixelorama does not crash.
2020-01-25 21:27:54 +02:00
OverloadedOrama
3b289c5772
Fixed issue when generating an outline inside the image
...
get_pixel() was being executed outside the image's borders
2020-01-24 04:53:14 +02:00
OverloadedOrama
6e198c6c60
Imported Spanish translation in the project settings
2020-01-22 20:20:58 +02:00
OverloadedOrama
d0a50c45e3
Translators can now be seen in the About window.
2020-01-22 19:31:33 +02:00
OverloadedOrama
808883b3a5
Restore freehand drawing on motion drawing
2020-01-16 01:38:44 +02:00
OverloadedOrama
1353db92d1
Don't execute Canvas' _input() method if it's not the selected frame
...
Canvas.gd's _input() method returns when the canvas' frame is not the currently selected frame. Saves a little bit of performance and fixes some issues like the line angles of ALL frames being drawn, and might fix some crashes I had with motion drawing and undo/redoing.
2020-01-15 22:47:56 +02:00
OverloadedOrama
bac3fdcad6
Canvas Line2D doesn't get freed and re-created
...
Make Line2D have the same position for both of its points so it's invisible when the user is not making a straight line
2020-01-15 22:31:02 +02:00
OverloadedOrama
7a3f3eb4f9
Made AnimationTimeline a scene of its own
2020-01-15 22:01:43 +02:00
Manolis Papadeas
021ae469a7
Merge pull request #124 from YeldhamDev/splashscreen_yield_popup
...
Delay the splash screen popup so it shows properly centered
2020-01-14 14:08:38 +02:00
Michael Alexsander
1cde435d1a
Delay the splash screen popup so it shows properly centered
2020-01-14 00:44:16 -03:00
OverloadedOrama
97dad3ef10
v0.6.1 release
2020-01-13 14:50:57 +02:00
OverloadedOrama
24480ede6f
Made the cursor tool icons visible by default
2020-01-13 13:26:06 +02:00
OverloadedOrama
2de8865b8b
Keep tool icon checkbox visible when a tool is selected
2020-01-13 13:15:06 +02:00
henlo-birb
6fa41000ed
added option to hide tool icons next to cursor
2020-01-12 20:41:17 -05:00
OverloadedOrama
542f709a8f
Fixed issue where undo/redo was not working properly for straight lines that went outside the canvas
2020-01-13 01:11:03 +02:00
OverloadedOrama
ff758467dd
Fixed a rare crash with straight lines
...
It was possible that the variable `is_making_line` could be true, even if the line itself has been freed from memory.
2020-01-12 22:43:07 +02:00
OverloadedOrama
582b9baedb
The canvas updates automatically when onion skinning settings change.
2020-01-12 02:51:12 +02:00
OverloadedOrama
5562d3f2d5
LightenDarken tool no longer affects transparent pixels
2020-01-12 02:34:47 +02:00
OverloadedOrama
340a885cd7
Fixed crash on Godot 3.2.beta6 when pressing the Edit Palette button
...
Oddly enough, this crash did not occur on Godot 3.1.2 or even Godot 3.2.beta5
2020-01-12 02:22:37 +02:00
OverloadedOrama
50fa262a75
Put default image width and height to 64, made minor changes in the About dialog and in the Chinese translation
2020-01-11 00:29:29 +02: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
Manolis Papadeas
d817f2e5d3
Fixed same issue as 6dfa3ac9b7
2020-01-11 00:14:56 +02:00
Manolis Papadeas
c59182019c
Fixed "fill_color variable already declared" warning
2020-01-11 00:11:36 +02:00
Manolis Papadeas
6dfa3ac9b7
Fixed issue where the size wouldn't change if the user modified only the width or the height
2020-01-11 00:08:24 +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
b341e19325
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama
2020-01-10 20:49:18 +01:00
Marco
a34c163cdb
Add fill color
2020-01-10 20:47:44 +01:00
Marco
5e49c3eae8
Fix
2020-01-10 20:32:31 +01:00
Marco
7b0251fdfa
Image preferences and its translations
2020-01-10 20:24:07 +01:00
OverloadedOrama
60422c0133
Fixed bug where, if you had a random brush selected and then selected the pencil tool, "brush color from" did not appear
...
Also added our first patron, Mike King, to the donors name, in the "About" dialog. Thank you Mike!
2020-01-10 19:11:10 +02:00
OverloadedOrama
d72bda71ad
Closes #114
2020-01-10 16:21:46 +02:00
Marco
cd3814736d
Image preferences
2020-01-10 09:06:03 +01:00
OverloadedOrama
cc03b35650
Grid & Guides preferences now get saved in the config cache file
2020-01-10 00:12:36 +02:00
OverloadedOrama
16e92b0e9f
Removed uneccesary code from Canvas.gd that prevented _input() from executing if Space was being pressed
2020-01-09 20:51:03 +02:00
OverloadedOrama
48e871586c
Added space for panning - Closes #110
2020-01-09 20:49:27 +02:00
OverloadedOrama
83641ecc9a
Added 3 palette error strings for translation
2020-01-08 17:31:56 +02:00
Manolis Papadeas
77a55f2495
Merge branch 'master' into master
2020-01-08 17:01:59 +02:00
Marco
fc1a30f12a
Italian translation
2020-01-08 14:45:50 +01:00
OverloadedOrama
c04dbc937b
Update the canvas when grid options are changed
2020-01-08 03:48:01 +02:00
OverloadedOrama
2e7b32095b
Closes #111
2020-01-08 03:27:27 +02:00
OverloadedOrama
63254258d0
Added a ScrollContainer for the palette buttons in EditPalettePopup
2020-01-08 02:16:48 +02:00
OverloadedOrama
c6e18fe902
Made "comments" be on top of "colors" in the JSON palette files
2020-01-08 01:09:35 +02:00
OverloadedOrama
d52e1937f5
Made Palette .json files more readable
2020-01-08 01:02:38 +02:00