Tweak walk cycle parameters

This commit is contained in:
2021-06-09 00:01:56 +02:00
parent fb7a90df71
commit 3371e2ae79
16 changed files with 112 additions and 81 deletions
+4 -6
View File
@@ -45,12 +45,10 @@ customMouseCursor w =
$ pictures [ line [(-5,0),(5,0)] , line [(0,-5),(0,5)] ]
testPic :: World -> [Picture]
testPic _ = []
--testPic w =
-- [ setDepth (-1) . translate 0 0.8
-- . scale 0.001 0.001 . text . show . length . IM.elems
-- . IM.filter ( (== 3) . _crRad ) $ _creatures w
-- ]
testPic w =
[ setDepth (-1) . translate 0 0.8
. scale 0.001 0.001 . text . show $ _cameraRot w
]
crDraw :: World -> Creature -> Picture
crDraw w c = (_crPict c c w)