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

302 commits

Author SHA1 Message Date
OverloadedOrama d52e1937f5 Made Palette .json files more readable 2020-01-08 01:02:38 +02:00
OverloadedOrama 99a45275ff Closes #112 2020-01-08 00:52:25 +02:00
OverloadedOrama db29c1af67 Fixed crash that occured when trying to delete contents of a selection that were outside the canvas' borders 2020-01-07 17:20:25 +02:00
OverloadedOrama ff3b5e321b Have the Dark theme button pressed by default if the user hasn't saved any preferences 2020-01-07 02:37:47 +02:00
OverloadedOrama eb8ce5c2e9 v0.6 - Palettes, random brushes, multiple themes, image menu and many more! 2020-01-06 14:55:05 +02:00
OverloadedOrama 42c202d395 Make sure string "Layer" is translated on startup 2020-01-06 00:17:59 +02:00
OverloadedOrama b0e9870d54 Update "Don't show again" button's pressed status based on what the user has selected 2020-01-06 00:15:16 +02:00
OverloadedOrama 46e4ea15ad Fixed issue with line_2d in Canvas.gd where it wasn't being freed when releasing shift 2020-01-05 22:40:07 +02:00
OverloadedOrama a04e179611 Changed "become a patron" button on the splash screen 2020-01-05 20:13:55 +02:00
OverloadedOrama 1b57c4ee22 Made 2 more strings in the About window translatable 2020-01-05 20:03:46 +02:00
OverloadedOrama d7134dc616 Made strings "Patrons" and "Changes" translatable
Not sure if you'd want to translate them, but now you can if you want to.
2020-01-05 16:09:50 +02:00
OverloadedOrama b1d84042b1 Big splash screen update & new translatable strings 2020-01-05 16:03:04 +02:00
OverloadedOrama f57ea4d64f Made "TimelineSeconds" update when FPS value changes
Also made it a bit smaller
2020-01-04 04:16:50 +02:00
OverloadedOrama 9838a94f83 Fixed outlines inside image to work when the nearby pixels are the canvas borders 2020-01-04 01:38:53 +02:00
OverloadedOrama eb28fd3d14 Added "Place inside image" option for outline generation
And this concludes outlines for v0.6
2020-01-04 01:22:23 +02:00
OverloadedOrama bd9c2c6dd0 Fixed layer opacity not working when merging layers 2020-01-03 02:44:37 +02:00
OverloadedOrama cf8229a4ae Fixed Noto font not being used for Chinese characters, when the user's System Language is not "zh_TW" 2020-01-02 16:46:31 +02:00
OverloadedOrama 78609a86fb Put default value for "show on startup" in config_cache file
Also put the checkbutton's string on the translation files
2020-01-01 20:04:13 +02:00
Schweini07 4356263aec
Update SplashDialog.gd 2020-01-01 16:33:32 +01:00
Schweini07 13fa0bbc54
Destroyed the bug 2020-01-01 16:26:58 +01:00
Schweini07 6025271e29
Make the Splash Screen popup optional 2020-01-01 16:00:28 +01:00
OverloadedOrama d917eb06de Updated fix for #53 to only work on 3.1.x
As of 3.2.x, the fix has been implemented to Godot itself. See https://github.com/godotengine/godot/pull/34654
2020-01-01 15:00:46 +02:00
OverloadedOrama 29baf3dcc0 Made About & Preferences update translations every time you open them
Also fixed "Grey" string, it was supposed to be "Gray"
2020-01-01 01:27:34 +02:00
OverloadedOrama 830ae623d2 Added new strings to be translated
Greek translation is still in progress
2019-12-31 20:10:10 +02:00
OverloadedOrama 2be469ec22 Using metadata for TreeItems in Preferences & About
To avoid issues with the TreeItem strings being translated. Starting to get more translation-friendly again, will commit changes to Translations.pot, en.po and el.po soon.
2019-12-31 19:04:54 +02:00
OverloadedOrama 6beb4eed07 Added "View Splash Screen", "Issue Tracker" and "Changelog" as Help menu options 2019-12-31 18:36:57 +02:00
OverloadedOrama d42648efe1 Added a Splash Screen popup window
Re-organized transparent backgrounds, removed the Timer from Canvas nodes.
2019-12-31 18:04:00 +02:00
OverloadedOrama d1ef5c17e9 Added "Issue Tracker" to the Help menu 2019-12-31 14:40:44 +02:00
OverloadedOrama 810cd5ec88 Disconnected palette button signals from Main.gd and connected them to PaletteContainer.gd 2019-12-31 03:44:27 +02:00
OverloadedOrama ff47ae26c0 Small UI changes 2019-12-31 03:02:53 +02:00
OverloadedOrama 20d643b4ca Rename palettes on EditPalettePopup, removed "Custom" subfolder 2019-12-31 01:24:56 +02:00
OverloadedOrama 129885ddfc Cloning layers now adds "(copy") to the layer name
So if you clone "Layer 0", the cloned layer's name will be "Layer 0 (copy)"
2019-12-30 22:05:09 +02:00
OverloadedOrama 9ba5f6b023 Removed the Remove Palette button
Users can now just delete the .json files if they want to remove a palette.
2019-12-30 20:29:46 +02:00
OverloadedOrama 870cf8940d Palettes now get loaded from the root directory instead of user://
Folders "Brushes", "Palette" and "Palette/Custom" now get created if they don't exist (tested on Windows export).

Also, the palettes don't need the Default palette to work anymore, and Default along with bubblegum16 aren't copied to the Palette folder now.
2019-12-30 20:03:22 +02:00
OverloadedOrama be91e65c55 Import as new frame on ImportSprites dialog now ticked on by default 2019-12-30 04:06:37 +02:00
OverloadedOrama 2be96f5d53 Fixed issue on exporting spritesheet
The spritesheet_rows/column variable wasn't updated when choosing between Columns/Rows. Also updated the GitHub Contributors in the About dialog.
2019-12-30 00:50:58 +02:00
OverloadedOrama 3ae679fe00 Choose how many rows or columns when exporting spritesheet
Also made CreateNewImage.tscn, ScaleImage.tscn and OutlineDialogn.tscn scenes of their own, with their respective scripts.
2019-12-30 00:24:37 +02:00
OverloadedOrama 1a6f6c1cc9 Resize image on exporting PNG
Also fixed issue when exporting a spritesheet, spritesheet_rows wasn't being updated if the user didn't change the value of the spinbox
2019-12-29 22:04:44 +02:00
OverloadedOrama eeaa691d36 Better spritesheet exporting
You can now choose how many columns you want your spritesheet to be, allowing you to export atlases.

ISSUE: If the number of columns is larger than the number of rows AND rows * columns are not equal to the number of frames, the result is weird. The exported image has transparent space on its bottom side.
2019-12-29 16:55:01 +02:00
OverloadedOrama 4ae5968887 AboutDialog Overhaul
Made AboutDialog.tscn a scene of its own, added logo icons and names for the developer team, contributors and donors. Feel free to change/add things related to you!
2019-12-29 04:14:29 +02:00
OverloadedOrama 67631ac648 Changed Export PNG settings, moved code from Main.gd to ExportSprites.gd
And made ExportSprites.tscn a scene of its own
2019-12-28 20:30:33 +02:00
OverloadedOrama 04fe708560 Fixed issue where the canvas was stuck on 64x64 size 2019-12-28 19:03:45 +02:00
OverloadedOrama d1e5b23f0b Importing spritesheets is now possible
Moved the import png code from Main.gd to a new ImportSprites.gd script, and made ImportSprites a scene of its own.
2019-12-28 18:35:53 +02:00
OverloadedOrama 3cac42ba15 Fixed mirroring of the bucket tool
Also removed unnecessary double code from Canvas.gd, made it a little cleaner.
2019-12-28 15:14:54 +02:00
OverloadedOrama 87d6d6140b When exporting a png, "Export PNG..." becomes "Export (filename)"
Also updated the translations to simply translate "export". Feel free to fix anything I may did wrong.
2019-12-28 03:07:48 +02:00
OverloadedOrama 5ea4835bb2 Canvas update() is called when undoing and redoing
Also changed "Black & White" to "Desaturation"
2019-12-28 00:57:28 +02:00
Overloaded cefdbc5b47
Merge pull request #97 from YeldhamDev/inferring_errors_fix
Fix multiple inferring errors
2019-12-28 00:26:36 +02:00
OverloadedOrama abfa70be31 Fixed issue with the filled circle brush
It no longer leaves any unfilled pixels
2019-12-28 00:25:44 +02:00
Michael Alexsander a1ed703b56 Fix multiple inferring errors 2019-12-27 19:00:45 -03:00
OverloadedOrama d6a199c53f Added a new brush type - Filled Circle
Filled Circle brush is just like the Circle brush, but filled. Issue is, when drawing while moving the mouse, some pixels remain unfilled.

Also added some more file brushes.
2019-12-27 22:02:47 +02:00
OverloadedOrama abc622d08e Fixed issue when removing palette buttons
Also, when adding a new palette color, the new button gets automatically selected.
2019-12-27 20:49:12 +02:00
OverloadedOrama b720100995 Fixed View menu options not updating the canvas 2019-12-27 20:26:55 +02:00
OverloadedOrama 86761c92ec Layers stay invisible when adding/removing/moving a new layer 2019-12-27 20:24:44 +02:00
OverloadedOrama 42e3aec561 Fixed issue where Shift and Ctrl weren't working with straight lines on Canvas.gd 2019-12-27 17:38:43 +02:00
Overloaded 080676ac83
Merge pull request #96 from Calinou/fix-gdscript-warnings
Fix GDScript warnings pertaining to unused arguments
2019-12-27 17:19:03 +02:00
Hugo Locurcio 02c76cfd14
Don't call update() in the canvas on non-mouse input events
This partially addresses #85.
2019-12-27 16:16:20 +01:00
Hugo Locurcio 386473845e
Fix GDScript warnings pertaining to unused arguments
Those warnings can be ignored by prefixing the argument with an
underscore.
2019-12-27 16:14:01 +01:00
OverloadedOrama e06586edce TimelineSeconds now being re-drawn when scrolling through the frames
For some reason, scroll_ended() and scroll_started() signals of the ScrollContainer are not working.
2019-12-27 16:27:39 +02:00
Overloaded 61169f86ba
Merge pull request #94 from Martin1991zab/master
only redraw rulers when needed
2019-12-27 16:11:52 +02:00
OverloadedOrama fa3b2f649b Delete the contents of a selection when pressing "Delete" 2019-12-27 16:10:05 +02:00
Martin Zabinski 037a797afc only redraw HorizontalRuler and VerticalRuler when needed 2019-12-27 14:48:37 +01:00
Martin Zabinski 9c7b90bb96 only redraw TimelineSeconds when needed 2019-12-27 14:40:51 +01:00
OverloadedOrama f81ef37e92 Added guide color in Preferences 2019-12-27 02:28:36 +02:00
OverloadedOrama a3fcfc4597 Made themes be like languages in Preferences
Also changed palette grid container columns from 8 to 5
2019-12-27 02:12:26 +02:00
OverloadedOrama de2f9b68be Preferences Window Overhaul
Languages are now unique buttons instead of one OptionButton, this also fixes problem where Chinese characters weren't being rendered with the Roboto font. Also made the brushes popup a little bigger.
2019-12-27 01:02:36 +02:00
OverloadedOrama 0c664a34be Fixes #51 2019-12-27 00:04:58 +02:00
OverloadedOrama fec657efc8 Fixed bug with random brushes, they were being resized forever while the user was drawing 2019-12-27 00:00:20 +02:00
OverloadedOrama 3a20b3e073 Added a new brush type - Random Brushes
They're like File brushes, but each time you draw, expect to see something different!

To make a random brush, just put the images you want in the same folder (under the main Brushes folder of course), and make sure their filename starts with "%".

I also changed _process() to _input() in Canvas.gd, so there may be some unexpected behavior.
2019-12-26 21:36:56 +02:00
OverloadedOrama aa4a769088 Importing brushes from the Brushes folder now looks inside the subfolders too
But not the subfolders of the subfolders. Also moved the code of brush importing from Main.gd to Import.gd
2019-12-26 19:01:08 +02:00
OverloadedOrama f0feb2f024 Fixed issues when removing a palette color in EditPalettePopup
Also updated _on_AddSwatchButton_pressed() to pass the button itself instead of its index, on new_button.connect()
2019-12-26 02:28:47 +02:00
OverloadedOrama 9b73e4f661 Edit palette fixes
- If the palette has colors, automatically select the first one
- When adding a new color button, take the color currently selected on the picker instead of white
- Fixes issues with drag&dropping color buttons. The color that was dragged remains selected.
2019-12-26 02:01:04 +02:00
OverloadedOrama 4a2c0eb291 Added sliders next to spinboxes for the brush color from & LightenDarken amount 2019-12-25 21:42:01 +02:00
OverloadedOrama d4b42534bb Added sliders for brush size & 2 new custom brushes
Also, in Canvas.gd's _draw() method, draw_set_transform() is called again after the circle brush drawings, to reset the transform to its default state.
2019-12-25 21:17:29 +02:00
OverloadedOrama 06e0d74c14 Added proper circle brush - Bresenham's Circle Algorithm
The circle's radius is the brush's size. Respects image/selection boundaries, works with mirror. A special plot_circle() method is found on Global, to calculate the rectangles used by the mouse cursor/position indicator.
2019-12-25 20:27:25 +02:00
Martin Zabinski 7d93e4c076
Fix wrong type to run with Godot 3.2 beta 2019-12-25 03:22:15 +01:00
OverloadedOrama d3ff1e984b Added diagonal outlines, changed paint all pixels of the same color to respect selection 2019-12-25 02:53:45 +02:00
OverloadedOrama a06dbdb9fc Added Black & White, put Scale/Crop Image and Flip Horizontal/Vertical from Edit to Image 2019-12-25 01:43:21 +02:00
OverloadedOrama ba4ee3418d Enchanced Layer Opacity UI- Added Spinbox next to Slider 2019-12-25 00:23:45 +02:00
OverloadedOrama ed2e757c11 Layer Opacity - Change alpha of each layer
Added a slider under the layer add/remove/etc buttons that changes the currently selected layer's transparency. It gets saved in .png and .pxo files, while respecting non-opaque pixels in the image too. Which means, their alpha values aren't being overwritten.
2019-12-24 23:51:08 +02:00
OverloadedOrama aa860960e2 Fixes #54 2019-12-24 20:49:07 +02:00
OverloadedOrama b8c92f629b Invert colors under Image menu 2019-12-24 19:38:36 +02:00
OverloadedOrama d0c890a63f Fixed bug in outlines where some pixels might be outside the image boundaries 2019-12-24 17:52:58 +02:00
OverloadedOrama ea97ec85f8 Added outline generation, under new "Image" menu
You can currently change outline color & thickness
2019-12-24 16:48:07 +02:00
OverloadedOrama 02f5bd0f5b Fixes #90 2019-12-24 13:52:46 +02:00
OverloadedOrama 1f2d8406c2 Text under frames and TimelineSeconds color change on different themes 2019-12-24 04:37:17 +02:00
OverloadedOrama bfd64a6b84 Re-organized the right panel, fixed spaces in palette buttons, made AddPalette a TextureButton 2019-12-24 04:28:45 +02:00
OverloadedOrama 014afc47fb Fixed variable shadowing warnings in some palette scripts 2019-12-24 04:08:16 +02:00
OverloadedOrama 27ab9d14d7 Added texture for the palette buttons
Add palette needs to become a TextureButton though.
2019-12-24 04:01:58 +02:00
OverloadedOrama 5358d0f6f8 Custom UI button textures for the Light theme 2019-12-23 02:16:34 +02:00
OverloadedOrama 60a51e0812 Added light theme to preferences 2019-12-22 23:36:02 +02:00
OverloadedOrama ba9ee9bdd8 Changed normal textures of light theme UI buttons 2019-12-22 20:50:37 +02:00
OverloadedOrama 2ea71475ea Fixed crash in Palette.gd where json files for palettes may not have had "comments" and "editable"
Also updated com.orama_interactive.Pixelorama.appdata.xml
2019-12-21 22:24:39 +02:00
CheetoHead 5f434e7d33 Merge remote-tracking branch 'upstream/master' 2019-12-21 10:50:28 -05:00
OverloadedOrama f4a62f227f Changed transparent background and default clear color for Godot's theme 2019-12-21 05:03:57 +02:00
OverloadedOrama c6ded721d1 Canvas transparent background changes on dark & gold themes
It's also in Global.gd instead of Canvas.gd
2019-12-21 04:56:48 +02:00
OverloadedOrama d08841da62 Remove frames with middle click 2019-12-21 04:20:55 +02:00
OverloadedOrama f69cd0ff94 Default clear color changes on Gold theme
Also made buttons' texture_pressed change between themes
2019-12-21 04:17:39 +02:00
OverloadedOrama 238bb3b488 Made Timeline & Tool buttons change depending on theme type
Changed "LayerButtons" group to "UIButtons", as it includes most UI buttons.
2019-12-21 03:50:09 +02:00
OverloadedOrama 8058cf2f55 Button textures change based on their filename and not their node name
Restored layer nodes back to their previous names
2019-12-21 03:27:11 +02:00
OverloadedOrama 23b83c8864 Asset re-organization, added light theme button textures
Most haven't been implemented yet, this commit just adds files
2019-12-21 03:17:37 +02:00