openairlinetycoon / OpenATDeluxe

The open source remake of Airline Tycoon Deluxe
GNU General Public License v3.0
110 stars 15 forks source link

Smacker/.raw playback implementation #20

Closed WizzardMaker closed 5 years ago

WizzardMaker commented 5 years ago

We now have working (but still a bit WIP) .smk (smacker) and .raw (audio) player nodes.

The .raw player is in src/Resources/SoundPlayer.cs and are attached to AudioStreamPlayer. To play a sound, just set the file path to a file inside the base airline tycoon directory, e.g. (/video/uhr.raw, /audio/Warning.raw)