diff options
author | davidovski <david@davidovski.xyz> | 2024-04-21 23:16:57 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-21 23:16:57 +0100 |
commit | 9af752349c40be745d1296d95675916f95977890 (patch) | |
tree | 326f087188c7885c0c070f656d21483a30f20680 /main.go | |
parent | cffac12303402c3bfd2d7eb8ab982bdaa86bd72d (diff) |
fix placing things on the floor
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -264,12 +264,10 @@ func (g *Game) Draw(screen *ebiten.Image) { } } - cx, cy := ebiten.CursorPosition() - shop := &ebiten.DrawRectShaderOptions{} shop.Uniforms = map[string]any{ "Time": float32(g.time) / 60, - "Cursor": []float32{float32(cx), float32(cy)}, + "NoiseOffset": float32(g.time) / 60, } shop.Images[0] = g.surface shop.Images[1] = g.surface |