mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/blend: shrink the window for small displays
This commit is contained in:
parent
3951df05c8
commit
e4aace6c40
@ -182,7 +182,8 @@ func drawCenteredText(screen *ebiten.Image, cx, cy float64, s string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ebiten.SetWindowSize(screenWidth, screenHeight)
|
ebiten.SetWindowSize(640, 640)
|
||||||
|
ebiten.SetWindowResizingMode(ebiten.WindowResizingModeEnabled)
|
||||||
ebiten.SetWindowTitle("Blend modes (Ebitengine Demo)")
|
ebiten.SetWindowTitle("Blend modes (Ebitengine Demo)")
|
||||||
|
|
||||||
game, err := NewGame()
|
game, err := NewGame()
|
||||||
|
Loading…
Reference in New Issue
Block a user