examples/flappy: Improve message

This commit is contained in:
Hajime Hoshi 2018-04-07 23:26:28 +09:00
parent b952cb724f
commit 35557e845d

View File

@ -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!"}
} }