Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Adding your own music?
-
arcones
- Support Team

- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: Adding your own music?
You did fail Leo
But I had the same problem

Want a user bar like this one? PM Leo!
- Leo_V117
- Support Team

- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: Adding your own music?
my question was regarding coding my own sounds into the game, not using it as a music player.
- Leo_V117
- Support Team

- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: Adding your own music?
So i was right. Fail Arcones and others, heh. Here, lets take your music/sound example as a creak and background music.
Firstly the Background Music:
save your map and in the menu after you press "esc" select "Editing Gui" then in the tabs select the ".cfg" tab. Type something random like "Alpha" or "Help", this doesnt do anything, it just allows you to save it and open it in the "PlatinumArtsSandbox2.5/mystuff/packages/base/[your map name]" or, if you already have the config file, go straight to that and open it.
Create a folder in music called "mapmusic"
then create a folder in sounds called "mapsounds"
add your music (in mp3 format or ogg) to "mapmusic" and add your sounds (in ogg format) to "mapsounds"
Now, at the top of the file type this:
Then the map sounds
Firstly the Background Music:
save your map and in the menu after you press "esc" select "Editing Gui" then in the tabs select the ".cfg" tab. Type something random like "Alpha" or "Help", this doesnt do anything, it just allows you to save it and open it in the "PlatinumArtsSandbox2.5/mystuff/packages/base/[your map name]" or, if you already have the config file, go straight to that and open it.
Create a folder in music called "mapmusic"
then create a folder in sounds called "mapsounds"
add your music (in mp3 format or ogg) to "mapmusic" and add your sounds (in ogg format) to "mapsounds"
Now, at the top of the file type this:
Code: Select all
mapsoundreset
music mapmusic/alpha
Code: Select all
mapsound "mapmusic/alpha" 200 32767 // 0
mapsound "mapsounds/one" 200 32767 // 1
mapsound "mapsounds/two" 255 32767 // 2
mapsound "mapsounds/three" 175 32767 // 3
mapsound "mapsounds/four" 255 32767 // 4
mapsound "mapsounds/five" 255 32767 // 5
mapsound "mapsounds/six" 255 32767 // 7
mapsound "mapsounds/eight" 255 32767 // 8
mapsound "mapsounds/ten" 255 32767 // 9Game Projects
Sandbox Tools
