amethyst/evoli

Basic ambient background music loop

erlend-sh opened this issue · 3 comments

The looping ambient track has already been created.

What remains is playing this track on a loop once the game starts.

The pong example should be a good starting point. https://github.com/amethyst/amethyst/blob/v0.10.0/examples/pong/audio.rs

Check out the amethyst repository and run cargo run --example pong to run the example.

This file is responsible for setting up the background music: https://github.com/amethyst/amethyst/blob/v0.10.0/examples/pong/audio.rs

I made an attempt on this one, as referenced.

Implemented in #35