improved sheeps hit box.
This commit is contained in:
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 |
@@ -284,7 +284,7 @@
|
|||||||
(done? [this screen entities]
|
(done? [this screen entities]
|
||||||
(animation! (find-animation (get-in entities [:room :entities target-id ]) anim)
|
(animation! (find-animation (get-in entities [:room :entities target-id ]) anim)
|
||||||
:is-animation-finished
|
: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]
|
(terminate [this screen entities]
|
||||||
(if continue?
|
(if continue?
|
||||||
@@ -1012,7 +1012,7 @@
|
|||||||
(add-entity entities :safe-song
|
(add-entity entities :safe-song
|
||||||
(rooms/make-entity :safe-song
|
(rooms/make-entity :safe-song
|
||||||
(assoc (utils/get-texture "safe-song/safe-song-1")
|
(assoc (utils/get-texture "safe-song/safe-song-1")
|
||||||
:x 130
|
:x 110
|
||||||
:y 120
|
:y 120
|
||||||
:baseline 241
|
:baseline 241
|
||||||
:night-profile :none
|
:night-profile :none
|
||||||
|
|||||||
@@ -697,9 +697,10 @@
|
|||||||
[:stand 1] sheep-1
|
[:stand 1] sheep-1
|
||||||
[:stand 2] sheep-2
|
[:stand 2] sheep-2
|
||||||
[:stand 3] sheep-3
|
[:stand 3] sheep-3
|
||||||
|
:origin-y 3
|
||||||
|
:origin-x 6
|
||||||
:scale-x (scaler [38 160])
|
:scale-x (scaler [38 160])
|
||||||
:scale-y (scaler [38 160])
|
:scale-y (scaler [38 160])
|
||||||
:box [38 160 71 181]
|
|
||||||
:script (actions/get-script
|
:script (actions/get-script
|
||||||
entities
|
entities
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user