1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 09:39:48 +00:00
Commit graph

488 commits

Author SHA1 Message Date
OverloadedOrama c900909514 Removed "Add Frame Tag" from framebutton's popupmenu 2020-04-08 00:46:45 +03:00
OverloadedOrama 6056ff4857 Changed which tool options are visible for when each tool is selected 2020-04-08 00:43:43 +03:00
OverloadedOrama 9e0c62773c Fixed issue with cel opacity affecting the actual image pixels on export 2020-04-07 18:52:23 +03:00
Manolis Papadeas a19a2fb0d5
Merge pull request #190 from novhack/gif-export
Add GIF export for Windows and Linux
2020-04-07 18:47:05 +03:00
OverloadedOrama 83188a54d9 When the palette, outline and rotate image dialogs are open, the user can't zoom in the canvas anymore. 2020-04-07 18:13:35 +03:00
OverloadedOrama f5ab5c3987 Frame tags are saved in .pxos
And are also cleared on clear_canvases()
2020-04-07 00:23:30 +03:00
novhack e4a350d670 Disable GIF export on unsupported platforms. 2020-04-06 19:01:00 +02:00
novhack e8c6025c46 Add gif export plugin and extend export dialog with GIF animation support. 2020-04-06 18:51:47 +02:00
OverloadedOrama 943e20a0de Fixed crash on Linux with layer containers
When the user clicked on a layer container to change its name and then clicked away, the program crashed. This was because the name of the layer was changed (`Global.layers[i][0] = new_name`), and Global.layers_changed() was being called, which removed all of the layer container UI and re-created it.

This is unneeded to happen when only the layer name changes, so I added a boolean to skip the execution of the method.

Oddly enough, the crash was not happening on Windows (at least on my end) and it was working as expected. Godot's output terminal was not showing any error messages, either.
2020-04-06 18:35:54 +03:00
OverloadedOrama 1e9d44fffc You can now delete tags 2020-04-06 01:07:28 +03:00
OverloadedOrama cf55c9167f Changed FrameTagDialog and made it its own scene
The way frames are being added has changed, and now you can modify existing tags too. Deletion will come soon.
2020-04-06 00:51:46 +03:00
OverloadedOrama 4bfe199cf0 Changed default and min window sizes
The new default window size is 1280x720, and the new minimum window size is 1024x576.
2020-04-05 00:45:19 +03:00
OverloadedOrama 3ca1d00b98 Added a tag button in the timeline
Creates a new frame tag for now, it will be changed to manage all tags
2020-04-05 00:35:11 +03:00
Manolis Papadeas f2ed5ade8a
Merge pull request #182 from luiq54/fake_rotsprite
Rotsprite-like Rotation
2020-04-03 20:44:18 +03:00
luiq54 e92b2b3bab Implement fake_rotsprite 2020-04-03 22:27:42 +05:30
OverloadedOrama 1963d99e45 Fixed issue where custom brushes were sometimes not being drawn 2020-04-03 16:13:49 +03:00
OverloadedOrama b4a312d702 Made the onion skinning settings popup appear next to the "expand" button 2020-04-03 15:52:34 +03:00
OverloadedOrama ce94b9fcc2 Added texture for the onion skinning button for when it's disabled 2020-04-03 15:34:16 +03:00
OverloadedOrama 76194f3c85 Added luiq54 to the list of contributors 2020-04-03 03:25:56 +03:00
Marco Galli 1efec81a6b
Improved CreateNewImage dialog #178 (#181)
* Sync fork

* Added 'Lock aspect ratio' when creating a new image

* Added common templates in 'CreateNewImage' dialog

* Last fix

* Added translation strings
2020-04-03 03:12:42 +03:00
OverloadedOrama 30e8522677 Set Global.saved = true when creating a new image 2020-04-02 15:28:47 +03:00
luiq54 dee0d0696d Add WarningDialog for unsaved Image before creating a new Image 2020-04-02 15:26:26 +05:30
OverloadedOrama 53338e4310 Basic UI for animation frame tags
You can add tags by right clicking on a cel and selecting "Add Frame Tag". No tag modifying and deletion is implemented yet.

I'm using a different ScrollContainer for the tags, which gets updated everytime the main timeline ScrollContainer gets updated. I hide its sliders from its theme, wish there was a more straightforward way.
2020-04-02 03:29:14 +03:00
OverloadedOrama 25f74a136d The splash screen is no longer purple, it changes depending on the theme
Also fixed issue with Chinese characters not being rendered for Platinum & Gold Sponsor Placeholder labels
2020-04-01 20:38:40 +03:00
OverloadedOrama b62d961e1e Onion skinning settings have been moved to a popup window
You can open the settings from a new button next to the onion settings button.
2020-03-31 19:14:13 +03:00
OverloadedOrama bc683bab2c Animation loops by default, icon changes
Changed the icon when animation is not looping, and added hover textures.
2020-03-31 18:53:26 +03:00
OverloadedOrama 1214b6b9d0 Fixed issues with merging layers 2020-03-28 15:56:01 +02:00
OverloadedOrama e072b95727 Pattern filling - Partially addresses #130
If the user chooses a brush that is not the pixel or a circle brush and uses the bucket tool, the brush image is used as a pattern that fills the area.
2020-03-28 05:15:09 +02:00
OverloadedOrama 61c4ea7aa1 Major UI changes in Main.tscn
More changes will happen
2020-03-27 03:40:23 +02:00
OverloadedOrama 07db587b6c Timeline UI changes
The onion skinning button replaces the old onion skinning area of the timeline, but there's no way right now to change the settings. This will be added in a future commit. More UI changes will soon follow.
2020-03-26 20:56:30 +02:00
OverloadedOrama 278c9facb2 Changed some hint_tooltips
I'm trying to remove all the weird "_HT" strings and replace them with actual sentences instead. This will make it easier for translators
2020-03-26 03:24:25 +02:00
OverloadedOrama 9bf1660d18 ExportDialog visual changes
Tabs are now included as Class items in all themes, the OK button in ExportDialog appears on the left on Windows machines, and on the right in all other operating systems. Also added border outlines to all window dialogs.
2020-03-25 18:22:29 +02:00
OverloadedOrama d974d3f76a Implemented Esperanto 2020-03-25 04:42:03 +02:00
OverloadedOrama 873808d6c1 Updated strings for translation 2020-03-25 04:29:23 +02:00
OverloadedOrama d858be72c3 Methods in ExportDialog.gd now use static typing
Also fixed the theme for Popups, and an issue with cel opacity (that was my fault)
2020-03-25 03:17:01 +02:00
novhack 169efa29d5 Replace ExportSprites with a new ExportDialog. 2020-03-23 23:09:37 +01:00
OverloadedOrama a439fc12e0 Fixed issue with merging layers & undoing, and then drawing again 2020-03-22 02:38:39 +02:00
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