223,767

Views

Beginner

Level

72

Comments

Crash Course 2: Invaders - Part 5

by Hectate (Updated on 2015-02-01)


Part 5: Importing Sounds

Step 30: Now it’s time to import our music and sound files. This time we’re going to show you a different way to import assets, by dragging and dropping files. First, click on the Dashboard and then on Sounds.

Step 31: With the sound files on your desktop (General Space Shooter Spacey Level.mp3 and Explosion.mp3), click on one and drag it over into the dotted line box (shown below).

Remember, we need to go back to the Dashboard to drag the second file in also.

Step 32: Now you’ll have two sounds. Make sure each sound is set to the correct type, as shown (the music should be set to Music, the explosion sound effect set to Sound Effect).

With all our assets in place, it’s time to set up the Scene that will function as our main level.

Click here to go to Part 6.

Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

72 Comments

synbios128
I've tried the Audacity route outlined below. Didn't work. I've tried downloading the sounds from StencylForge. They play fine when testing them out in StencylForge but not when its imported into the Dashboard... This has been a problem for most people for a VERY LONG time and needs to be fixed if you want more customers to stick with you after going through the Crash Courses. Asset pipelines are just supposed to work.
0 4 years, 9 months ago
funzrey
I was too lazy to fix the bitrate or anything so i just got them from StencylForge, It's much easier and faster, just search em' up
2 4 years, 10 months ago
thephantombrain
Had the same problem as everyone else. Luckily, I have Audacity and know how to use it to change the bitrate and metadata. If you don't know how to do these things, now is a good time to learn... maybe read Ekimmai's comment?

I didn't see ofnature's comment until after I had finished but that's good to know too

1 5 years, 2 months ago
JonasG
How do I re-encode with a fixed bit rate? This is what it's asking
0 5 years, 4 months ago
StealthMasterDrone
I have the same problem with the inability to import the explosion sound. I saw at the bottom right of the import sound menu to use the application Audacity. Being that I want to use Stencyl to its full capability I followed the instructions for download and install. Then I downloaded LAME to export the sound file to an mp3. This changes the file so the problem did not persist. Hopes it helps!
0 5 years, 4 months ago
Kinrany
>General Space Shooter Spacey Level.png and Explosion.png
should be .mp3 instead of .png

3 5 years, 5 months ago
lize
Music ? Sound Effect ???????
what diff between Music

0 5 years, 5 months ago
ofnature
To remove the meta data, right click the file and click remove data, select all and clear it out. No need to download another program or anything else equally silly.
0 5 years, 5 months ago
PeanutButterCat
Hey there, just wanted to point out a typo in step 31, it reads: "With the sound files on your desktop (General Space Shooter Spacey Level.png and Explosion.png), click on one and drag it over into the dotted line box (shown below). Note that the .png files with[...]" I think the extension was meant to be .mp3 instead of .png
Great tutorial by the way, very easy to follow!

0 5 years, 5 months ago
Ekimmai
Download and install Audacity

1 drag drop either mp3 in audacity
2 click drop down menu on track
3 click set sample format
4 set to 24 bit PCM
5 file --> export --> save
6 while saving clear all metadata on mp3's

4 5 years, 6 months ago

Sign In to Comment