This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
colec046
wrote ...
2014/3/11
import sound
colec046
2014/3/11
#
how do I import sound files to use in scenarios
danpost
2014/3/11
#
Greenfoot does not have an import function for sound files. You will have to copy/paste them into the sounds directory of your project.
Pointifix
2014/3/12
#
just copy all your sound files into the folder sounds in your project folder, then you can use them in your code with Greenfoot.playSound("sound.mp3"); or song.playLoop(); if song is an GreenfootSound. For more look at the Greenfoot API
You need to login to post a reply.
X