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

74 commits

Author SHA1 Message Date
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 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 ea97ec85f8 Added outline generation, under new "Image" menu
You can currently change outline color & thickness
2019-12-24 16:48:07 +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 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 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 c3e75496d6 Theme preferences now get saved in the config_cache file 2019-12-20 16:36: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
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 b094c6595f Added edit palette menu and custom file saving 2019-12-16 20:23:18 -05: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 f3ab5960ba Imported German translation in the Project Settings 2019-12-15 13:44:53 +02:00
CheetoHead 51e26f6efa Loading palettes from json file in user folder 2019-12-14 22:11:32 -05:00
OverloadedOrama a4b7fe2205 Implemented a fix for UndoRedo leak (#34) - Thanks to qarmin! 2019-12-13 00:19:28 +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 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 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 340af88eb4 Added a mini-canvas preview window 2019-12-05 16:49:27 +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 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 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 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
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 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 e895e82a95 Added a seconds ruler for the timeline & changed brushes position 2019-11-20 14:41:02 +02: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 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