diff options
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 |