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

3788 commits

Author SHA1 Message Date
Emmanouil Papadeas 18e9e2ec56
Implement audio layers (#1149)
* Initial work on audio layers

* Load ogg audio files

* Fix playback position

* Support mp3 files

* Play audio at the appropriate position when the animation runs, and stop when the pause button is pressed

* Change audio cel textures for the cels where audio is playing

* Fix audio not playing at the appropriate position

* Don't play audio is layer is invisible

* Set the audio layer names to be the imported audio file names

* Import audio from videos

* Export videos with audio

Only works with mp3 for now

* 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

* Fix adding/removing in-between frames breaking the visual indication of audio cels

* Minor code improvements

* Export audio in videos with custom delay

* Support frame delay

* Change the frame where the audio plays at

* Fix crashes when the audio layer has no track

* Remove unneeded cel properties for audio cels

* Pxo loading/saving

* Load audio files from the audio layer properties

* Change the audio driver to Dummy from the Preferences for performance reasons

* Clone audio layers, disable layer merge and FX buttons when an audio layer is selected

* Easily change the playback frame of an audio layer from the right click menu of cel buttons

* Update Translations.pot

* Some code improvements and documentation

* Stop audio from playing when looping, and the audio does not play at the first frame

* Update audio cel buttons when changing the audio of the layer

* Mute audio layer when hiding it mid-play

* 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.

* 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:30:04 +02:00
Variable 6100bdc8df
QOL improvements to the tileset panel (#1148)
* Added a background to swatches

* Improved UI for tilemap editor

* Implemented requested changes
2024-12-13 21:30:03 +02:00
Emmanouil Papadeas 94f71bda8d New translations installer.pot (Indonesian) 2024-12-13 01:05:41 +02:00
Emmanouil Papadeas a6486417f3 New translations translations.pot (Indonesian) 2024-12-13 01:05:40 +02:00
Emmanouil Papadeas 5ec316a50f Some minor UI improvements in the text tool
The text tool's caret is now blinking, and the width of the border should now change depending on the zoom value
2024-12-12 21:36:56 +02:00
Emmanouil Papadeas f313c103b2 New translations translations.pot (German) 2024-12-12 21:27:11 +02:00
Emmanouil Papadeas 05e77fe789 New translations translations.pot (German) 2024-12-12 20:13:55 +02:00
Emmanouil Papadeas ad5fe72ca5 New translations translations.pot (Romanian) 2024-12-12 17:19:38 +02:00
Emmanouil Papadeas 2213df0416 New translations translations.pot (Romanian) 2024-12-12 15:28:05 +02:00
Emmanouil Papadeas 79cda230f1 New translations translations.pot (Romanian) 2024-12-12 13:39:09 +02:00
Emmanouil Papadeas 83a795e828 New translations translations.pot (Spanish) 2024-12-10 17:24:47 +02:00
Emmanouil Papadeas a7a76ff9f0 Enable always on top for more child dialogs of other dialogs
Continuation of c72a1f4b90
2024-12-10 14:36:56 +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 db93ddfdd5 New translations translations.pot (Italian) 2024-12-05 23:47:30 +02:00
Emmanouil Papadeas 1c08dcee38 New translations translations.pot (Turkish) 2024-12-05 22:48:54 +02:00
Emmanouil Papadeas d05f1e7c84 New translations translations.pot (Italian) 2024-12-05 22:48:53 +02:00
Emmanouil Papadeas 012dc34d67 New translations translations.pot (Polish) 2024-12-05 21:14:15 +02:00
Emmanouil Papadeas f7c439de1b New translations translations.pot (Indonesian) 2024-12-05 19:23:29 +02:00
Emmanouil Papadeas 73cad6dbfe New translations translations.pot (Greek) 2024-12-05 18:02:35 +02:00
Emmanouil Papadeas 6354932496 New translations installer.pot (Persian) 2024-12-05 16:52:19 +02:00
Emmanouil Papadeas 18bb6c02b4 New translations translations.pot (Persian) 2024-12-05 16:52:16 +02:00
Emmanouil Papadeas d6744bc1f1 New translations installer.pot (Persian) 2024-12-05 14:44:31 +02:00
Emmanouil Papadeas c5a3d1ac0e New translations translations.pot (Persian) 2024-12-05 14:44:30 +02:00
Emmanouil Papadeas 0f2b2bdc88 New translations translations.pot (Japanese) 2024-12-05 07:54:22 +02:00
Emmanouil Papadeas 6d27ad3167 New translations translations.pot (Ancient Greek) 2024-12-05 04:12:50 +02:00
Emmanouil Papadeas 6ca2b104db New translations translations.pot (Norwegian Bokmal) 2024-12-05 04:12:49 +02:00
Emmanouil Papadeas d5412f2e35 New translations translations.pot (Swahili) 2024-12-05 04:12:48 +02:00
Emmanouil Papadeas 1a54fcd3eb New translations translations.pot (Sinhala) 2024-12-05 04:12:47 +02:00
Emmanouil Papadeas ecdd675027 New translations translations.pot (Latin) 2024-12-05 04:12:45 +02:00
Emmanouil Papadeas 04bb8e2596 New translations translations.pot (Malayalam) 2024-12-05 04:12:44 +02:00
Emmanouil Papadeas f017e230c0 New translations translations.pot (Filipino) 2024-12-05 04:12:43 +02:00
Emmanouil Papadeas 190441f5b0 New translations translations.pot (Esperanto) 2024-12-05 04:12:42 +02:00
Emmanouil Papadeas e991619ded New translations translations.pot (Pirate English) 2024-12-05 04:12:40 +02:00
Emmanouil Papadeas 5e295a7e88 New translations translations.pot (Klingon) 2024-12-05 04:12:39 +02:00
Emmanouil Papadeas 897dba7d53 New translations translations.pot (Welsh) 2024-12-05 04:12:38 +02:00
Emmanouil Papadeas 9dd9a99bd3 New translations translations.pot (Maori) 2024-12-05 04:12:37 +02:00
Emmanouil Papadeas 6927b2340b New translations translations.pot (Malay) 2024-12-05 04:12:35 +02:00
Emmanouil Papadeas f4ab2b72c8 New translations translations.pot (Hindi) 2024-12-05 04:12:34 +02:00
Emmanouil Papadeas 94f6385ac4 New translations translations.pot (Latvian) 2024-12-05 04:12:33 +02:00