8000 GitHub - CyberSys/fmod_gd4: FMOD integration for Godot 4
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CyberSys/fmod_gd4

 
 

Repository files navigation

FMOD GD4 - Stable Branch

Godot 4.1 integration of FMOD. Not feature-complete yet.

This branch targets the latest stable Godot release (4.1.x) and FMOD 2.02.

Installation

  1. Clone godot and switch to 4.1:

git clone https://github.com/godotengine/godot cd godot && git checkout tags/4.1-stable

  1. Clone fmod_gd4 into Godot's modules/ folder.

cd modules && git clone https://github.com/summertimejordi/fmod_gd4

  1. Download FMOD Engine 2.02+
  2. Copy FMOD API folders to the api folder in the fmod_gd4 module.
  3. Compile Godot

Not done yet! Your newly built version of Godot will need to have the following libraries included in the same folder as it.

Locate the libraries by navigating to the api folder you copied into the module path.

You will need: The Fmod library located in core/lib, and the Fmod Studio library located in studio/lib.

You'll see folders named after the architecture they're designed for. (x86 for 32-Bit, x64 for 64-bit, and arm for Mac Sillicon)

On Windows: Copy fmodL.dll and fmodstudioL.dll to your Godot location.

On Mac and Linux: Copy libfmodL.so and libfmodstudioL.so to your Godot location.

This process can be confusing. Create an issue or DM me on Discord jordi ★#0317 for further support!

Usage

  • Configure FMOD by visting Project Settings/Fmod
  • To add banks to be loaded, navigate to the bank in the FileSystem tab, and enable Autoload in the inspector.
  • Create event instances using
Fmod.create_event_instance(String event_path, bool autoplay, bool oneshot); # Returns FmodEventInstance
  • Or:
FmodEventInstance.create(String event_path);
Fmod.play(String event_path); # Returns FmodEventInstance

Features:

  • Singleton and Autoinitialization
  • Playing events and loading banks
  • Get VCAs
  • Banks as resources
  • Editor cache of Master.strings to use for FmodEventInstance editor plugin
  • FmodEventInstance editor plugin

About

FMOD integration for Godot 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

32DB
No packages published

Languages

  • C++ 95.7%
  • Python 2.4%
  • C 1.9%
0