fountain?

This commit is contained in:
2015-03-03 21:01:08 -08:00
parent 3b058ee41b
commit a963106ae7
5 changed files with 319 additions and 4 deletions

View File

@@ -159,10 +159,10 @@
:script (actions/get-script entities (try-to-go-in-stash entities))}}
:layers {:day [(assoc (texture "outside-jail/background.png") :x 0 :y 0 :baseline 0)]
:night [(assoc (texture "outside-jail/background-dark.png") :x 0 :y 0 :baseline 0)]}
:entities {:fountain (assoc (animation->texture screen fountain)
:entities {:fountain (assoc (texture "outside-jail/dot.png")
:x 150 :y 126 :baseline 114
:anim fountain
:anim-start 0
#_:anim fountain
#_:anim-start 0
:script (actions/get-script entities
(actions/walk-to entities :ego [151 119] :face :right)
(actions/play-animation entities :ego :reach)
@@ -180,7 +180,13 @@
:y 86
:width 10
:height 10
:talk-color (color 0.9 0.3 0.9 1.0)}}
:talk-color (color 0.9 0.3 0.9 1.0)}
:fountain-particle (assoc (doto (particle-effect "outside-jail/fountain")
(particle-effect! :reset)
(particle-effect! :start))
:x 170
:y 140
:baseline 320)}
:guard (rooms/make-entity :guard (assoc (animation->texture screen guard-stand)
:x 70 :y 55 :baseline 185
:stand guard-stand