examples/windowsize: Add messages about moving the window

This commit is contained in:
Hajime Hoshi 2019-11-30 23:59:45 +09:00
parent 9b2f864fc8
commit d78b4d7ffd

View File

@ -198,7 +198,8 @@ func update(screen *ebiten.Image) error {
if t := ebiten.MaxTPS(); t != ebiten.UncappedTPS {
tpsStr = fmt.Sprintf("%d", t)
}
msg := fmt.Sprintf(`Press shift + arrow keys to change the window size
msg := fmt.Sprintf(`Press arrow keys to move the window
Press shift + arrow keys to change the window size
Press S key to change the window scale (only for desktops)
Press F key to switch the fullscreen state (only for desktops)
Press B key to switch the run-in-background state