This site requires JavaScript, please enable it in your browser!
Greenfoot back
colec046
colec046 wrote ...

2014/3/11

import sound

colec046 colec046

2014/3/11

#
how do I import sound files to use in scenarios
danpost 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 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.