openairlinetycoon / OpenATDeluxe

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

Smacker/.raw playback implementation #20

Closed WizzardMaker closed 4 years ago

WizzardMaker commented 4 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)