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

76 commits

Author SHA1 Message Date
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 8b5ee21d01 Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-11-20 14:43:00 +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 05fdb06348
Merge pull request #20 from Calinou/fix-variable-shadowing-warning
Fix a variable shadowing warning
2019-11-20 00:04:17 +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
Overloaded 6fe9f0c0f1
Merge pull request #18 from Calinou/add-fullscreen-toggle
Implement fullscreen toggle by pressing F11 or Alt + Enter
2019-11-20 00:02:11 +02:00
Hugo Locurcio f1eb6de1d0
Fix a variable shadowing warning
This warning was reported by Godot 3.2 thanks to its new variable
shadowing warning.
2019-11-19 22:40:34 +01: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
Overloaded df750c4d10
Merge pull request #15 from Calinou/add-svg-image-format
Add support for importing SVG images
2019-10-27 12:47:19 +02:00
Hugo Locurcio ccce588777
Add support for importing SVG images
This makes use of Godot's SVG importer to load SVGs and rasterize them.
2019-10-27 11:37:35 +01:00
Overloaded e7976bcbb6
Merge pull request #14 from Calinou/remove-trailing-whitespace
Remove trailing whitespace and ensure newlines at end of files
2019-10-25 23:24:37 +03:00
Overloaded a856460358
Merge pull request #13 from Calinou/add-more-image-formats
Add support for loading additional image formats
2019-10-25 23:23:48 +03:00
Hugo Locurcio f407de234b
Remove trailing whitespace and ensure newlines at end of files 2019-10-25 16:39:09 +02:00
Hugo Locurcio c08561b92b
Add support for loading additional image formats
This also makes it possible to load JPEG images if they have a `.jpeg` extension.
2019-10-25 16:33:37 +02:00
OverloadedOrama 6350995385 Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-10-24 00:37:59 +03: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
Overloaded f05fbc89f3
Merge pull request #12 from danielnaoexiste/master
[Feature] Added flip horizontal/vertical
2019-10-24 00:27:22 +03:00
danielnaoexiste 5d8ba381fe Added flip horizontal/vertical 2019-10-23 18:07:10 -03:00
danielnaoexiste 918eec30ce git push origin master --force Added flip Horizontal/Vertical 2019-10-23 18:04:25 -03:00
danielnaoexiste 7838ea6ad9 FAdded flip Horizontal/Vertical 2019-10-23 18:01:52 -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
Overloaded 086b4f1423
Merge pull request #7 from Calinou/remove-import-directory
Remove the `.import/` directory
2019-09-26 20:30:48 +03:00