Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Alternatively, if you don't want to install Python on your system, you can run
it through Docker:

```
docker compose -f bridge/docker compose.generate_bindings.yml up
docker compose -f bridge/docker-compose.generate_bindings.yml up
```

The bridge library comes with compilation scripts for each platform:
Expand Down
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
![fmod](./docs/fmod_logo.png)
![](https://img.shields.io/badge/Defold-1.11.2+-green)
![](https://img.shields.io/badge/FMOD-2.03.09-green)
![](https://img.shields.io/badge/Emscripten-4.0.6+3.1.67-green)

# FMOD extension for Defold
![](./docs/defmod_banner.png)

# Defold FMOD Extension
> [FMOD] sound engine bindings for Defold

**Commercial usage of FMOD products may require a separate license directly with
Expand All @@ -15,9 +18,22 @@ least the words "FMOD" (OR "FMOD STUDIO" IF APPLICABLE) AND "FIRELIGHT TECHNOLOG

## Installation

Go to the [Releases page](https://github.com/dapetcu21/defold-fmod/releases),
Go to the [Releases page](https://github.com/defold/extension-fmod/releases),
copy a dependency URL, then add it to your dependencies in `game.project`.

### Running in the editor

The game will bundle fine, but in order for FMOD to be available when running
from the editor, an extra step is required.

Copy the `fmod/res` directory from this repo to a directory in your project
and add the path to that directory to your `game.project`:

```
[fmod]
lib_path = path/to/fmod/res
```

### Set the speaker mode

This step is [only required if you use Studio banks][set_software_format].
Expand Down Expand Up @@ -53,19 +69,6 @@ depends from game to game, but for this example to run, it needs a 512MB heap.
heap_size = 512
```

### Running in the editor

The game will bundle fine, but in order for FMOD to be available when running
from the editor, an extra step is required.

Copy the `fmod/res` directory from this repo to a directory in your project
and add the path to that directory to your `game.project`:

```
[fmod]
lib_path = path/to/fmod/res
```

## Usage

Structs and classes are exposed on the `fmod` and `fmod.studio` namespaces. All
Expand Down
Binary file added docs/defmod_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.