197,342

Views

Beginner

Level

71

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!

71 Comments

carlus10
To solve the problem of bitrate. In audacity when you export the file, go to options and bit rate mode, select "constant"
-1 2 years, 11 months ago
NallaWillJr
Didn't think I'd get deterred this early in the learning process...I can't get the sounds to play. Any Stencyler who can help?!
0 2 years, 11 months ago
doomdragon781
Can't get Explosion to play please help!
1 3 years, 3 weeks ago
java1017
If you drag and drop the sounds into the dotted area, it should work. It was the only way I could get it to work.
0 3 years, 3 weeks ago
Ultragamer32
I had a problem that was an error message that said "MP3 cant have a variable bitrate". So annoying!
2 3 years, 1 month ago
Star Lord
I can't import the music effect , because it said ' MP3 can't have a variable bitrate ' when I did it. what's wrong with it ? who can help me ? thank you !
1 3 years, 1 month ago
VauSoftware
The sounds both have errors.
0 3 years, 1 month ago
Sunie
For people that are new to game design and maybe even have some anxieties about it; it's super uncool to add assets that don't load in as they should. It could be a showstopper for an aspiring creator. Please ensure your assets are in order guys, even if the answer is "just download aucacity, Lame_enc.dll and re-export the MP3."
2 3 years, 2 months ago
ggriffin411
Tried this:How to remove meta data on Windows 7:
1. Right Click File
2. Select Properties
3. Click the Details tab
4. Click Remove Properties and Personal Information (at the bottom)
5. Select remove the following properties from this file
6. Press Select All
7. Press OK
It worked only once. the next time I tried it I still have a variable bit rate file. I have limited access because I'm on a school computer.

2 3 years, 2 months ago
jamesmixusa
Won't import sounds.HELP!!
0 3 years, 2 months ago

Sign In to Comment