Skip to content

Commit

Permalink
i mean
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExploration committed May 16, 2023
1 parent bfa812f commit 0763574
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified MyWorld.class
Binary file not shown.
4 changes: 2 additions & 2 deletions MyWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file modified icon.class
Binary file not shown.
2 changes: 1 addition & 1 deletion icon.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Binary file modified images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0763574

Please sign in to comment.