diff --git a/cmd/client/particles.go b/cmd/client/particles.go index de10649..3b32b49 100644 --- a/cmd/client/particles.go +++ b/cmd/client/particles.go @@ -213,7 +213,7 @@ func (g *Game) RenderParticles(screen *ebiten.Image) { col := color.RGBA{p.Color.R, p.Color.G, p.Color.B, alpha} // Position relativ zur Kamera und mit Y-Transformation - screenX := float32(p.X - g.camX) + screenX := float32((p.X - g.camX) * GetScaleFromHeight(canvasH)) screenY := float32(WorldToScreenYWithHeight(p.Y, canvasH)) // Partikel als Kreis zeichnen