summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.go b/main.go
index 2153470..5399cde 100644
--- a/main.go
+++ b/main.go
@@ -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