From 2e1192dc0bccd79f00fcfef266809f3d1787aafa Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 10 Feb 2009 23:26:22 -0500 Subject: Engine: Changed default TitleScreen Replaced default TitleScreen (which was the TPOAHT Title Screen for testing reasons) with a FourPuzzle Title Screen. Also moved the Title Menu to the bottom-left corner. --- .../fourpuzzle/gamestate/TitleScreenGameState.java | 6 +++--- .../gamestate/mapview/event/AnimationType.java | 5 ++++- .../fourpuzzle/resources/picture/Title.png | Bin 16801 -> 12714 bytes 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java b/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java index ad1ffe1..6e87dd0 100755 --- a/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java +++ b/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java @@ -34,7 +34,7 @@ public class TitleScreenGameState implements GameState { Audio.playMusic(Database.getMusic(Music.Title)); choices = new ChoiceWindow(Arrays.asList(Database.getVocab(Vocabulary.NewGame), Database.getVocab(Vocabulary.LoadGame), Database.getVocab(Vocabulary.EndGame)), true); - wx = (Game.WIDTH/2)-(choices.getWidth()/2); + wx = (Game.WIDTH/5)-(choices.getWidth()/2); wy = (Game.HEIGHT/4*3)-(choices.getHeight()/2); } @@ -94,12 +94,12 @@ public class TitleScreenGameState implements GameState { { choices.moveUp(); - pt.setTimer(1); + pt.setTimer(2); } else if (Game.getKey().getKeyCode() == KeyEvent.VK_DOWN) { choices.moveDown(); - pt.setTimer(1); + pt.setTimer(2); } } } diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/AnimationType.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/AnimationType.java index 4c3aeb9..76582e3 100755 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/AnimationType.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/AnimationType.java @@ -8,7 +8,10 @@ package com.fourisland.fourpuzzle.gamestate.mapview.event; import com.fourisland.fourpuzzle.util.Interval; /** - * + * An AnimationType is a property all PossibleEvents have. An AnimationType + * exerts some control over the Direction and AnimationStep of the + * PossibleEvent in question. + * * @author hatkirby */ public enum AnimationType { diff --git a/src/com/fourisland/fourpuzzle/resources/picture/Title.png b/src/com/fourisland/fourpuzzle/resources/picture/Title.png index 850ad8d..99a6022 100644 Binary files a/src/com/fourisland/fourpuzzle/resources/picture/Title.png and b/src/com/fourisland/fourpuzzle/resources/picture/Title.png differ -- cgit 1.4.1