Post anything here that does not fall into the other topic categories.

adding my own music

adding my own music

Postby cassius_b » 25 Feb 2018, 20:52

Hi.
I have an ogg file which I placed in the music folder along with existing music files, but it does not show up where the default music files are. How do I get my own music into the scene?
cassius_b
Skyline Ensen
 
Posts: 103
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer

Re: adding my own music

Postby SolarPortal » 25 Feb 2018, 21:03

As yuo have done, add the .ogg audio source into any folder. Add the folder to the resources.
Then Add an empty node to the scene, and add the "Audio - 2D" action. These are stereo audio files.
Then press the load button on the properties and choose the sound file you want to play by navigating to the same folder.

For 3D audio, they need to be in mono and use the "Audio - 3D" action instead :)
Conceive, Quantify & Do!
Skyline Game Engine - Lead Developer.
Please provide as much information as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 3770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3100
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: adding my own music

Postby cassius_b » 25 Feb 2018, 22:39

Thanks.
cassius_b
Skyline Ensen
 
Posts: 103
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer


Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest