debug render positions

This commit is contained in:
2022-08-13 20:06:07 +00:00
parent 5689bff6f0
commit 68861ec43b

View File

@@ -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