GodotSfxr - Post Jam Version
In this post-jam version I was able to iterate between a few options to find the best combination of usability and optimization.
- First of all, I dropped the AudioStreamGenerator resource and now I’m using an AudioStreamSample.
This is better because:
-
I can store the audio data in the resource without generating or pushing to the stream everytime.
-
You can save the data as a resource and reuse it elsewhere, like in an AudioStreamPlayer2D/3D node.
-
The signal now triggers correctly when the sound ends, which means you can connect it with your code.
-
In theory, after generating the sound you don’t even need the module anymore, as the generated sample resource comes with base Odoo.
- The inspector properties were improved for easier and quicker usage.
-
All the generators are now exposed inside of a group, so they can be used without opening a dropdown every time.
-
I removed the custom “play_sfx” method, which lets you use the regular “Playing” property of the base AudioStreamPlayer without additional logic or worries.
-
The sound data is automatically generated and played after any of the properties is updated, so you don’t need to update the property and then click on the “play” action to listen to the change.
-
The properties now have a nice title saying “SfxrStreamPlayer” so you know which are the custom properties (and it looks pretty <3).
- Other small fixes in the generation script.
I hope you enjoy this new update!
You can get the latest version on https://github.com/tomeyro/godot-sfxr/.
Get GodotSfxr
GodotSfxr
Godot plugin that adds the SfxrStreamPlayer node to generate sound effects inside the editor
Status | Released |
Category | Tool |
Author | tomeyro |
Tags | Godot, godot-plugin, Sound effects, tool |
More posts
- GodotSfxr finally works in Godot 4.x (again)!Sep 18, 2023
- GodotSfxr is now available for Godot 4!Nov 09, 2022
- GodotSfxr v2.1 - Dedicated nodes for 2D and 3DMar 02, 2022
Leave a comment
Log in with itch.io to leave a comment.