From 5a088729d6dae46f4a36039d9abea867ff1f5831 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 6 Jan 2015 12:39:40 +0100 Subject: [PATCH] credit / help screen done --- .../spacescooter/screen/CreditsScreen.java | 23 ++++++++++++++++--- .../spacescooter/screen/HelpScreen.java | 13 +++++++++-- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/src/de/teamteamteam/spacescooter/screen/CreditsScreen.java b/src/de/teamteamteam/spacescooter/screen/CreditsScreen.java index 141910a..c3c7d7c 100644 --- a/src/de/teamteamteam/spacescooter/screen/CreditsScreen.java +++ b/src/de/teamteamteam/spacescooter/screen/CreditsScreen.java @@ -28,9 +28,26 @@ public class CreditsScreen extends Screen { g.setColor(new Color(0,0,120)); g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight); g.setColor(Color.WHITE); - g.setFont(new Font("Monospace", 0, 50)); - String text = "#yolo"; - g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 150); + g.setFont(new Font("Monospace", 0, 40)); + String text = "This Space Odyssey presented by"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 100); + g.setFont(new Font("Monospace", 0, 25)); + + text = "JPT"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 250); + text = "JJTCM"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 290); + text = "rama"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 330); + text = "sosch"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 370); + text = "awomormos"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 410); + text = "lubiana"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 450); + + text = "(Enter / Space für Hauptmenü)"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, GameConfig.windowHeight-50); } /** diff --git a/src/de/teamteamteam/spacescooter/screen/HelpScreen.java b/src/de/teamteamteam/spacescooter/screen/HelpScreen.java index ab23410..f3ce3c6 100644 --- a/src/de/teamteamteam/spacescooter/screen/HelpScreen.java +++ b/src/de/teamteamteam/spacescooter/screen/HelpScreen.java @@ -29,8 +29,17 @@ public class HelpScreen extends Screen { g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight); g.setColor(Color.WHITE); g.setFont(new Font("Monospace", 0, 50)); - String text = "Hilfe kommt"; - g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 150); + String text = "Steuerung"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 100); + + g.setFont(new Font("Monospace", 0, 25)); + + text = "Y = Extrawaffe"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 240); + text = "Escape = Pause"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 270); + text = "(Enter / Space für Hauptmenü)"; + g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, GameConfig.windowHeight-50); } /**