credit / help screen done

This commit is contained in:
ramapcsx2 2015-01-06 12:39:40 +01:00
parent 317e418c14
commit 5a088729d6
2 changed files with 31 additions and 5 deletions

View File

@ -28,9 +28,26 @@ public class CreditsScreen extends Screen {
g.setColor(new Color(0,0,120)); g.setColor(new Color(0,0,120));
g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight); g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight);
g.setColor(Color.WHITE); g.setColor(Color.WHITE);
g.setFont(new Font("Monospace", 0, 50)); g.setFont(new Font("Monospace", 0, 40));
String text = "#yolo"; String text = "This Space Odyssey presented by";
g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 150); 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);
} }
/** /**

View File

@ -29,8 +29,17 @@ public class HelpScreen extends Screen {
g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight); g.fillRect(0, 0, GameConfig.windowWidth, GameConfig.windowHeight);
g.setColor(Color.WHITE); g.setColor(Color.WHITE);
g.setFont(new Font("Monospace", 0, 50)); g.setFont(new Font("Monospace", 0, 50));
String text = "Hilfe kommt"; String text = "Steuerung";
g.drawString(text, (GameConfig.windowWidth - g.getFontMetrics().stringWidth(text))/2, 150); 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);
} }
/** /**