From 68861ec43b28510494d10dc7f35932e68d642387 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 13 Aug 2022 20:06:07 +0000 Subject: [PATCH] debug render positions --- .../flixel-desktop-habit-puzzle-game/source/HabitState.kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss index ff0d8eda..a1e9633f 100644 --- a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss +++ b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss @@ -50,7 +50,8 @@ (cameraBounds.drawRect 0 0 b.width b.height FlxColor.TRANSPARENT (object color FlxColor.LIME thickness 5))) (doFor s rewardSprites - (s.drawCircle s.origin.x s.origin.y 5 FlxColor.LIME) + //(s.drawCircle s.origin.x s.origin.y 5 FlxColor.LIME) + (cameraBounds.drawCircle (- s.x cameraBounds.x) (- s.y cameraBounds.y) 5 FlxColor.LIME) // Uncomment for debugging match zones: (let [matchZones [(matchZoneLeft s) (matchZoneRight s)(matchZoneUp s)(matchZoneDown s)]] (doFor z matchZones