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

527 commits

Author SHA1 Message Date
OverloadedOrama 10280f25f9 Added checkbox to toggle if the animation will play only on the frames of the same tag 2020-04-15 16:25:58 +03:00
Manolis Papadeas f27a3be6ae
Merge pull request #199 from luiq54/devel
Added HSV Adjust Dialog
2020-04-15 16:05:44 +03:00
luiq54 8fdeb63778 Fix minor bugs and cleanup 2020-04-15 15:19:29 +05:30
OverloadedOrama 69afd97cb0 Fixed bug where the user could drag the selection when it had no focus
For example, when a window dialog was open.
2020-04-14 18:39:24 +03:00
OverloadedOrama ab6e1bc384 Fixed issue with undo/redo selecting the Zoom tool
If undo, redo or redo_secondary are pressed, no tool won't be selected.
2020-04-14 17:03:16 +03:00
luiq54 cb051239dc Added Previews and Better Saturation/Value Lerping 2020-04-14 16:21:35 +05:30
luiq54 2b8796aacc Added HSV Adjust Dialog 2020-04-13 20:49:28 +05:30
OverloadedOrama bdd3cdf45e Improved the "fit to frame" zoom button
The resulting camera zoom now depends on the window size. More specifically, the main viewport's x size. This formula is purely trial-and-error, and it may not work perfectly, or properly for some screen sizes.

If anyone wants to improve it, feel free to do so!
2020-04-13 16:39:18 +03:00
Manolis Papadeas 7d2b15cc0b
Merge pull request #198 from sapient-cogbag/moving-stuff-in-canvas
Made arrow keys (with shift and control for speedup) work ^.^ nyaaa
2020-04-13 16:19:26 +03:00
sapient_cogbag 076bf2c7be
Done the thing to eliminate conflicts with frame movement NYAAA. i am extremely tired and will probably go sleep soon ^.^ nyaaa <3 2020-04-13 13:52:25 +01:00
OverloadedOrama 4c38467014 Don't do undo/redo on the zoom tool 2020-04-13 15:25:50 +03:00
sapient_cogbag 11a7261ef1
Made arrow keys (with shift and control for speedup) work ^.^ nyaaa 2020-04-13 08:55:01 +01:00
OverloadedOrama c63fd85659 Changed some mouse_default_cursor_shapes
Also renamed "OptionButton" to "PresetOptionButton" in PreferencesDialog, and changed "sapient-cogbag" to "sapient_cogbag" in the contributors list.
2020-04-13 05:31:44 +03:00
OverloadedOrama 21dd3f2e2d Added a zoom tool
Makes it easier to zoom for people with tablets and touch screens in general
2020-04-13 05:07:52 +03:00
OverloadedOrama 354dffd98b Added MatheusPese & sapient-cogbag to contributors
Also some code space clearings & removed empty methods and comments in XDGDataPaths.gd
2020-04-13 01:40:26 +03:00
Manolis Papadeas 0046856b0f
Merge pull request #197 from sapient-cogbag/xdg-standard
XDG basedir standard on X11 Godot platforms
2020-04-13 01:23:55 +03:00
OverloadedOrama 7824b13335 Changed hint_tooltips from the old string formats to actual sentences
Besides the timeline buttons and color switch button being ready to have their changed shortcuts (when we implement them for these buttons) in their hint tooltips, there is no new functionality. This is merely to make the lives of translators easier.

This is the final commit of weird string IDs being replaced to actual sentences in Translations.pot
2020-04-12 19:50:14 +03:00
sapient_cogbag 516723d125
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama into xdg-standard
Getting ourselves up to date with upstream for easy merge! nya ^.^
2020-04-11 23:38:53 +01:00
sapient_cogbag efa0529360
Made the brush XDG overrides work properly\!, and consequently it works as-if the randomised brushes are separated out from all the other brushes in directories nyaaaa ^.^ 2020-04-11 23:36:58 +01:00
OverloadedOrama ba8d01333e Changed hint_tooltips for the tool buttons, they now change based on selected keybindings 2020-04-12 00:08:45 +03:00
OverloadedOrama 4c9a58a333 Animation only plays on frames of the same tag
If there are no tags, the animation plays on all frames, as before. Currently no front-end way of toggling this behavior.
2020-04-11 20:10:07 +03:00
sapient_cogbag 480bbffc0b
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama into xdg-standard
Keeping stuff in sync with upstream nyaa ^.^
2020-04-11 17:12:01 +01:00
OverloadedOrama d0c4fbc6eb Made some UI changes to the tool options 2020-04-11 18:45:32 +03:00
sapient_cogbag 8712870a03
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama into xdg-standard 2020-04-11 08:56:18 +01:00
sapient_cogbag 3f515aff46
Fixed some weird bug lol 2020-04-11 08:37:53 +01:00
sapient_cogbag 683f6aa92b
YAY THE MAIN USER DIRECTORY WORKS 2020-04-11 08:23:21 +01:00
sapient_cogbag b2eafc5464
CANT GET THE PROGRAM TO REGISTER THAT WE'RE ON LINUX >:( nyaaaa 2020-04-11 07:58:58 +01:00
OverloadedOrama 3f1c81ac13 Fixed crash when creating a new image and a layer had opacity less than 100%
Caused in CreateNewImage.gd, Global.current_layer = 0 should be under Global.canvas gets set to a new canvas, and after its _ready() method gets executed. The crash occurred when a layer above 0 had transparency less than 100, and a new image was created. _on_OpacitySlider_value_changed() in AnimationTimeline.gd was executed on the old canvas right before it was destroyed, while Global.layers had been cleared.

Also removed _on_OpacitySlider_value_changed() from Main.gd, it served no purpose there.
2020-04-11 05:36:51 +03:00
sapient_cogbag 1593c5c12b
Set up xdg thing, now for the loader modification nyaa ^.^ 2020-04-11 03:13:35 +01:00
Manolis Papadeas 2404798749
Merge pull request #196 from MatheusPese/master
Added the left and right tool icon option to be saved and restored on  startup
2020-04-11 02:37:49 +03:00
sapient_cogbag 89c125a4a9
started thing 2020-04-10 22:47:06 +01:00
Matheus Pesegoginski 796cd124d4 Added the left and right tool icon option to be saved and restored on startup
Update PreferencesDialog.tscn and PreferencesDialog.gd
2020-04-10 16:40:14 -03:00
Manolis Papadeas aff8b6a654
Merge pull request #194 from novhack/pxo-compression
Move open/save functions to a separate file and clean up. Add ZSTD compression.
2020-04-10 21:39:26 +03:00
novhack 4b7c0ca713 Fix clear_canvases() call in ImportSprites. 2020-04-10 20:37:24 +02:00
Matheus Pesegoginski 6213eddb7e Added new Template Resolutions based on console resolutions, and changed the way the resolution templates works for easier edition.
Update CreateNewImage.tscn and CreateNewImage.gd
2020-04-10 15:19:44 -03:00
novhack 99f847e732 Add ZSTD compression to save files. Move clear_canvases() to Global.gd 2020-04-10 00:06:24 +02:00
novhack 237b8c1507 Move open/save related code to a separate file. 2020-04-09 22:54:05 +02:00
OverloadedOrama b202bc5c5a ShortcutSelector popup theme is now affected by the chosen theme 2020-04-08 21:43:55 +03:00
novhack e6233a37d5 Add shortcuts binding to preferences. 2020-04-08 00:57:37 +02:00
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