From 70bc20e6212c9149ec2b394a720c3be44e81137b Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Mon, 16 Jun 2025 19:15:11 +0000 Subject: [PATCH] slowing down mario --- animationMario.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/animationMario.go b/animationMario.go index f5da73b..4781283 100644 --- a/animationMario.go +++ b/animationMario.go @@ -84,8 +84,8 @@ func (a *Animation) updateMarioPosition() { a.mario.position.X = marioX a.mario.position.Y = marioY - // Update angle to move along the ellipse - a.mario.angle += 0.1 + // Update angle to move along the ellipse (slower by half) + a.mario.angle += 0.05 // Slow down Mario's movement by half if a.mario.angle >= 2*math.Pi { a.mario.angle -= 2 * math.Pi }