1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-15 18:13:15 +00:00
Commit graph

3351 commits

Author SHA1 Message Date
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
Hugo Locurcio
131651d0da
Remove the .import/ directory
This directory shouldn't be committed to version control, as its
contents are generated automatically when editing the project
for the first time.
2019-09-26 19:16:17 +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
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
Overloaded
7c4eea16af
Merge pull request #6 from Calinou/set-minimum-window-size
Define a minimum window size when supported
2019-09-14 22:15:27 +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
Overloaded
7781126162
Update README.md 2019-09-10 16:55:14 +03:00
Overloaded
bf91e2ceae
Update README.md 2019-09-10 16:52:58 +03: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
088962e149 Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-09-10 02:30:55 +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
Overloaded
b0f8fd931a
Update README.md 2019-09-10 02:29:44 +03:00
OverloadedOrama
6ee8095162 Merge branch 'master' of https://github.com/OverloadedOrama/Pixelorama 2019-09-10 02:15:32 +03:00
Overloaded
35859f948d
Update README.md 2019-09-10 02:15:11 +03:00
OverloadedOrama
9d0e0c1d3d Update Main.tscn 2019-09-10 02:11:59 +03:00
OverloadedOrama
ae4088629d Removing unneeded files 2019-09-10 02:05:51 +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
Overloaded
dce7c4b110
Update README.md 2019-08-18 14:38:41 +03:00
Overloaded
0538d3b0f8
Update README.md 2019-08-18 14:38:28 +03:00
Overloaded
1ed9a295b6
Update README.md 2019-08-18 14:03:53 +03:00
Overloaded
0b1797be33
Update FUNDING.yml 2019-08-18 13:54:52 +03:00