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

23 commits

Author SHA1 Message Date
OverloadedOrama 5e942d7b3b Update frame when unlinking it 2020-03-22 00:30:10 +02:00
OverloadedOrama 9ca564cfe1 Cel unlinking now works properly
Undo/redo can have some weird behavior right now
2020-03-21 22:55:36 +02:00
OverloadedOrama b7b3d1d924 Actually link the images - changes that happen to one linked cell happen to another
Also fixed a a crash in FrameButton.gd
2020-03-18 03:24:15 +02:00
OverloadedOrama 07b62c9fd8 Added "Unlink Cell" to FrameButton's PopupMenu (appears on right click)
Behavior may be changed because it's not set to work with UndoRedo. Not sure if it should, yet.
2020-03-18 02:57:23 +02:00
OverloadedOrama 778c86183f Cel buttons have a green outline to indicate that they're linked
The first time the link button get pressed, the currently selected cel is being linked. In futue commits, new frames will be linked on layers where the link button is pressed.
2020-03-18 02:02:41 +02:00
OverloadedOrama 1e5c674673 Fixed spacing between some comments 2020-03-09 02:17:49 +02:00
OverloadedOrama 4969978f46 Fix issue with frame moving and current_frame not changing
This bug actually originates from before the timeline remake and can be found in v0.6.2 and potentially earlier versions.
2020-03-07 16:43:27 +02:00
OverloadedOrama 2a5dfa7ea2 The selected cel (?) is now pressed, based on current layer and frame
All the other buttons are pressed = false. Also removed some legacy code.
2020-03-07 16:43:26 +02:00
OverloadedOrama 24818bfaea Cloning frames works 2020-03-07 16:43:26 +02:00
OverloadedOrama 60aed9efba Use setter method for layers to update the UI
Instead of updating it in undo and redo methods
2020-03-07 16:43:22 +02:00
OverloadedOrama 2bfae68755 Implemented Remove Layer - Doesn't work properly yet 2020-03-07 16:43:21 +02:00
OverloadedOrama a2893e1c1c Store layer visibility on Global.layers instead
This way, toggling visibility in a layers works for all frames in that layer.
2020-03-07 16:43:19 +02:00
OverloadedOrama 953d002d91 [EXPERIMENTAL] Re-making the timeline
Trying to merge layers into the timeline, and eventually add more features like "share layer with all frames", among others. THIS IS NOT FINISHED, IT WILL *NOT* WORK PROPERLY. Once it is finished, this branch will be merged onto master.

So far only add layer and add frame work, and even they may have some issues. Undoing also does not work properly yet.

The UI is also not finished, as it currently has problems with the scroll containers.
2020-03-07 16:43:17 +02:00
OverloadedOrama 8ff917111c Changes to better follow GDScript style guide
Nothing new is being added in this commit, just code re-ordering & re-naming to better follow the recommended GDScript style guide.
http://docs.godotengine.org/en/3.2/getting_started/scripting/gdscript/gdscript_styleguide.html

And

https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/
2020-02-11 00:06:24 +02:00
OverloadedOrama 14900ed5ab Remove custom brushes with the middle mouse button
And made the "X" button on the custom brushes a little smaller. Partially addresses #132
2020-01-28 00:22:04 +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 d08841da62 Remove frames with middle click 2019-12-21 04:20:55 +02:00
OverloadedOrama d44b31b5a8 Merge pull request #20 with previous commit 2019-11-20 14:42:52 +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 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
Hugo Locurcio f407de234b
Remove trailing whitespace and ensure newlines at end of files 2019-10-25 16:39:09 +02: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 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