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

danpost's Comments

Back to danpost's profile

One issue may be the sound file names. Remove "sounds//" from ALL. Another issue may be the loading of the static sound file (I believe it was in the Scraps class). Try having it loaded after world instantiation.
So ... you are a cross-eyed ancient stone gray alien. Interesting.
@Roshan123, no imports required for this particular interface. Just the one line exactly as shown on 'About' page.
@Roshan123, it is its own thing. Just replace a new class' complete codes with that one line.
@Roshan123, run scenario and click on 'About' button.
@Roshan123, Obstacle is not a class -- it is an interface which specific classes implement.
For not working, it may just be that you have an Object class. Try renaming it. Not sure why you used the try-catch structure.
Roshan123, both Wall and Tank classes implement the Obstacle interface.
@Olexandra, please start a new discussion thread on this issue.