From 11b35adecd0bad3474d3bb2fece9771755c70e00 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Tue, 22 Jun 2021 20:21:54 -0400 Subject: [PATCH] pixel icon code in progress --- source/HealthIcon.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/HealthIcon.hx b/source/HealthIcon.hx index e4024d918..c1c8c544a 100644 --- a/source/HealthIcon.hx +++ b/source/HealthIcon.hx @@ -59,7 +59,11 @@ class HealthIcon extends FlxSprite char = newChar; if (newChar.endsWith('pixel')) - setGraphicSize(150, 150); + { + setGraphicSize(150); + updateHitbox(); + antialiasing = false; + } } }