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

21 commits

Author SHA1 Message Date
OverloadedOrama 53d062619e Rectangle Selection works per layer again 2020-03-07 16:43:23 +02:00
OverloadedOrama 02b91479ad Should fix #162 2020-02-17 18:28:55 +02:00
OverloadedOrama bac3fdcad6 Canvas Line2D doesn't get freed and re-created
Make Line2D have the same position for both of its points so it's invisible when the user is not making a straight line
2020-01-15 22:31:02 +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
Michael Alexsander a1ed703b56 Fix multiple inferring errors 2019-12-27 19:00:45 -03:00
OverloadedOrama fa3b2f649b Delete the contents of a selection when pressing "Delete" 2019-12-27 16:10:05 +02:00
Overloaded f97818d134
Merge branch 'master' into line-tool 2019-12-15 17:49:47 +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 f3ab5960ba Imported German translation in the Project Settings 2019-12-15 13:44:53 +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
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 e26fd5077d Made guides thicker so they won't disappear on certain zoom levels 2019-12-10 18:31:55 +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 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 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 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 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
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