Emmanouil Papadeas
a150b66fe7
Some code changes to allow for potential negative frames placement for audio
...
This woud allow audio to be placed in negative frames, which essentially means that audio would start before the first frame. This is not yet supported, however, because I don't know how to make it work with FFMPEG.
2024-12-14 00:25:57 +02:00
Emmanouil Papadeas
710f6d41e6
Only plays the portion of the sound that corresponds to the specific frame so maybe we should do that as well
...
When the animation is not running. If it is running, play the sound properly.
2024-12-13 17:29:35 +02:00
Emmanouil Papadeas
214ba1b17d
Mute audio layer when hiding it mid-play
2024-12-13 17:21:49 +02:00
Emmanouil Papadeas
97495a19da
Update audio cel buttons when changing the audio of the layer
2024-12-13 17:16:22 +02:00
Emmanouil Papadeas
019a8db21c
Stop audio from playing when looping, and the audio does not play at the first frame
2024-12-13 17:13:32 +02:00
Emmanouil Papadeas
fa3642f99c
Some code improvements and documentation
2024-12-10 23:36:33 +02:00
Emmanouil Papadeas
ef9a3e47a2
Update Translations.pot
2024-12-10 23:27:05 +02:00
Emmanouil Papadeas
7f63bb3a16
Easily change the playback frame of an audio layer from the right click menu of cel buttons
2024-12-10 23:15:10 +02:00
Emmanouil Papadeas
b7d4a9bd77
Clone audio layers, disable layer merge and FX buttons when an audio layer is selected
2024-12-10 21:26:46 +02:00
Emmanouil Papadeas
c56b242c46
Change the audio driver to Dummy from the Preferences for performance reasons
2024-12-10 03:38:22 +02:00
Emmanouil Papadeas
0b0ae02ce2
Load audio files from the audio layer properties
2024-12-10 02:58:40 +02:00
Emmanouil Papadeas
7633b0fe2a
Pxo loading/saving
2024-12-10 02:32:34 +02:00
Emmanouil Papadeas
a1764f3323
Remove unneeded cel properties for audio cels
2024-12-10 01:42:22 +02:00
Emmanouil Papadeas
04f5a162c0
Fix crashes when the audio layer has no track
2024-12-10 01:34:21 +02:00
Emmanouil Papadeas
16c06bf9af
Change the frame where the audio plays at
2024-12-10 01:25:02 +02:00
Emmanouil Papadeas
404d938565
Support frame delay
2024-12-10 00:52:57 +02:00
Emmanouil Papadeas
ecd479b4e2
Export audio in videos with custom delay
2024-12-09 20:54:04 +02:00
Emmanouil Papadeas
1088a8bbe7
Minor code improvements
2024-12-09 18:56:07 +02:00
Emmanouil Papadeas
3a7d3410d3
Fix adding/removing in-between frames breaking the visual indication of audio cels
2024-12-09 18:55:58 +02:00
Emmanouil Papadeas
98d2e12415
Remove support for ogg audio files as they cannot be saved
...
At least until I find a way to save them. Wav files will be supported with Godot 4.4
2024-12-09 18:40:40 +02:00
Emmanouil Papadeas
47fb74b268
Export videos with audio
...
Only works with mp3 for now
2024-12-09 18:39:18 +02:00
Emmanouil Papadeas
963eef4124
Import audio from videos
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
0cef80ab6f
Set the audio layer names to be the imported audio file names
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
145036f71d
Don't play audio is layer is invisible
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
5242b96f64
Fix audio not playing at the appropriate position
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
a7efc3eb03
Change audio cel textures for the cels where audio is playing
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
f398a6159c
Play audio at the appropriate position when the animation runs, and stop when the pause button is pressed
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
e5d95c69e2
Support mp3 files
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
2c8c1ba8fd
Fix playback position
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
1b7494a767
Load ogg audio files
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
cc0ab5949f
Initial work on audio layers
2024-12-09 16:35:41 +02:00
Emmanouil Papadeas
11e05ac471
Fix loading project with linked cels
...
Regression from #1146 .
2024-12-09 16:30:53 +02:00
Emmanouil Papadeas
3c3de7823a
Fix brush preview turning white for a moment when switching tools
...
Continuation of b7c34f42
2024-12-09 13:38:58 +02:00
Emmanouil Papadeas
aa5c1d3182
Fix wrong current directory of the open and save dialogs
...
Their current directory was one directory above of the directory it should be
2024-12-09 00:55:22 +02:00
Emmanouil Papadeas
3022963b84
Fix pasting not being snapped to grid when draw tiles mode is enabled
2024-12-09 00:17:43 +02:00
Emmanouil Papadeas
0873a7bf70
Make the tiles panel immediately visible when loading a project at startup that only has tilemap layers
2024-12-09 00:17:24 +02:00
Emmanouil Papadeas
0d2b579afe
Don't export the first frame twice when using ping pong loop
2024-12-08 15:40:03 +02:00
Emmanouil Papadeas
9c628c403b
Fix stack tile editing mode not increasing the tile's times_used
variable
2024-12-07 17:01:56 +02:00
Emmanouil Papadeas
d41037d2df
Fix tilemap manual editing mode not working with shape & text tools, and fixed issues with the pencil tool
...
Not the most performance-friendly solution, but it works. If users encounter performance issues in the future, we should rewrite this, as it does the same for loop two times.
2024-12-06 18:06:23 +02:00
Emmanouil Papadeas
65e907e1d2
Do not add an empty tile in the tilesets when loading a pxo file
2024-12-06 15:19:19 +02:00
Emmanouil Papadeas
e5c7d46997
Fix crash when saving a loaded pxo file that has tilesets
2024-12-06 15:16:01 +02:00
Emmanouil Papadeas
b7c34f4233
Fix pencil/eraser/shading previews turning white for a brief moment when changing image brushes
2024-12-06 04:11:05 +02:00
Emmanouil Papadeas
1ea80a342a
Fix some unintentional behaviors with tilemap layer tile editing modes
2024-12-06 04:03:57 +02:00
Emmanouil Papadeas
f91bb18fb2
Implement tilemap layers ( #1146 )
2024-12-05 03:57:44 +02:00
Emmanouil Papadeas
b48bb4a094
Fix moving selections with arrow keys moving two pixels instead of one
2024-12-04 01:19:45 +02:00
Variable
ff5713ae91
When picking color, ensure that the correct index is selected in palette ( #1144 )
...
* When picking color, ensure that the correct index is selected
* if drawing over same color in index mode, check and update index as well
* revert an optimization (croping indices image before display)
* typo
2024-12-02 19:44:52 +02:00
Spencer Beckwith
55f83a3367
Extract export path from output CLI option ( #1145 )
2024-12-01 16:47:16 +02:00
Emmanouil Papadeas
c72a1f4b90
Enable always on top for the child dialogs of the export dialog
2024-11-30 22:23:09 +02:00
Emmanouil Papadeas
be8b7728e4
[skip ci] Fix typo in ImageExtended docstrings
2024-11-29 20:19:19 +02:00
Variable
31981a1def
Added a way to see index of color (plus bugfixes) ( #1143 )
...
* add a way to see indices
* fix some things
* Fixed more than one swatch selected if there is the same color available in an earlier swatch
* fixed wrong index drawn when moved to an smpty swatch
* make active_button public
* fixed wrong color getting stored in array (similar fix to #1108.)
* If the color selected in the palette is the same then it should take prioity.
* formatting
* hide 0 index
2024-11-29 19:10:02 +02:00