added far background

This commit is contained in:
Bryce Covert
2015-11-14 08:18:53 -08:00
parent b203e7ffa4
commit 85e9ed084a
9 changed files with 335 additions and 320 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View File

@@ -8,12 +8,12 @@ lowMin: 3000.0
lowMax: 3000.0
- Count -
min: 0
max: 50
max: 100
- Emission -
lowMin: 0.0
lowMax: 0.0
highMin: 70.0
highMax: 70.0
highMin: 25.0
highMax: 25.0
relative: false
scalingCount: 1
scaling0: 1.0
@@ -140,9 +140,9 @@ active: false
active: false
- Tint -
colorsCount: 3
colors0: 0.92156863
colors1: 0.9372549
colors2: 0.94509804
colors0: 0.9411765
colors1: 0.98039216
colors2: 1.0
timelineCount: 1
timeline0: 0.0
- Transparency -
@@ -151,14 +151,18 @@ lowMax: 0.0
highMin: 1.0
highMax: 1.0
relative: false
scalingCount: 3
scalingCount: 5
scaling0: 0.0
scaling1: 0.21052632
scaling2: 0.05263158
timelineCount: 3
scaling1: 0.36842105
scaling2: 0.49122807
scaling3: 0.36842105
scaling4: 0.0
timelineCount: 5
timeline0: 0.0
timeline1: 0.48630136
timeline2: 1.0
timeline1: 0.10273973
timeline2: 0.5068493
timeline3: 0.8630137
timeline4: 1.0
- Options -
attached: false
continuous: true

View File

@@ -28,6 +28,8 @@
(assoc-in [:room :layers 4 :opacity] opacity)
(assoc-in [:room :layers 5 :opacity] opacity)
(assoc-in [:room :layers 6 :opacity] opacity)
(assoc-in [:room :layers 7 :opacity] opacity)
(assoc-in [:room :layers 8 :opacity] opacity)
(assoc-in [:room :entities :sword :opacity] tool-opacity)
(assoc-in [:room :entities :case :opacity] tool-opacity)
(assoc-in [:room :entities :broom :opacity] tool-opacity)
@@ -379,7 +381,9 @@
:ego "It seems like misery!"
:ego "Plus, how can I ever win the heart of my true love, Georgia McGorgeous?"))}}}
:timers {:return [1.0 1.0 return-from-island]}
:layers [(assoc (utils/get-texture "dream/clouds1.png") :x -10 :y 0 :baseline -1 :parallax 0.2 :scale-x 1.1 :scale-y 1.1)
:layers [(assoc (utils/get-texture "dream/sky.png") :x 0 :y 0 :baseline -3 :parallax 0.01)
(assoc (utils/get-texture "dream/far.png") :x -10 :y 0 :baseline -2 :parallax 0.01)
(assoc (utils/get-texture "dream/clouds1.png") :x -10 :y 0 :baseline -1 :parallax 0.2 :scale-x 1.1 :scale-y 1.1)
(assoc (utils/get-texture "dream/island.png") :x 180 :y 180 :baseline 0 :parallax 0.3 :scale-x 1.1 :scale-y 1.1)
(assoc (utils/get-texture "dream/cliff.png") :x 50 :y 133 :baseline 1 :parallax 0.6 :scale-x 1.2 :scale-y 1.2)
(assoc (utils/get-texture "dream/background.png") :x 0 :y 0 :baseline 2)
@@ -514,7 +518,7 @@
(utils/fast-forward-particle (get-in entities [:room :entities :outside-particles]))
(as-> entities entities
(if (get-in entities [:state :seen-intro?])
(if (doto (get-in entities [:state :seen-intro?]) println)
(set-opacity entities 1.0 1.0)
(set-opacity entities 0.0 0.0))
(if (actions/has-item? entities :broom)