mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/flappy: Change the spelling: Gameover -> Game over
This commit is contained in:
parent
87bc2e6f02
commit
00ae15082d
@ -245,7 +245,7 @@ func (g *Game) Update(screen *ebiten.Image) error {
|
|||||||
case ModeTitle:
|
case ModeTitle:
|
||||||
texts = []string{"FLAPPY GOPHER", "", "", "", "", "PRESS SPACE KEY", "", "OR TOUCH SCREEN"}
|
texts = []string{"FLAPPY GOPHER", "", "", "", "", "PRESS SPACE KEY", "", "OR TOUCH SCREEN"}
|
||||||
case ModeGameOver:
|
case ModeGameOver:
|
||||||
texts = []string{"", "GAMEOVER!"}
|
texts = []string{"", "GAME OVER!"}
|
||||||
}
|
}
|
||||||
for i, l := range texts {
|
for i, l := range texts {
|
||||||
x := (screenWidth - len(l)*fontSize) / 2
|
x := (screenWidth - len(l)*fontSize) / 2
|
||||||
|
Loading…
Reference in New Issue
Block a user