diff --git a/desktop/resources/cloudy b/desktop/resources/cloudy new file mode 100644 index 00000000..17951ff1 --- /dev/null +++ b/desktop/resources/cloudy @@ -0,0 +1,170 @@ +Untitled +- Delay - +active: true +lowMin: 0.0 +lowMax: 0.0 +- Duration - +lowMin: 3000.0 +lowMax: 3000.0 +- Count - +min: 0 +max: 2000 +- Emission - +lowMin: 0.0 +lowMax: 0.0 +highMin: 100.0 +highMax: 100.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Life - +lowMin: 0.0 +lowMax: 0.0 +highMin: 4000.0 +highMax: 5000.0 +relative: false +scalingCount: 3 +scaling0: 1.0 +scaling1: 1.0 +scaling2: 1.0 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.66 +timeline2: 1.0 +- Life Offset - +active: false +- X Offset - +active: true +lowMin: 5.0 +lowMax: -5.0 +highMin: 0.0 +highMax: 0.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Y Offset - +active: true +lowMin: 5.0 +lowMax: -5.0 +highMin: 0.0 +highMax: 0.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Spawn Shape - +shape: ellipse +edges: true +side: both +- Spawn Width - +lowMin: 0.0 +lowMax: 0.0 +highMin: 360.0 +highMax: 360.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Spawn Height - +lowMin: 0.0 +lowMax: 0.0 +highMin: 300.0 +highMax: 300.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Scale - +lowMin: 40.0 +lowMax: 40.0 +highMin: 90.0 +highMax: 110.0 +relative: false +scalingCount: 3 +scaling0: 0.7346939 +scaling1: 0.8367347 +scaling2: 0.71428573 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.5 +timeline2: 0.9520548 +- Velocity - +active: true +lowMin: 0.0 +lowMax: 0.0 +highMin: 10.0 +highMax: -10.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Angle - +active: true +lowMin: 90.0 +lowMax: 90.0 +highMin: 0.0 +highMax: 360.0 +relative: false +scalingCount: 3 +scaling0: 1.0 +scaling1: 1.0 +scaling2: 1.0 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.37671232 +timeline2: 1.0 +- Rotation - +active: true +lowMin: 1.0 +lowMax: 360.0 +highMin: -50.0 +highMax: 50.0 +relative: true +scalingCount: 2 +scaling0: 0.0 +scaling1: 1.0 +timelineCount: 2 +timeline0: 0.0 +timeline1: 1.0 +- Wind - +active: false +- Gravity - +active: false +- Tint - +colorsCount: 3 +colors0: 0.65882355 +colors1: 0.7647059 +colors2: 0.8235294 +timelineCount: 1 +timeline0: 0.0 +- Transparency - +lowMin: 0.0 +lowMax: 0.0 +highMin: 1.0 +highMax: 1.0 +relative: false +scalingCount: 3 +scaling0: 0.0 +scaling1: 0.14035088 +scaling2: 0.0 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.49315068 +timeline2: 1.0 +- Options - +attached: false +continuous: true +aligned: false +additive: false +behind: false +premultipliedAlpha: false +- Image Path - +cloudy.png diff --git a/desktop/resources/cloudy.png b/desktop/resources/cloudy.png new file mode 100644 index 00000000..62d35bf6 Binary files /dev/null and b/desktop/resources/cloudy.png differ diff --git a/desktop/resources/titleclouds b/desktop/resources/titleclouds new file mode 100644 index 00000000..632dc644 --- /dev/null +++ b/desktop/resources/titleclouds @@ -0,0 +1,170 @@ +Untitled +- Delay - +active: true +lowMin: 0.0 +lowMax: 0.0 +- Duration - +lowMin: 3000.0 +lowMax: 3000.0 +- Count - +min: 0 +max: 2000 +- Emission - +lowMin: 0.0 +lowMax: 0.0 +highMin: 70.0 +highMax: 70.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Life - +lowMin: 0.0 +lowMax: 0.0 +highMin: 4000.0 +highMax: 5000.0 +relative: false +scalingCount: 3 +scaling0: 1.0 +scaling1: 1.0 +scaling2: 1.0 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.66 +timeline2: 1.0 +- Life Offset - +active: false +- X Offset - +active: true +lowMin: 5.0 +lowMax: -5.0 +highMin: 0.0 +highMax: 0.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Y Offset - +active: true +lowMin: 5.0 +lowMax: -5.0 +highMin: 0.0 +highMax: 0.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Spawn Shape - +shape: ellipse +edges: true +side: both +- Spawn Width - +lowMin: 0.0 +lowMax: 0.0 +highMin: 1440.0 +highMax: 1440.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Spawn Height - +lowMin: 0.0 +lowMax: 0.0 +highMin: 1280.0 +highMax: 1280.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Scale - +lowMin: 160.0 +lowMax: 160.0 +highMin: 360.0 +highMax: 440.0 +relative: false +scalingCount: 3 +scaling0: 0.7346939 +scaling1: 0.8367347 +scaling2: 0.71428573 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.5 +timeline2: 0.9520548 +- Velocity - +active: true +lowMin: 0.0 +lowMax: 0.0 +highMin: 10.0 +highMax: -10.0 +relative: false +scalingCount: 1 +scaling0: 1.0 +timelineCount: 1 +timeline0: 0.0 +- Angle - +active: true +lowMin: 90.0 +lowMax: 90.0 +highMin: 0.0 +highMax: 360.0 +relative: false +scalingCount: 3 +scaling0: 1.0 +scaling1: 1.0 +scaling2: 1.0 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.37671232 +timeline2: 1.0 +- Rotation - +active: true +lowMin: 1.0 +lowMax: 360.0 +highMin: -50.0 +highMax: 50.0 +relative: true +scalingCount: 2 +scaling0: 0.0 +scaling1: 1.0 +timelineCount: 2 +timeline0: 0.0 +timeline1: 1.0 +- Wind - +active: false +- Gravity - +active: false +- Tint - +colorsCount: 3 +colors0: 0.92156863 +colors1: 0.9372549 +colors2: 0.94509804 +timelineCount: 1 +timeline0: 0.0 +- Transparency - +lowMin: 0.0 +lowMax: 0.0 +highMin: 1.0 +highMax: 1.0 +relative: false +scalingCount: 3 +scaling0: 0.0 +scaling1: 0.21052632 +scaling2: 0.05263158 +timelineCount: 3 +timeline0: 0.0 +timeline1: 0.48630136 +timeline2: 1.0 +- Options - +attached: false +continuous: true +aligned: false +additive: false +behind: false +premultipliedAlpha: false +- Image Path - +cloudy.png diff --git a/desktop/src-common/advent/screens/title.clj b/desktop/src-common/advent/screens/title.clj index 235be60b..051715ce 100644 --- a/desktop/src-common/advent/screens/title.clj +++ b/desktop/src-common/advent/screens/title.clj @@ -63,6 +63,7 @@ :opacity 1.0 :origin-x 0 :origin-y 0) + :clouds (assoc (particle-effect "titleclouds" :reset :start) :x 640 :y 480 ) :toolbox (center (assoc (nine-patch {:region (:object (texture "talk-bg-2.png")) :left 9 :top 9 :right 9 :bottom 9}) :y 90 :width 500 :height 250)) @@ -105,7 +106,7 @@ (let [entities (utils/apply-tweens screen entities (:tweens entities))] (music! (:music entities) :set-volume (utils/current-music-volume (:volume entities))) () - (render! screen [(:overlay entities) (:toolbox entities) (:start-playing entities) (:quit entities) (:music-label entities) (:music-volume-slider entities) (:sound-label entities) (:sound-volume-slider entities) (:fade entities) ]) + (render! screen [(:overlay entities) (:clouds entities) (:toolbox entities) (:start-playing entities) (:quit entities) (:music-label entities) (:music-volume-slider entities) (:sound-label entities) (:sound-volume-slider entities) (:fade entities) ]) entities)) :show-screen (fn [entities]