mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
examples/platform: Remove settings
Add them again when necessary.
This commit is contained in:
parent
73a0a6a92b
commit
c761dc7e8b
@ -25,10 +25,8 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Settings
|
// Settings
|
||||||
width = 1024
|
width = 1024
|
||||||
height = 512
|
height = 512
|
||||||
fullscreen = false
|
|
||||||
runinbackground = true
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -100,9 +98,6 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ebiten.SetRunnableInBackground(runinbackground)
|
|
||||||
ebiten.SetFullscreen(fullscreen)
|
|
||||||
|
|
||||||
// Starts the program
|
// Starts the program
|
||||||
if err := ebiten.Run(update, width, height, 1, "Platformer (Ebiten Demo)"); err != nil {
|
if err := ebiten.Run(update, width, height, 1, "Platformer (Ebiten Demo)"); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user