examples/stars: Reduce the window size

This commit is contained in:
Hajime Hoshi 2021-09-24 01:55:12 +09:00
parent cca2addb8a
commit 159bc8dda1

View File

@ -107,7 +107,7 @@ func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
func main() {
rand.Seed(time.Now().UnixNano())
ebiten.SetWindowSize(screenWidth*2, screenHeight*2)
ebiten.SetWindowSize(screenWidth, screenHeight)
ebiten.SetWindowTitle("Stars (Ebiten Demo)")
if err := ebiten.RunGame(NewGame()); err != nil {
log.Fatal(err)