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 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
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
OverloadedOrama f08d6c8708 Layer buttons change depending on theme
2 theme types, dark and light. 2 types of graphics for the layer buttons for each theme type.
2019-12-21 03:02:57 +02:00
OverloadedOrama c159eda437 Layer graphics for the light theme, renamed dark layer graphics, removed unecessary graphics
Also put hover textures for layer visible/invisible
2019-12-21 02:20:23 +02:00
OverloadedOrama e69000b13d Renamed Light Theme to Gold Theme
A new light theme (which will probably be less yellow-y) will be added.
2019-12-21 01:33:02 +02:00
CheetoHead 33551c4d81 Merge remote-tracking branch 'upstream/master' 2019-12-20 15:23:14 -05:00
CheetoHead 770c633db2 Added GPL importer, new palette classes for clarification 2019-12-20 15:22:52 -05:00
Overloaded 22a2b4133e
Merge pull request #81 from YeldhamDev/translation_brazilian_portuguese
Add brazilian portuguese translation
2019-12-20 18:56:58 +02:00
OverloadedOrama 8e20ad995c Keep current font when changing theme 2019-12-20 18:44:51 +02:00
Michael Alexsander 8da4b78d30 Add brazilian portuguese translation 2019-12-20 13:25:02 -03:00
OverloadedOrama c3e75496d6 Theme preferences now get saved in the config_cache file 2019-12-20 16:36:23 +02:00
OverloadedOrama 2fc9711788 Added Light theme in Preferences
Light theme is still work in progress
2019-12-20 15:32:43 +02:00
OverloadedOrama abee0653d6 3 themes available under Preferences, changed theme organization
Dark theme (default), gray theme, Godot's theme
2019-12-20 05:22:03 +02:00
Overloaded ccbbe779ea
Merge pull request #76 from YeldhamDev/ruler_vertical_values
Make the vertical ruler show its values vertically
2019-12-20 02:33:49 +02:00
Michael Alexsander 7d1b72aa58 Make the vertical ruler show its values vertically 2019-12-19 19:23:08 -03:00
Michael Alexsander 9dc5c53f7e Keep "View" menu visible when toggling items 2019-12-19 18:14:08 -03:00
OverloadedOrama 80f7a0ca13 Added Shift+Ctrl+Z as a secondary shortcut for Redo 2019-12-19 17:07:26 +02:00
OverloadedOrama 69392ff34b Constrained angles on straight lines while pressing Ctrl 2019-12-19 15:50:41 +02:00
Schweini 2cce289b0b Change Redo shortcut 2019-12-19 11:34:26 +01:00
OverloadedOrama a76bfcef48 Straight lines now paint the target pixel too
They also start at the middle of the pixel, rather than the last mouse position in general
2019-12-19 03:38:14 +02:00
OverloadedOrama 91b21a52f5 Angle between last drawn pixel and line is now appearing on the top when drawing a straight line
Also straight lines work with LightenDarken now, and moved the Seconds Timeline a bit to the left
2019-12-19 03:15:23 +02:00
OverloadedOrama 3cf44a6d55 Created basic theme changing under Preferences
Also fixed bug where Global.can_draw wasn't being set to true after PreferencesDialog was hidden
2019-12-19 01:18:57 +02:00
OverloadedOrama 432c9690ff PreferencesDialog is now a scene of its own
We should change the organization of the project, and use multiple saved scenes instead of everything being on Main.tscn.
Also restored "X" as a shortcut for color switch, because that somehow got lost.
2019-12-18 18:12:44 +02:00
CheetoHead 9a65960994 Import palette file dialog added 2019-12-18 09:43:11 -05:00
CheetoHead 18b9480a00 Merge branch 'master' into palette_updates 2019-12-17 19:49:28 -05:00
CheetoHead 3191e3f8c8 Add new palette updates 1 2019-12-17 19:49:20 -05:00
OverloadedOrama 6220ad82bc Frame number labels change color when selected 2019-12-18 00:53:06 +02:00
Hugo Locurcio 5d912d27f6
Simplify the Command key mask binding
`KEY_MASK_CMD` is automatically remapped by Godot to `KEY_MASK_CTRL`
or `KEY_MASK_META` depending on the OS.
2019-12-17 21:45:34 +01:00
OverloadedOrama 9289cb350d Replaced sub_key_mask with KEY_MASK_CTRL because it lead to a crash 2019-12-17 22:35:16 +02:00
Overloaded f3c77e30d0
Merge pull request #69 from AndreevAndrei/master
[hotkeys] Add cmd-key supporting for macOS, closes #67
2019-12-17 22:28:48 +02:00
Andreev Andrei 545aaf97c1 [hotkeys] Add cmd-key supporting for macOS, closes #67 2019-12-17 23:23:55 +03:00
OverloadedOrama 7dd67e7130 Put Traditional Chinese to Preferences and changes font when choosing Chinese 2019-12-17 19:52:09 +02:00
OverloadedOrama bfcb52a2f0 Put Russian in preferences & in Project Settings 2019-12-17 13:10:42 +02:00
Overloaded c32ad873a6
Merge branch 'master' into master 2019-12-17 13:02:41 +02:00
Andreev Andrei cda19952f5 [languages] Add Russian language, closes #63 2019-12-17 12:05:40 +03:00
OverloadedOrama 3a29a729e9 Re-added Polish in Preferences and in Main.gd's loaded_locales 2019-12-17 04:22:39 +02:00
Overloaded 329099fed4
Merge branch 'master' into palette_updates 2019-12-17 04:07:44 +02:00
OverloadedOrama c9071f30eb Changed brush color interpolation and LightenDarken amount's range from 0-100, instead of 0-1 2019-12-17 04:01:38 +02:00
CheetoHead 73830832ce Update PaletteContainer.gd 2019-12-16 20:47:19 -05:00
CheetoHead 97efa20055 Merge branch 'master' into palette_updates 2019-12-16 20:36:06 -05:00
CheetoHead b094c6595f Added edit palette menu and custom file saving 2019-12-16 20:23:18 -05:00
OverloadedOrama 1ee38494e3 Changed default cursor shape for the rulers, because they were in the wrong direction 2019-12-17 00:04:25 +02:00
CheetoHead 388352467b Updated remove button to be disabled for default palettes 2019-12-16 10:48:23 -05:00
CheetoHead b40f8f0513 Merge branch 'master' into palette_updates 2019-12-16 10:23:46 -05:00
CheetoHead b57e2c3c74 Palette switching bug fix 2019-12-16 10:14:16 -05:00
OverloadedOrama 9f1779893d Changed default cursor shape for the rulers, to indicate that they are interactive 2019-12-16 16:00:02 +02:00
OverloadedOrama 0570fc7351 Moved color preview under color picker
This closes #53
2019-12-16 15:36:33 +02:00
OverloadedOrama 6c14a7d5e2 Fixed issue where the brush type select popup window chose brush type for the right tool instead of the left 2019-12-16 02:02:49 +02:00
OverloadedOrama ed42cdaef1 Fixed palette issue where, when you changed palette, you would still select colors from the Default palette
Also removed "pass" from the methods, since their purpose is to prevent errors from empty functions and they don't do anything else besides that.
2019-12-16 00:14:17 +02:00
Hugo Locurcio fd9bf26695
Darken the UI when exiting the application
This improves user experience a bit when quitting Pixelorama,
especially on slower hardware.
2019-12-15 21:47:32 +01:00
Overloaded f97818d134
Merge branch 'master' into line-tool 2019-12-15 17:49:47 +02:00
OverloadedOrama 396f32735c Fixed some translation issues 2019-12-15 17:40:38 +02:00
Subhang Nanduri 632a0c8dd3 Fix for crashes that occur when using selection tool and line tool 2019-12-15 10:19:58 -05:00
OverloadedOrama 00ef80e932 Fixed problem with drawing and filling gaps, created "shift" in Input Map
previous_mouse_pos is now used for regular drawing, while previous_mouse_pos_for_lines is used for straight lines
2019-12-15 14:07:28 +02:00
OverloadedOrama f3ab5960ba Imported German translation in the Project Settings 2019-12-15 13:44:53 +02:00
Overloaded 52f9683223
Merge branch 'master' into palette_updates 2019-12-15 13:36:46 +02:00
Subhang Nanduri 40dfe544d8 Changed line tool so it activates by pressing shift after last draw 2019-12-15 02:09:14 -05:00
CheetoHead f2e858866e Added another palette option and got the selector button working 2019-12-15 00:06:04 -05:00
CheetoHead 582ee8e790 Additional changes w/ merge from master 2019-12-14 22:35:31 -05:00
CheetoHead 4c3b43d350 Merge branch 'master' into palette_updates 2019-12-14 22:19:17 -05:00
CheetoHead 51e26f6efa Loading palettes from json file in user folder 2019-12-14 22:11:32 -05:00
OverloadedOrama 482c06753e Made color palette buttons work for the right mouse button too
Also fixed issue where the custom brushes' color wasn't being updated, and re-added French as an option in the preferences.
2019-12-15 03:15:01 +02:00
CheetoHead 8da50296a2 Added Palette 2019-12-14 18:18:45 -05:00
Hugo Locurcio c4ca26c013
Fix compatibility with Godot 3.1
This closes #35.
2019-12-14 23:21:55 +01:00
OverloadedOrama a4b7fe2205 Implemented a fix for UndoRedo leak (#34) - Thanks to qarmin! 2019-12-13 00:19:28 +02:00
OverloadedOrama 87cddbce06 Fixed LightenDarken drawing bugs 2019-12-11 02:47:54 +02:00
OverloadedOrama 719d29526f Updated custom tool cursors & changed rectangle selection tool
- Also fixed a small translation bug with the menu items, for real this time
- Fixed a bug with the brush color not being updated when using the custom color picker tool
- The pixel indicators only appear for Pencil, Eraser and LightenDarken tools
- Small UI margin changes.
2019-12-11 01:00:26 +02:00
OverloadedOrama 1bd8ec4ae0 Added 2 small sprites below the cursor for the selected tools
Instead of having a tool icon as a cursor for the left tool only
2019-12-10 19:56:16 +02:00
OverloadedOrama e26fd5077d Made guides thicker so they won't disappear on certain zoom levels 2019-12-10 18:31:55 +02:00
OverloadedOrama e157b33e1d Fixed bug where if Pixelorama started with Greek and went to English, the menu items would remain in Greek 2019-12-10 14:28:19 +02:00
OverloadedOrama 704dcf90c0 Retain the zoom factor when adding a new frame
Also, when importing a PNG, the window title changes.
2019-12-09 01:39:59 +02:00
OverloadedOrama 31a67fcbc2 Fixed preview camera zooming issues on large images 2019-12-09 00:17:05 +02:00
OverloadedOrama 2a086a41d8 Custom canvas images for all tools 2019-12-08 03:32:58 +02:00
OverloadedOrama bf4052ad84 Full Greek support and minor UI changes
Everything should now be translated in Greek. Will update if I have forgotten anything. Also made some changes to the layer and frame button colors and layer position.
2019-12-08 03:12:34 +02:00
OverloadedOrama d81d7ee5ef Grid size and color in preferences, update_texture optimization
- Added grid size and color in preferences
- Canvas' update_texture() updates the frame button's texture only when the user releases a mouse button. This should optimize drawing in large images.
- Cursor is no longer invisible inside the canvas
- Minor UI changes
- Added some more translations. This is going to be a common thing in commits from now on.
2019-12-07 19:34:54 +02:00
OverloadedOrama ade2d05a1b Partial localization support - Greek Language
Also added a Preferences window, where the user can change Pixelorama's language. Note that the .csv's delimiter is Tab and not comma.
2019-12-07 17:45:48 +02:00
OverloadedOrama 2369243cfc Merging layer & saving sprite now uses custom blend_rect method
Also added CameraMovement.gd to the preview window camera and fixed a cursor problem where it always remained as the default arrow cursor outside the canvas
2019-12-07 01:08:23 +02:00
OverloadedOrama 5613c3d7ef Overall code re-organizing & layer renaming changes
- When renaming a layer, the line edit grabs the focus. If enter is pressed, it gets invisible. Also fixed positioning and size
- Re-organized the variables in Global, now they are less messy and randomly placed
- Layer, frame & brush textures stretch mode has been changed to Keep Aspect Centered
2019-12-06 01:48:29 +02:00
OverloadedOrama da61234b13 Added custom cursor images for bucket & color picker
- Custom cursor images for bucket & color picker, only when mapped to the left button
- Cursor is now invisible when the left chosen tool is anything but bucket, color picker and rectangle select.
- Improved and added more hint tooltips.
2019-12-06 00:27:47 +02:00
OverloadedOrama 340af88eb4 Added a mini-canvas preview window 2019-12-05 16:49:27 +02:00
OverloadedOrama 8b913553aa Fixed bug when drawing custom brushes
Added a src_rect parameter to blend_rect()
2019-12-05 01:38:10 +02:00
OverloadedOrama c35a8a6854 Added quit dialog
Works when quitting from the menu, when quitting by pressing the close ("X") button and on Alt-F4.
2019-12-04 19:16:18 +02:00
OverloadedOrama 5f72e970c6 Added a custom color picker tool, which allows you to select a color from the canvas 2019-12-04 17:22:21 +02:00
OverloadedOrama dd60f0fc7e Added lighten/darken option and amount for the LightenDarken tool
You don't use Ctrl anymore to switch between Lighten and Darken
2019-12-04 01:01:37 +02:00
OverloadedOrama 700f287edc Added fill area option for the bucket tool - this restores the old "paint all pixels of the same color" tool's functionality 2019-12-04 00:14:14 +02:00
OverloadedOrama 532f6c75ed Custom brush appears as cursor only in Pencil and Eraser tools 2019-12-03 21:51:13 +02:00
Overloaded 2a57ec5f57
Merge pull request #33 from azagaya/master
Added custom blend function to workarround godot's blend rect issue
2019-12-03 18:42:03 +02:00
OverloadedOrama 9102614a0c Tool options now hide and appear depending on selected tool
More tool options for the other tools, like bucket, should come soon. The PaintAllPixelsSameColor tool has been removed, as it will be implemented as an option for the bucket tool.
2019-12-03 18:36:28 +02:00
OverloadedOrama 74ca33ed35 "Brush color from" doesn't appear when Pencil isn't selected
Also renamed some nodes and made changes to the links found at the About Dialog.
2019-12-03 17:59:50 +02:00
azagaya ea09dfddfb Added custom blend function to workarround godot's blend rect issue 2019-12-03 12:53:42 -03:00
OverloadedOrama 70bd1dde43 Added show rulers & guides in the View menu 2019-12-03 02:30:38 +02:00
OverloadedOrama 5ffd0ecf6a "Brush color from" now invisible when pixel brush is selected 2019-12-03 00:25:22 +02:00
OverloadedOrama a2fdf7c4a5 Changed split screen button icon 2019-12-02 02:04:46 +02:00
OverloadedOrama bc1d16c14c Added color switch and defaults button
- Changed left and right color picker position in the UI
- Added a color switch button that switches the left & right colors
- Added a reset to default color button, that makes the left color black and the right white
2019-12-01 00:52:58 +02:00
azagaya d246df042a Another attemt to workarround flood_fill bug 2019-11-30 09:26:58 -03:00
OverloadedOrama f10bf4c96f Possible fix of #10 - thanks azagaya! 2019-11-30 03:22:56 +02:00
OverloadedOrama 3312b8064f Removed left and right brush arrows
- Removed left and right brush arrow indicators completely.
- Fixed bug when removing custom project brushes.
2019-11-30 02:45:45 +02:00
OverloadedOrama 4721a01f2e More UI changes
- Left tool options is now on top of the right tool options.
- Brushes have been removed from the right panel, and have instead become a popup that appears when you press one of the brush type buttons, to choose a brush. The indicators will be removed.
2019-11-30 00:41:34 +02:00
azagaya 70dfd856fe Don't draw blue rectangle arround selected pixel when picking color 2019-11-29 11:13:11 -03:00
OverloadedOrama d027923a0e Fixed bug when using a non-pixel brush with Lighten/Darken
If you selected a non-pixel brush with Lighten/Darken, it acted like a regular pencil. Now, no matter what brush you have selected, L/D only works as a pixel brush.
2019-11-27 01:13:02 +02:00
OverloadedOrama 8132c8dcc5 Added hint_tooltip to file brushes
- File brushes now have their file name as their hint_tooltip.
- Changed horizontal & vertical ruler minor_subdivision to 4.
2019-11-25 18:56:53 +02:00
OverloadedOrama e940029979 Fixed crash when choosing "no loop" after looping with 1 frame
Before this commit, if you had one frame in the timeline and clicked the loop button until it went back to no loop WHILE the animation was playing, Pixelorama would crash. Now, if you're left with only one frame, Pixelorama will stop animating. Also updated the loop button's hint tooltip.
2019-11-24 00:52:17 +02:00
OverloadedOrama 36b462c30a Guides get saved in .pxo files 2019-11-23 22:20:03 +02:00
OverloadedOrama 122f42b361 UndoRedo v12 - Guide support
- Guides now have undo/redo support when being moved. If they are moved outside the canvas they get queue_freed.
- Updated icon.
2019-11-23 01:02:53 +02:00
Overloaded 66f3e8b00d
Merge pull request #23 from Calinou/improve-window-title
Display the name of the currently open file in the window title
2019-11-22 00:02:52 +02:00
Hugo Locurcio 0ffb2a6cf9
Display the name of the currently open file in the window title
This also removes the version number from the window title,
as it can be seen in the About dialog.
2019-11-21 20:13:15 +01:00
Hugo Locurcio 9bdc0e16b6
Improve the status bar display
- Display zoom as a percentage, to be more in line with other
  2D editing applications.
- Increase spacing between labels.
- Use the Unicode multiplication sign.
2019-11-21 18:10:03 +01:00
OverloadedOrama 224316256c Added guides
- Added horizontal & vertical guides which can be dragged from their respective rulers
- Fixed bug when opening and importing files
2019-11-21 00:11:21 +02:00
OverloadedOrama d44b31b5a8 Merge pull request #20 with previous commit 2019-11-20 14:42:52 +02:00
OverloadedOrama e895e82a95 Added a seconds ruler for the timeline & changed brushes position 2019-11-20 14:41:02 +02:00
Overloaded d70c1e5714
Merge pull request #19 from Calinou/remember-window-position-size
Remember the window position and size across restarts
2019-11-20 00:03:04 +02:00
Hugo Locurcio 199589924b
Remember the window position and size across restarts
This makes it more convenient to use Pixelorama, especially when using
multiple monitors.

The associated cache configuration file could be reused in the future
to store other kinds of "semi-persistent" data.
2019-11-19 22:37:01 +01:00
Hugo Locurcio cfeb4213f5
Implement fullscreen toggle by pressing F11 or Alt + Enter 2019-11-19 22:33:37 +01:00
OverloadedOrama 7318db30ab Major UI changes - including new icons!
- New UI icons for the tools, layer and frame buttons.
- Removed clone, remove and move frame buttons. You can now right click on a frame button to do these actions instead.
- Added first, previous, next and last frame buttons to the timeline.
- Added rulers for the main canvas viewport.
- Window size bumped to 1152x648.
- Default FPS is now 6 instead of 1.
- Fill tool renamed to Bucket.
- Mouse default cursor shape for the canvas is the arrow instead of cross.
- Mouse default cursor shape for the mirror and onion skinning buttons is the pointing hand.
2019-11-19 23:23:43 +02:00
OverloadedOrama 22c57a1b36 Backend for rulers
- Added HorizontalRuler.gd and VerticalRuler.gd - UI for the rulers will arrive soon, along with the other UI changes
- Changed transparency background
2019-11-19 03:52:04 +02:00
OverloadedOrama d66c501b5c v0.4 - Undo/Redo, mirrored drawing, lighten/darken tool and more!
In this commit:
- Added notification labels that appear when the user does an action (for undoing, redoing and saving)
- Fixed symmetry with custom brushes.
- In Main.gd, current_save_path and current_export_path get cleared when the user creates a new drawing or opens one.

v0.4 of Pixelorama is out! Check https://functionoverload590613498.wordpress.com/2019/11/13/pixelorama-v0-4-is-out/ for the full changelog.
2019-11-13 15:45:55 +02:00
OverloadedOrama 17d117a0b1 Finalized Lighten/Darken tool
Lighten/Darken tool now works only once per pixel per mouse press, and it can get mirrored too. Spoiler alert, next commit should be the release of v0.4.
2019-11-12 02:51:47 +02:00
OverloadedOrama e6bd897d1f UndoRedo vol 11 - Remove custom brush has UndoRedo
- Removing a custom brush can now be undone and redone.
- Fixed custom brush symmetry on mirrored drawing
2019-11-11 18:41:43 +02:00
OverloadedOrama 5896d1f06d Remove custom brushes
- The ability to remove custom "project" brushes have now been added. Note that you cannot remove file brushes, or the pixel brush.
- Added some UI labels for the two brush containers
2019-11-11 15:55:28 +02:00
OverloadedOrama b1e8bde3ac Import brushes from folder
- A new type of custom brush has been added, brushes from files! Basically there's a "Brushes" folder where Pixelorama can get brushes from, and, unlike the previous brushes, these are for all projects and are not saved in .pxo files. These brushes get loaded on the _ready() method of Main.gd, and are ignored by Godot.
- There are now 2 containers for the two types of custom brushes. The main pixel brush is with the brushes from files.
- Fixed bug where, if you had selected a custom "project" brush and loaded a .pxo file, the brush would still be selected, causing potential problems
- Fixed bug where you could save a project brush that was completely transparent
- Fixed bug where, if you named a file, some shortcuts would be activated.
- export_presets.cfg is now ignored.
2019-11-11 04:20:09 +02:00
OverloadedOrama e825cc03e5 UndoRedo vol 10 - Add/Remove/Clone/Move Frames now have UndoRedo
- UndoRedo for Add/Remove/Clone/Move Frames
- Set functions for frame changes (both on canvases and Global.current_frame)
- Removed unneeded signal methods and put multiple signals on one method instead (for example, add and clone layer button signals both connect to add_layer())
- Fixed bug where, if you opened a .pxo file with multiple frames, the remove frame button would be disabled.
- Probably other small things that I'm forgetting to mention
2019-11-10 03:25:25 +02:00
OverloadedOrama ec7b2129ff UndoRedo vol 9 - Add/Remove/Clone/Move/Merge Layers now have UndoRedo 2019-11-07 00:12:40 +02:00
OverloadedOrama c535ec801a Rename layers, layers & frames are now toggle-able buttons 2019-11-06 18:39:23 +02:00
OverloadedOrama 79ceced483 WILL BREAK BACKWARDS COMPATIBILITY WITH .pxo FILES - Layer names get saved in .pxo files now 2019-11-06 00:08:57 +02:00
OverloadedOrama 40e0978b3f UndoRedo vol 8 - Draw while animating should now work with UndoRedo 2019-11-05 18:19:41 +02:00
OverloadedOrama 8bc0879814 UndoRedo vol 7 - New/Open/Import clear history, Crop has undo/redo
- New, Open and Import now clear undo/redo history
- Crop Image now has undo/redo
- Fixed bug where redo wasn't working properly in multiple frames

Found bug when drawing while animating - undo/redo isn't being registered properly.
2019-11-05 03:14:03 +02:00
OverloadedOrama 18d109f959 UndoRedo vol 6 - Scale Image now has undo/redo 2019-11-04 21:54:39 +02:00
OverloadedOrama 4ba2f3280a UndoRedo vol 5 - Added undo/redo for clear selection & flip h/v edit menu options
- Undo/redo for clear selection, flip horizontal & flip vertical
- Moved undo and redo on the top of the edit menu
2019-11-04 19:12:35 +02:00
OverloadedOrama 8fadacdf12 UndoRedo vol 4 - Fixed bug when user drew and the cursor was outside the canvas
Users can now undo/redo when they draw outside the canvas. Release the button outside the canvas, press the button outside the canvas and then bring it inside to draw. All work now. I hope.
2019-11-03 23:07:57 +02:00
OverloadedOrama 04c3173c4c UndoRedo vol 3 - Fixed bug when user clicked both mouse buttons
Drawing outside canvas needs fixing next in our UndoRedo adventure
2019-11-01 01:41:02 +02:00
OverloadedOrama 0d69e45cab UndoRedo - Should work with multiple layers and frames
- UndoRedo should work with multiple layers and frames
- When pressing right click while left click is being pressed, undo/redo logic is being discarded. It is still buggy, however, when the user holds the right click first and then left click, as well as, when the user holds left click, then holds right click, releases left click and then releases right click.
2019-10-31 21:34:42 +02:00
OverloadedOrama 513637605c Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-10-29 23:25:00 +02:00
OverloadedOrama 7b8c6bbf00 UndoRedo - Unstable with bugs
Started working on UndoRedo. Currently works with basic drawing/erasing/bucket filling as well as the rectangle selection tool, custom brushes and copying/pasting.

May not work with multiple layers and frames and it does not work with the rest of the tools and buttons. Also does not work when pressing both mouse buttons at the same time, or when the cursor is outside the canvas when drawing.
2019-10-29 23:22:38 +02:00
Hugo Locurcio f407de234b
Remove trailing whitespace and ensure newlines at end of files 2019-10-25 16:39:09 +02:00
OverloadedOrama 2b64031786 Merge mirrored drawing and flip 2019-10-24 00:36:22 +03:00
OverloadedOrama 38377e1633 Mirrored drawing
- Mirrored drawing in horizontal, vertical or both axes.
- Fixed bug where the paint all pixels of the same color tool would affect other frames.
- Removed most of the parameters for draw_pixel() - replaced them with "current_mouse_button" instead.
2019-10-24 00:34:08 +03:00
OverloadedOrama c64c3408e8 Added two new tools, Paint all pixels of same color and lighten/darken
- Paint all pixels of same color tool added. Does what it says.
- Lighten/darken tool. It lightens by default, darkens when user is pressing Ctrl.
- Removed tool variables from main - stored everything in an array instead.
2019-10-23 02:54:29 +03:00
OverloadedOrama e18389d8c4 v0.3 - Custom brushes, rectangle selection and .pxo!
v0.3 of Pixelorama is out! Check https://functionoverload590613498.wordpress.com/2019/10/22/pixelorama-v0-3-is-out/ for the full changelog.
2019-10-22 14:27:07 +03:00
OverloadedOrama 420ec63aeb Fixed issue #9 and custom brush cursor indicator position
- Fixed issue #9 where custom brushes would get drawn outside of a rectangle selection. They only get drawn inside the selection, just like the normal pixel brush.
- The custom brush cursor indicator (that follows the mouse cursor position) wasn't aligned with the image's pixels. Now it is.
- Fixed small bug when opening sprites. Had to do with has_focus's initial state.
- Removed Main Theme.tres because it was pointless.
2019-10-03 19:37:31 +03:00
OverloadedOrama eb29cd3268 Brushes now get removed when opening a project, indicators for chosen sprites
- If you had custom brushes in your project and you opened a new one (from a .pxo file), the brushes would stack. Now, the previous brushes get removed.
- Added arrow left and right indicators for the selected brushes.
2019-10-02 21:58:19 +03:00
OverloadedOrama be6f9121ed Fixed bug where the user selected a new color on the pixel brush
Nothing significant, carry on
2019-09-27 20:39:16 +03:00
OverloadedOrama 7ff823f3a5 When a custom brush is selected, it now appears as an indicator at the cursor
Also moved blend_image_with_color() to Global and the custom brush image (resized & blended accordingly with the selected color and interpolation factor) is now updated every time something changes (size, color etc) and not every time you draw. This is not true for the eraser, however, as it must be blended with Color(0, 0, 0, 0)
2019-09-27 20:05:24 +03:00
OverloadedOrama 4e4a526332 Custom brushes, crop image, split screen, about menu & asset re-organizing
- Added support for custom brushes. When you Ctrl-C a selection, it gets added to the list of custom brushes. Each mouse button can have a different brush, and the user can choose whether their color comes from the brush itself or the selected color in the tool options. They can also be resized based on the selected brush size.
- Custom brushes are also being saved on .pxo files.
- You can now crop images (per frame). All layers of that frame are taken into account and are affected.
- Added split screen support. The user can toggle between single screen and split screen, where a second canvas is being shown. Note that you cannot draw on the second canvas.
- Added an About Pixelorama selection on the new Help menu.
- Project assets are re-organized.
2019-09-25 22:59:48 +03:00
OverloadedOrama 62b9278537 Selection can be moved outside the canvas
- Rectangle selection can be created and moved outside the canvas
- Added new View menu for Tile Mode and Show Grid.
- When creating a new canvas, you can now choose a color to fill your new image with
- FPS accepts values with up to 2 decimal points. SpinBox's step is changed from 1 to 0.01
- Fixed errors that occured when the user drew outside the canvas, caused by get_pixel()
- Fixed error that occured when the user was pasting an empty image
- Removed point_in_rectangle_equal() and new_canvas()
2019-09-19 00:10:23 +03:00
OverloadedOrama 2b710afd3b Added rectangle selection tool, copy & paste selection and Tile Mode
- New rectangle selection tool. Hold mouse button to create selection, release to finish it. You cannot draw outside of the selection.
- The selection can be moved around, and if Shift is pressed, selected content gets moved too. Currently cannot be moved outside the canvas.
- You can copy the selection with Ctrl + C, and paste it on a new selection with Ctrl + V.
- Added tile mode. Basically draws the canvas 8 more times in all directions.
2019-09-18 17:47:28 +03:00
OverloadedOrama f83e5b44f3 Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-09-14 22:58:28 +03:00
OverloadedOrama dd9bfc1c33 Added Onion Skinning & Custom .pxo File
- Onion skinning for animations. Choose past and future steps and toggle blue-red mode.
- Custom .pxo file. If you save your project as a .pxo file, it remembers all of your frames, their layers, brush sizes, brush colors and color palletes!
- Ping-pong loop type. When the animation finishes, it plays backwards.
- Ability to import new frames in the timeline as additions, without deleting the previous frames.
2019-09-14 22:55:33 +03:00
Hugo Locurcio cec04970d1
Define a minimum window size when supported
This prevents UI elements from collapsing when resizing the window.
2019-09-14 19:02:29 +02:00
OverloadedOrama 4331a0232e Changed current frame label
Current frame label now shows the current frame and the number of all frames. Also, when saving frames as multiple files, the count starts at 1 instead of 0.
2019-09-10 12:47:15 +03:00
OverloadedOrama 0058edbc4a Changed frame starting point from 0 to 1
Frame UI now start at 1 instead of 0. Also added a "Current frame:" label.
2019-09-10 02:30:43 +03:00
OverloadedOrama 5781c42821 v0.2 - Animation Timeline & UI changes!
v0.2 of Pixelorama is out!
- Added animation timeline. You can add. remove. clone and change order of your frames!
- You can now import multiple images as frames.
- Ability to save individual frames, all frames as multiple files, or all frames as a single file in the form of a horizontal or vertical spritesheet!
- Different frames can have a unique amount of layers and they can be of different sizes.
- Image scaling is now functional.
- Added hints for UI elements.
- A lot of UI changes.
2019-09-10 01:57:46 +03:00
OverloadedOrama 1f80291a4b More UI hints and cursor changes
UI hint for the layer visibility buttons and the cursor shape changes depending on where the user is hovering.
2019-09-04 20:50:05 +03:00
OverloadedOrama 21397fefb2 Brush sizes and grid
- Changed UI layout
- The user can now change brush sizes for both left and right mouse buttons.
- A working grid - thanks to flurick!
2019-09-03 22:51:14 +03:00
OverloadedOrama f647a42752 Initial commit 2019-08-18 12:28:38 +03:00