mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
examples/flappy: Improve message
This commit is contained in:
parent
b952cb724f
commit
35557e845d
@ -239,7 +239,7 @@ func (g *Game) Update(screen *ebiten.Image) error {
|
|||||||
var texts []string
|
var texts []string
|
||||||
switch g.mode {
|
switch g.mode {
|
||||||
case ModeTitle:
|
case ModeTitle:
|
||||||
texts = []string{"FLAPPY GOPHER", "", "", "", "", "PRESS SPACE"}
|
texts = []string{"FLAPPY GOPHER", "", "", "", "", "PRESS SPACE KEY", "", "OR TOUCH SCREEN"}
|
||||||
case ModeGameOver:
|
case ModeGameOver:
|
||||||
texts = []string{"", "GAMEOVER!"}
|
texts = []string{"", "GAMEOVER!"}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user