Fixed up readme
This commit is contained in:
parent
f6c2defbbe
commit
0a90cc1e64
3 changed files with 27 additions and 24 deletions
|
|
@ -2,12 +2,15 @@
|
|||
|
||||
# Retro Game
|
||||
## A simple retro-style game built with Java and Swing.
|
||||
# Game preview:
|
||||
|
||||
</div>
|
||||

|
||||
|
||||
## credits
|
||||
## credits for the assets
|
||||
so basically I made a zero-asset policy for this project except for the font, <br>
|
||||
which I got from [openfont.org](https://openfont.org/), the font's name is "**Jacquard 12**" :) <br>
|
||||
also I took some inspiration from these pinterest pages (I will list every single one): <br>
|
||||
[Retro Game Titles by "cuilong li"](https://www.pinterest.com/pin/902408844107127097/) <br>
|
||||
[SHOVEL KNIGHT GameBoy by "PixelJoint"](https://www.pinterest.com/pin/902408844107127145)
|
||||
[SHOVEL KNIGHT GameBoy by "PixelJoint"](https://www.pinterest.com/pin/902408844107127145)
|
||||
|
||||
</div>
|
||||
|
|
@ -20,27 +20,27 @@ public class Update {
|
|||
|
||||
static void paint(Game m, Graphics g) {
|
||||
if (m.scene.equals("main_menu")) {
|
||||
g.setColor(m.lightGreen);
|
||||
g.setFont(m.gameFont.deriveFont(75f));
|
||||
if (m.chosenOption == 1) {
|
||||
g.drawString("play game", 260, 390);
|
||||
g.setColor(m.darkerGreen);
|
||||
g.drawString("exit game", 265, 460);
|
||||
} else if (m.chosenOption == 2) {
|
||||
g.drawString("exit game", 265, 460);
|
||||
g.setColor(m.darkerGreen);
|
||||
g.drawString("play game", 260, 390);
|
||||
} else {
|
||||
m.chosenOption = 1;
|
||||
}
|
||||
g.drawString("by dvorakmortonxd", 135, 290 + m.textHoverAmount / 4);
|
||||
g.setFont(m.gameFont.deriveFont(150f));
|
||||
g.drawString("Retro", 230, 120 + m.textHoverAmount / 4);
|
||||
g.drawString("Game", 235, 220 + m.textHoverAmount / 4);
|
||||
g.setFont(m.gameFont.deriveFont(40f));
|
||||
g.drawString("tip: use arrow keys to navigate through menu", 65, 550);
|
||||
g.drawString("and enter to pick an option!", 200, 580);
|
||||
Toolkit.getDefaultToolkit().sync();
|
||||
g.setColor(m.lightGreen);
|
||||
g.setFont(m.gameFont.deriveFont(75f));
|
||||
if (m.chosenOption == 1) {
|
||||
g.drawString("play game", 260, 390);
|
||||
g.setColor(m.darkerGreen);
|
||||
g.drawString("exit game", 265, 460);
|
||||
} else if (m.chosenOption == 2) {
|
||||
g.drawString("exit game", 265, 460);
|
||||
g.setColor(m.darkerGreen);
|
||||
g.drawString("play game", 260, 390);
|
||||
} else {
|
||||
m.chosenOption = 1;
|
||||
}
|
||||
g.drawString("by dvorakmortonxd", 135, 290+m.textHoverAmount/4);
|
||||
g.setFont(m.gameFont.deriveFont(150f));
|
||||
g.drawString("Retro", 230, 120+m.textHoverAmount/4);
|
||||
g.drawString("Game", 235, 220+m.textHoverAmount/4);
|
||||
g.setFont(m.gameFont.deriveFont(40f));
|
||||
g.drawString("tip: use arrow keys to navigate through menu", 65, 550);
|
||||
g.drawString("and enter to pick an option!", 200, 580);
|
||||
Toolkit.getDefaultToolkit().sync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
src/main/resources/preview.png
Normal file
BIN
src/main/resources/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Loading…
Add table
Add a link
Reference in a new issue