pieces rotate good!

This commit is contained in:
2022-08-15 15:51:56 +00:00
parent f5d9ccd6e6
commit d03dcd3b7a
2 changed files with 4 additions and 4 deletions

View File

@@ -42,8 +42,8 @@
(doFor s rewardSprites
null
// Uncomment for debugging piece rotation:
(debugLayer.drawCircle s.x s.y 1 FlxColor.RED)
(debugLayer.drawCircle (+ s.x s.origin.x) (+ s.y s.origin.y) 1 FlxColor.LIME)
//(debugLayer.drawCircle s.x s.y 1 FlxColor.RED)
//(debugLayer.drawCircle (+ s.x s.origin.x) (+ s.y s.origin.y) 1 FlxColor.LIME)
// Uncomment for debugging match zones:
**(let [matchZones [(matchZoneLeft s) (matchZoneRight s)(matchZoneUp s)(matchZoneDown s)]]
(doFor z matchZones