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

3287 commits

Author SHA1 Message Date
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
Overloaded ce4b3b97aa
Merge pull request #22 from Calinou/improve-status-bar-display
Improve the status bar display
2019-11-22 00:02:13 +02:00
Overloaded 74dc59fc80
Merge pull request #21 from Calinou/add-linux-integration-files
Add `.desktop` and AppStream metadata files for Linux integration
2019-11-22 00:00:33 +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
Hugo Locurcio 6032d8de0a
Add .desktop and AppStream metadata files for Linux integration
These could be pulled into a Flatpak in the future.
2019-11-21 17:36:37 +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 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