223,771

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

Nicktr
Had the same problem with Explosion sound. I just found another (I have 000's of explosions on my server!
0 5 years, 6 months ago
DiscoQuinn
I too am faced with the same problems using the MP3 files provided in the Assets download. Both give me issues, and the explosion file refuses to play. The music apparently contains metadata which Stencyl complains about, but still plays the file. The Explosion however refuses to play, with Stencyl providing a warning of Bitrate issues.
1 5 years, 6 months ago
AutoCat1000
What is going on? When I try to put in the explosion sound It says that it doesn't have a variable bitrate. What is that???
1 5 years, 6 months ago
prestonryan
whenever i try to test the game it just comes up with a log that says:
The file /Users/(myname)/stencylworks/games- generated/Space Invadersss/Export/flash/bin/Space Invadersss.swf does not exist.

PLEASE HELP

0 5 years, 6 months ago
devarde
There are a typo on the page. The extension of the sound files is .mp3 not .png as written now.
0 5 years, 6 months ago
devarde
It missed to say that "explosion" is a sound effect and "general shooter spacey level" is music.
0 5 years, 6 months ago
Slimefon
When I import the "General Shooter Spacey Level" it says:
Warning: Sound contains metadata

1 5 years, 7 months ago
GamingGamer13
Shortles, I found that you have to go into StencylForge and search the mp3 file that you have trouble with, probably Explosion. Download that mp3 file
1 5 years, 7 months ago
shortles
I downloaded the zip file, but when I try to bring in the mp3s, it gives me an error which says: MP3 can't have a variable bitrate. Re-import the sound after re-encoding with a fixed bitrate.
4 5 years, 8 months ago
Jon
We're sorry about the missing sounds which showed up erroneously as PNGs. The ZIP file has been updated with the proper MP3's.
-1 5 years, 8 months ago

Sign In to Comment