fountain effect

This commit is contained in:
2015-03-03 23:26:27 -08:00
parent a963106ae7
commit 8476dff35b
3 changed files with 359 additions and 50 deletions

View File

@@ -159,7 +159,7 @@
: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 (texture "outside-jail/dot.png")
:entities {:fountain (assoc (texture "outside-jail/dot.png") #_(animation->texture screen fountain)
:x 150 :y 126 :baseline 114
#_:anim fountain
#_:anim-start 0
@@ -184,9 +184,9 @@
:fountain-particle (assoc (doto (particle-effect "outside-jail/fountain")
(particle-effect! :reset)
(particle-effect! :start))
:x 170
:x 172
:y 140
:baseline 320)}
:baseline 114)}
:guard (rooms/make-entity :guard (assoc (animation->texture screen guard-stand)
:x 70 :y 55 :baseline 185
:stand guard-stand

View File

@@ -25,7 +25,7 @@
target-height (* 16 scale)
resized (Pixmap. target-width target-height (.getFormat base-cursor))
index (.indexOf +all-cursors+ which)]
(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
#_(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
(pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16
0 0 target-width target-height)
resized ))