From 8add12c817e5af9d41bcf96c8387f8c2322b6f04 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Wed, 30 Aug 2023 13:50:39 +0200 Subject: fix: Better physics by multiplying by 10 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 6206902..8185bca 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ func NewTile(size Point, position Point, color color.Color) Tile { } var soilColor = color.RGBA{0x60, 0x40, 0x20, 0xff} -var soil = NewTile(Point{280, 200}, Point{20, 20}, soilColor) +var soil = NewTile(Point{2800, 2000}, Point{200, 200}, soilColor) type Game struct { Persons []*Person @@ -71,7 +71,7 @@ func (g *Game) Draw(screen *ebiten.Image) { } func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) { - return 320, 240 + return 3200, 2400 } func main() { -- cgit v1.3