improved sheeps hit box.

This commit is contained in:
Bryce Covert
2016-06-15 18:17:55 -07:00
parent 023874885f
commit ea0a30540c
4 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -284,7 +284,7 @@
(done? [this screen entities]
(animation! (find-animation (get-in entities [:room :entities target-id ]) anim)
:is-animation-finished
(- (:total-time screen) (doto (get-in entities [:room :entities target-id :anim-start]) println))))
(- (:total-time screen) (get-in entities [:room :entities target-id :anim-start]))))
(terminate [this screen entities]
(if continue?
@@ -1012,7 +1012,7 @@
(add-entity entities :safe-song
(rooms/make-entity :safe-song
(assoc (utils/get-texture "safe-song/safe-song-1")
:x 130
:x 110
:y 120
:baseline 241
:night-profile :none

View File

@@ -697,9 +697,10 @@
[:stand 1] sheep-1
[:stand 2] sheep-2
[:stand 3] sheep-3
:origin-y 3
:origin-x 6
:scale-x (scaler [38 160])
:scale-y (scaler [38 160])
:box [38 160 71 181]
:script (actions/get-script
entities