adding wizard.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
BIN
desktop/resources/wizard.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
desktop/resources/wizard.psd
Normal file
@@ -154,7 +154,9 @@
|
||||
peddler-talk (animation 0.18 (for [i (flatten [2 3 2 3 2 3 6 1 0 1 0 1 0 1 0 1 2 3 2 3 2 3 6 4 5 4 5 4 5 4 5])]
|
||||
(aget peddler-sheet 0 i)))
|
||||
peddler-stand (animation 0.2 (for [i (flatten [(repeat 5 0) 6])]
|
||||
(aget peddler-sheet 0 i)))]
|
||||
(aget peddler-sheet 0 i)))
|
||||
wizard (texture "wizard.png")
|
||||
_ (texture! wizard :flip true false)]
|
||||
{:inside-house
|
||||
(make-background :interactions {:down-dir {:box [151 0 320 20]
|
||||
:script (actions/get-script entities
|
||||
@@ -164,7 +166,7 @@
|
||||
:layers [(assoc (texture "inside-house/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "inside-house/desk.png") :x 0 :y 0 :baseline 200)
|
||||
(assoc (texture "inside-house/sillhoute.png") :x 0 :y 0 :baseline 240)]
|
||||
:entities {}
|
||||
:entities {:wizard (assoc wizard :x 228 :y 80 :baseline 160 :scale-x 1.75 :scale-y 1.75)}
|
||||
:collision "inside-house/collision.png"
|
||||
:scale-fn (scaler-fn-with-baseline 110 0.10 1.75))
|
||||
:outside-house
|
||||
|
||||