This commit is contained in:
Rendo 2025-06-17 00:26:05 +05:00
commit 6efdd7c02c
23 changed files with 134 additions and 30 deletions

View file

@ -45,6 +45,7 @@ public partial class GarlicEffect : Effect
}
var tween = zombieData.CreateTween();
tween.TweenProperty(zombieData,"position:y",zombieData.GlobalPosition.Y + Utility.TileHeight * mult, 1.0);
tween.Parallel().TweenProperty(zombieData, "position:x", zombieData.GlobalPosition.X - Utility.TileWidth / 10.0, 1.0);
tween.TweenCallback(Callable.From(() => {zombieData.AbleToEat = true;}));
}
}