diff --git a/assets/background.png b/assets/background.png index 1f69acf..4d408c8 100644 Binary files a/assets/background.png and b/assets/background.png differ diff --git a/assets/roller.png b/assets/roller.png deleted file mode 100644 index 6f57208..0000000 Binary files a/assets/roller.png and /dev/null differ diff --git a/assets/scooter.png b/assets/scooter.png index e94ea1c..0844ea0 100644 Binary files a/assets/scooter.png and b/assets/scooter.png differ diff --git a/main.go b/main.go index f595aa4..d96b22a 100644 --- a/main.go +++ b/main.go @@ -291,12 +291,12 @@ func drawLcdTree(dst *ebiten.Image, x, y float32) { } func (g *Game) drawHud(dst *ebiten.Image) { - drawText(dst, "PONT", 4, 2, g.hudFont, lcdFg) - drawText(dst, fmt.Sprintf("%03d", g.score), 32, 2, g.hudFont, lcdFg) + drawText(dst, "SCORE", 4, 2, g.hudFont, lcdFg) + drawText(dst, fmt.Sprintf("%03d", g.score), 40, 2, g.hudFont, lcdFg) // Reserve fixed slot for miss markers on the right missSlotRight := float64(lcdW - 4) missSlotX := missSlotRight - float64(maxMiss*8) - drawTextRight(dst, "HIBA", missSlotX-2, 2, g.hudFont, lcdFg) + drawTextRight(dst, "MISS", missSlotX-2, 2, g.hudFont, lcdFg) for i := 0; i < g.miss; i++ { drawText(dst, "X", missSlotX+float64(i*8), 2, g.hudFont, lcdFg) } @@ -358,19 +358,19 @@ func (g *Game) drawTitle(dst *ebiten.Image) { drawRabbit(dst, x, y, fake.t) } if (g.frame/30)%2 == 0 { - drawTextCentered(dst, "NYOMJ Z-T A KEZDÉSHEZ", 120, 56, g.hudFont, lcdFg) + drawTextCentered(dst, "PRESS SPACE TO START", 120, 56, g.hudFont, lcdFg) } - drawTextCentered(dst, "NYILAK MOZGÁS Z START", 120, 72, g.hudFont, lcdFg) + drawTextCentered(dst, "ARROWS MOVE SPACE START", 120, 72, g.hudFont, lcdFg) } func (g *Game) drawOver(dst *ebiten.Image) { g.drawPlay(dst) rectFill(dst, 60, 50, 120, 36, lcdBg) rectStroke(dst, 60, 50, 120, 36, lcdFg) - drawTextCentered(dst, "VÉGE", 120, 54, g.hudFont, lcdFg) - drawTextCentered(dst, fmt.Sprintf("PONT %03d", g.score), 120, 66, g.hudFont, lcdFg) + drawTextCentered(dst, "GAME OVER", 120, 54, g.hudFont, lcdFg) + drawTextCentered(dst, fmt.Sprintf("SCORE %03d", g.score), 120, 66, g.hudFont, lcdFg) if (g.frame/30)%2 == 0 { - drawTextCentered(dst, "Z = ÚJRA", 120, 76, g.hudFont, lcdFg) + drawTextCentered(dst, "SPACE = RETRY", 120, 76, g.hudFont, lcdFg) } } @@ -420,8 +420,8 @@ func (g *Game) Layout(_, _ int) (int, int) { } func main() { - ebiten.SetWindowSize(900, 672) - ebiten.SetWindowTitle("Rabbit Roller") + ebiten.SetWindowSize(450, 336) + ebiten.SetWindowTitle("Rabbit Scooter") ebiten.SetWindowResizingMode(ebiten.WindowResizingModeEnabled) if err := ebiten.RunGame(newGame()); err != nil { log.Fatal(err)