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!


Won't import sounds.HELP!!
0 5 years, 5 months ago
I found that if you drag and drop both files at once it makes Stencyl crash, also had same problem with explosion sound but solved it using advice already given. Enjoying the tutorial, thought I'd mention this though.
0 5 years, 6 months ago
Wow.. whats the constant problems in these beginner crash courses? Doesn't work with variable bitrate.. thanks for the mp3 >_<
0 5 years, 6 months ago
The sound effect for explosion is encoded on a Variable BitRate MP3, but Stencyl only supports Constant BitRate.
0 5 years, 6 months ago
I can't get the game to start due to problems with the sound file type. Apparently I need to import the explosion sound as an OGG file, which I can't seem to do in the sound import window. If I try to import it as an MP3 it says something about a variable bitrate, which I don't understand. Any ideas
0 5 years, 6 months ago
I have a mac and I had the same problems with the audio files and I got it working:
1.- I downloaded Audacity audio editor.
2.- I assigned Audacity as the Sound editor by default in Stencyl application (go to Preferences).
3.- Then, I opened each of the audio files with Audacity and I clicked on "File -> Edit metadata..." and I cleared the metadata.
4.- Finally on Audacity, I saved the Project and clicked on "File -> Export audio..." selecting mp3 format.
4.1.- If it says you don't have the file "libmp3lame.dylib", download Lame Library v3.98.2 for Audacity.
Now, you should drag

2 5 years, 6 months ago
explosion mp3 cannot be imported, it said "MP3 can't have a variable bitrate".
2 5 years, 7 months ago
How do I re-encode with a fixed bit rate? i have removed the meta data, now it says i have to fix the bit rate????????????????
2 5 years, 7 months ago
For those having problems with the MP3s, try following Ekimmai's instructions.
2 5 years, 10 months ago
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

Hoped I helped!

4 5 years, 10 months ago

Sign In to Comment