diff --git a/MyWorld.class b/MyWorld.class index 92bf864..65c7464 100644 Binary files a/MyWorld.class and b/MyWorld.class differ diff --git a/MyWorld.java b/MyWorld.java index 115c2cf..0e0ad45 100644 --- a/MyWorld.java +++ b/MyWorld.java @@ -147,10 +147,10 @@ public void act() { if (!loseOnce && hasLost()) { Grasswalk.stop(); AudioPlayer.play(80, "losemusic.mp3"); - Timer DelayAudio = new Timer(); + GreenfootSound scream = new GreenfootSound("scream.mp3"); - addObject(new DelayAudio(scream, 70, true, 4000L), 0,0); + addObject(new DelayAudio(scream, 70, false, 4000L), 0,0); loseOnce = true; Greenfoot.delay(250); addObject(new Transition(false, new GameOver(), "gameover.png", 5), 365, 215); diff --git a/icon.class b/icon.class index 0b905e8..01c1179 100644 Binary files a/icon.class and b/icon.class differ diff --git a/icon.java b/icon.java index d5a6ec5..15d15ee 100644 --- a/icon.java +++ b/icon.java @@ -16,7 +16,7 @@ public class icon extends World public icon() { // Create a new world with 600x400 cells with a cell size of 1x1 pixels. - super(300, 192, 1); + super(900, 576, 1); Greenfoot.setWorld(new First()); } public void started() { diff --git a/images/icon.png b/images/icon.png index 9c5ff42..58dd9e9 100644 Binary files a/images/icon.png and b/images/icon.png differ