how to use sound in my game
is there a class for that?
or should i provide it my self, and if this is the case how to do that and where to get sounds?
please help me :(
You will need to copy/paste the sound files directly into your 'sounds' folder of your project, as there is no way to 'import' them via browsing (like the images). I posted more information in your other discussion thread.
You will need to copy/paste the sound files directly into your 'sounds' folder of your project, as there is no way to 'import' them via browsing (like the images). I posted more information in your other discussion thread.
thank you very much
but could you please tell me where to paste the file
where is that sound files ?
You can go to The Greenfoot Book page and at the bottom in the middle section 'For students', the second item 'The Book Scenarios' will download those scenarios that are used in the book. The 'chapter02-04/Little-Crab' scenarios have the 'slurp.wav' sound in them.
After downloading and unzipping the file into a new folder (call it 'book scenarios'), copy the sound file from "book scenario/chapter02-04/Little-Crab/sounds/slurp.wav' to the 'sounds' folder of your project 'Greenfoot/scenarios/projectName/sounds'.
You can go to The Greenfoot Book page and at the bottom in the middle section 'For students', the second item 'The Book Scenarios' will download those scenarios that are used in the book. The 'chapter02-04/Little-Crab' scenarios have the 'slurp.wav' sound in them.
After downloading and unzipping the file into a new folder (call it 'book scenarios'), copy the sound file from "book scenario/chapter02-04/Little-Crab/sounds/slurp.wav' to the 'sounds' folder of your project 'Greenfoot/scenarios/projectName/sounds'.
sorry but where to find the sound folder of my project ?
i can't find it
or should i create it ?
Go to your Greenfoot folder and open it. Find the 'scenarios' folder and open it. Find the folder for the project you are working on and open it. Find the 'sounds' folder and open it (it should be there and it should be empty). That is where you paste the sound files for that project.
The folder your scenario is in bears the name of your scenario, so you can search the hard drive with the scenario's name. Once found open that folder and you will see a a folder that is labeled images and another labels sounds.