aww, young love.
This commit is contained in:
@@ -276,6 +276,10 @@
|
||||
:interactions {:pit {:box [54 0 219 36]
|
||||
:script (actions/get-script entities
|
||||
(actions/walk-to entities :ego [154 41])
|
||||
|
||||
(actions/transition-music entities :love :duration 1.0)
|
||||
(actions/play-animation entities :ego :love)
|
||||
(actions/transition-music entities nil :duration 1.0)
|
||||
(actions/talk entities :ego "Wow! That's a long way down."))
|
||||
:scripts {:shovel (actions/get-script entities
|
||||
(actions/walk-to entities :ego [154 41])
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
milk (utils/make-anim "ego/squat.png" [18 36] 0.05 [0 1 2 2 3 3 3 3 3 3 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 3 3 3 3 3 3 3 3 3 3 3 2 1 0])
|
||||
throw (utils/make-anim "ego/throw.png" [18 36] 0.04 (flatten [[(repeat 5 0) (repeat 10 1)] (repeat 3 [2 2 2 3 3 3 4 4 4 5 5 5]) (repeat 5 [2 2 3 3 4 4 5 5]) (repeat 10 [2 3 4 5]) [2 3 3] (repeat 15 6)]))
|
||||
swing-shovel (utils/make-anim "ego/swing-shovel.png" [70 70] 0.1 (range 9))
|
||||
love (utils/make-anim "ego/love.png" [50 70] 0.1 (flatten [0 0 1 1 2 2 3 3 4 4 5 5 6 6 (repeat 30 7) (repeat 3 8) (repeat 10 7) (repeat 3 8) (repeat 30 9) 10 11 12 13 14 15 16 17 18 19 20 21 21 21 22 22 22 21 21 21 21 21 21 21 21 22 22 22 22 22 21 21 21 21 22 22 21 21 6 6 5 5 4 4 3 3 2 2 1 1 0]))
|
||||
|
||||
ego {:right {:walk walk-right
|
||||
:stand stand-anim
|
||||
@@ -240,6 +241,7 @@
|
||||
:milk milk
|
||||
:throw throw
|
||||
:swing-shovel swing-shovel
|
||||
:love love
|
||||
}
|
||||
:left {:walk (utils/flip walk-right)
|
||||
:stand (utils/flip stand-anim)
|
||||
@@ -269,7 +271,8 @@
|
||||
:glad (utils/flip glad)
|
||||
:milk (utils/flip milk)
|
||||
:throw (utils/flip throw)
|
||||
:swing-shovel (utils/flip swing-shovel)}
|
||||
:swing-shovel (utils/flip swing-shovel)
|
||||
:love (utils/flip love)}
|
||||
:baseline (- 240 (last start-pos))
|
||||
:facing :right
|
||||
:origin-x 9
|
||||
|
||||
Reference in New Issue
Block a user