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

2014/10/6

Help with the "getOneObjectAtOffset()"

kangmj kangmj

2014/10/6

#
How to add music?
danpost danpost

2014/10/6

#
I do not see how the 'getOneObjectAtOffset' method has anything to do with adding music! Anyway, Greenfoot provides two ways to implement sound into your projects. One is through the static Greenfoot method 'playSound' and the other is by creating GreenfootSound objects and calling instance methods to control them. With the static method, you have no control over the sound; it will play once through and then stop (t will not loop) and you cannot pause or check to see if it is still playing or not.
You need to login to post a reply.