/fmod-gdextension

FMOD Studio GDExtension bindings for the Godot game engine

Primary LanguageC++MIT LicenseMIT

logo

🌈 Build

Godot 4 GDExtension that integrates with the FMOD Studio API. FMOD is an audio engine and middleware solution for interactive audio in games. It has been the audio engine behind many titles such as Transistor, Into the Breach and Celeste. This Godot extension is used by games such as Koira.

Installation

  1. Download Latest Release
  2. Unpack the addons/fmod folder into your /addons folder within the Godot project
  3. Enable this addon within the Godot settings: Project > Project Settings > Plugins

Read the official docs to get started with this addon.

Features

🔉 Seamless integration with FMOD

Use FMOD Studio to create bank files this addon will auto-load all events for you inside Godot Engine. Live updating works out of the box.

fmod-events

🔉 Dedicated Godot nodes

This GDExtension provides nodes such as FmodEventEmitter2D, FmodEventEmitter3D, FmodEventListener2D and FmodEventListener3D that can be used in any Godot scene or code (both GDScript and C#).

fmod-nodes

Contributing

In order to be able to PR this repo from a fork, you need to add FMODUSER and FMODPASS secrets to your fork repo.
This enables CI to download FMOD api.

Feel free to raise pull requests. We hope you'll enjoy this addon!

How this extension works

This GDExtension exposes most of the Studio API functions to Godot's GDScript and also provides helpers for performing common functions like attaching Studio events to Godot nodes and playing 3D/positional audio.

Note: FMOD also provides a C# wrapper for their API which is used in the Unity integration and it is possible to use the same wrapper to build an integration for Godot in C#. However do note that this would only work on a Mono build of Godot as C# support is required and performance might not be on the same level as a C++ integration.

Continuous Delivery

This project uses Github Actions to continuously deploy released drivers. If you do not want to use those releases, you can compile from sources by looking to compile from sources section. This project uses SEMVER.

Special Thanks

This project is a forked from godot-fmod-integration from alexfonseka. We'd like to thank him for the work he did, we simply adapted his work to GDNative.