much better sheep animation speed.

This commit is contained in:
2014-10-09 19:35:16 -07:00
parent eee1bd601d
commit 1d7b57b221

View File

@@ -115,7 +115,7 @@
sheep-walk-sheet (texture! (texture "outsidehouse/sheep-walk.png") :split 33 21)
sheep-stand (animation 0.15 (for [i (flatten [(repeat 10 0) 1 2 3 4 5 6 7 4 5 6 7 8 9 10 (repeat 25 11) (repeat 15 12)])]
(aget sheep-stand-sheet 0 i)))
sheep-walk (animation 0.15 (for [i (range 6)]
sheep-walk (animation 0.05 (for [i (range 6)]
(aget sheep-walk-sheet 0 i)))]
(rooms/make :interactions
{:door {:box [258 100 281 160]