2.0.5 • Published 7 months ago

@bendn/enginesound v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

enginesound

version

Extension for godot used to generate purely synthetic engine sounds in real-time.

Based on DasEtwas/enginesound.

installation

  • use the gpm to install
  • make a engine.gdextention file: ^1
[configuration]
entry_symbol = "gdext_rust_init"

[libraries]
linux.release.x86_64 = "res://addons/@bendn/enginesound/libenginesound.so"
linux.debug.x86_64 = "res://addons/@bendn/enginesound/libenginesound.so"
macos.release = "res://addons/@bendn/enginesound/libenginesound.dylib"
macos.debug = "res://addons/@bendn/enginesound/libenginesound.dylib"
windows.debug.x86_64 = "res://addons/@bendn/enginesound/libenginesound.dll"
windows.release.x86_64 = "res://addons/@bendn/enginesound/libenginesound.dll"

^1: i could include it in the addon but godot doesnt like non toplevel .gdextension files.

usage

  • make a AudioStreamPlayer (2d, 3d, or global)
  • put a EngineStream in the AudioStreamPlayer
  • call play() on the AudioStreamPlayer
  • call set_stream() on the EngineStream with the AudioStreamPlayers's stream playback (stream.set_stream(get_stream_playback()))
  • make a _process function that calls update() on the EngineStream
2.0.3

7 months ago

2.0.2

10 months ago

2.0.5

7 months ago

2.0.4

7 months ago

2.0.1

12 months ago

1.1.0

1 year ago

1.0.0

1 year ago