Skip to content

Commit 20929c6

Browse files
committed
Increase default window size; set camera zoom to 3x per default
1 parent b270590 commit 20929c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/game/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ func main() {
1010
g := game.New()
1111
g.Init()
1212

13+
ebiten.SetWindowSize(1280, 720)
1314
ebiten.SetWindowResizingMode(ebiten.WindowResizingModeEnabled)
1415
ebiten.SetWindowTitle("ebijam24")
1516

internal/render/camera.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func NewCamera(x, y float64) *Camera {
1111
return &Camera{
1212
Positionable: Positionable{x: x, y: y},
1313
Pitch: 1.0,
14-
Zoom: 1.0,
14+
Zoom: 3.0,
1515
}
1616
}
1717

0 commit comments

Comments
 (0)