dissoc hearts.

This commit is contained in:
Bryce Covert
2018-02-11 17:16:21 -08:00
parent 97794f953c
commit c52784d5e5
6 changed files with 13 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
(def packs (into ["do"]
(mapcat (fn [directory]
["run" "-m" "com.badlogic.gdx.tools.texturepacker.TexturePacker" (str "asset-work/" directory) "resources/packed/" (str directory ",")])
["tongue-fight", "global" "space" "particles"]
["title"]
#_["behindhouse" "dream" "georgia" "inside-cafeteria" "inside-jail" "outsidehouse" "safe-song" "title"
"castle-gate" "ego" "held" "inside-castle" "inside-stash" "outside-castle" "screenshots" "wizard"
"cat-tree" "ending-castle" "inside-antique" "inside-house" "outside-jail" "space" ])))

View File

@@ -69,7 +69,7 @@ quill
index: -1
save-indicator
rotate: false
xy: 810, 766
xy: 810, 644
size: 7, 7
orig: 7, 7
offset: 0, 0
@@ -228,3 +228,10 @@ screenshots/outside-house-night
orig: 160, 120
offset: 0, 0
index: -1
screenshots/tongue-fight
rotate: false
xy: 810, 653
size: 160, 120
orig: 160, 120
offset: 0, 0
index: -1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 858 KiB

After

Width:  |  Height:  |  Size: 897 KiB

View File

@@ -28,6 +28,7 @@
:night "screenshots/inside-castle-night.png"}
:space "screenshots/duel.png"
:held "screenshots/held.png"
:tongue-fight "screenshots/tongue-fight.png"
:inside-cafeteria "screenshots/cafeteria.png"
:inside-antique "screenshots/inside-antique.png"
:inside-jail "screenshots/inside-jail.png"
@@ -37,6 +38,7 @@
:night "screenshots/fountain-night.png"}
:outside-castle {:day "screenshots/outside-castle-day.png"
:night "screenshots/outside-castle-night.png"}}]
(println (:last-room state))
(get-in answers [(:last-room state) (:time state)]
(get-in answers [(:last-room state)]))))

View File

@@ -480,11 +480,12 @@
(-> e
(assoc-in [:room :entities :penultimate :opacity] 1)
(assoc-in [:room :entities :penultimate-wall :opacity] 1)
(assoc-in [:room :entities :bloodclot-swallow-top :opacity] 1)
(assoc-in [:room :entities :bloodclot-swallow-bottom :opacity] 1)
(update-in [:cam ] assoc :paused? true :x 160 :y 120)
(update-in [:room :entities :ego ] assoc :x 200 :y 166 :baseline 4)
(update-in [:room :entities] dissoc :tongue)
(update-in [:room :entities] dissoc :tongue [:ego-heart 0] [:ego-heart 1] [:ego-heart 2] [:ego-heart 3] [:ego-heart 4])
(update-in [:room :entities :ego] actions/start-animation :fall-small))))
(if won?