yes
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 500 0"
|
||||
},
|
||||
{
|
||||
"flags" : 1,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0 1",
|
||||
"distancemax" : 32,
|
||||
"distancemin" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 32
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 1,
|
||||
"min" : 1,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 80,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"axis" : "0 1 0",
|
||||
"count" : 2.2000000000000002,
|
||||
"id" : 4,
|
||||
"name" : "mapsequencearoundcontrolpoint"
|
||||
},
|
||||
{
|
||||
"count" : 64,
|
||||
"id" : 5,
|
||||
"name" : "mapsequencebetweencontrolpoints"
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/dna.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"axis" : "0 1 0",
|
||||
"distanceinner" : 0,
|
||||
"distanceouter" : 0,
|
||||
"flags" : 1,
|
||||
"id" : 9,
|
||||
"name" : "vortex",
|
||||
"speedinner" : -250,
|
||||
"speedouter" : -250
|
||||
},
|
||||
{
|
||||
"endtime" : 0.69999999999999996,
|
||||
"endvalue" : "1 0 0",
|
||||
"id" : 10,
|
||||
"name" : "colorchange"
|
||||
},
|
||||
{
|
||||
"endvalue" : 0,
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"startvalue" : 1
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : null,
|
||||
"starttime" : 0
|
||||
}
|
||||
38
modules/wallpaper-engine/presets/abstract/preset.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_abstract_title",
|
||||
"description" : "ui_editor_preset_abstract_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "DNA",
|
||||
"value" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewdna/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "DNA",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/dna.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/dna.json",
|
||||
"particles/presets/dna.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 500 0"
|
||||
},
|
||||
{
|
||||
"flags" : 1,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0 1",
|
||||
"distancemax" : 32,
|
||||
"distancemin" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 32
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 1,
|
||||
"min" : 1,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 80,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"axis" : "0 1 0",
|
||||
"count" : 2.2000000000000002,
|
||||
"id" : 4,
|
||||
"name" : "mapsequencearoundcontrolpoint"
|
||||
},
|
||||
{
|
||||
"count" : 64,
|
||||
"id" : 5,
|
||||
"name" : "mapsequencebetweencontrolpoints"
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/dna.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"axis" : "0 1 0",
|
||||
"distanceinner" : 0,
|
||||
"distanceouter" : 0,
|
||||
"flags" : 1,
|
||||
"id" : 9,
|
||||
"name" : "vortex",
|
||||
"speedinner" : -250,
|
||||
"speedouter" : -250
|
||||
},
|
||||
{
|
||||
"endtime" : 0.69999999999999996,
|
||||
"endvalue" : "1 0 0",
|
||||
"id" : 10,
|
||||
"name" : "colorchange"
|
||||
},
|
||||
{
|
||||
"endvalue" : 0,
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"startvalue" : 1
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : null,
|
||||
"starttime" : 0
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_abstract_title",
|
||||
"description" : "ui_editor_preset_abstract_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "DNA",
|
||||
"value" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewdna/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "DNA",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/dna.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/dna.json",
|
||||
"particles/presets/dna.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"general" :
|
||||
{
|
||||
"properties" :
|
||||
{
|
||||
"schemecolor" :
|
||||
{
|
||||
"order" : 0,
|
||||
"text" : "ui_browse_properties_scheme_color",
|
||||
"type" : "color",
|
||||
"value" : "0 0 0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title" : "previewdna"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"clearenabled" : null,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"id" : 6,
|
||||
"image" : null,
|
||||
"instanceoverride" : null,
|
||||
"model" : null,
|
||||
"name" : "DNA",
|
||||
"origin" : "128.000 0.000 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : "particles/presets/dna.json",
|
||||
"scale" : "0.703 0.703 1.000"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview empty",
|
||||
"type": "scene2d"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" :
|
||||
{
|
||||
"REFRACT" : 1
|
||||
},
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"ui_editor_properties_overbright" : 1.0,
|
||||
"ui_editor_properties_refract_amount" : 0.17000000178813934
|
||||
},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/bubbles/bubble1", "particle/bubbles/bubble1normal" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/bubbles/bubble3" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 1,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 1 0",
|
||||
"distancemax" : 64,
|
||||
"distancemin" : 0,
|
||||
"id" : 7,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 15
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 200,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "50 50 0",
|
||||
"min" : "-50 -50 0",
|
||||
"name" : "velocityrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"max" : "255 255 255",
|
||||
"min" : "255 255 255",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 6,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"scale" : 0.29999999999999999
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/bubbles1.json",
|
||||
"maxcount" : 50,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"drag" : 0.10000000000000001,
|
||||
"gravity" : "0 50 0",
|
||||
"id" : 8,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 9,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"controlpoint" : 1,
|
||||
"id" : 10,
|
||||
"name" : "controlpointattract",
|
||||
"scale" : -300
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : 2,
|
||||
"starttime" : 0
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 1 0",
|
||||
"distancemax" : 16,
|
||||
"distancemin" : 0,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 5
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 2,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 250,
|
||||
"min" : 90,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 255 255",
|
||||
"min" : "255 255 255",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"scale" : 0.29999999999999999,
|
||||
"speedmax" : 90,
|
||||
"speedmin" : 10
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/bubbles2.json",
|
||||
"maxcount" : 32,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"drag" : 0.20000000000000001,
|
||||
"gravity" : "0 100 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.01,
|
||||
"maxlength" : 2,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : 2,
|
||||
"starttime" : 0
|
||||
}
|
||||
60
modules/wallpaper-engine/presets/bubbles/preset.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_bubbles_title",
|
||||
"description" : "ui_editor_preset_bubbles_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "ui_editor_preset_bubbles_variant_1",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "ui_editor_preset_bubbles_variant_2",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewbubbles1/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Cartoon bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles1.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles1.json",
|
||||
"particles/presets/bubbles1.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "previewbubbles2/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ocean bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles2.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles2.json",
|
||||
"particles/presets/bubbles2.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "effectpreview" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clampuvs" : true,
|
||||
"format" : "rgba8888",
|
||||
"nomip" : true,
|
||||
"nonpoweroftwo" : true
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 KiB |
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" :
|
||||
{
|
||||
"REFRACT" : 1
|
||||
},
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"ui_editor_properties_overbright" : 1.0,
|
||||
"ui_editor_properties_refract_amount" : 0.17000000178813934
|
||||
},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/bubbles/bubble1", "particle/bubbles/bubble1normal" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/effectpreview.json"
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 1,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 1 0",
|
||||
"distancemax" : 64,
|
||||
"distancemin" : 0,
|
||||
"id" : 7,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 15
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 200,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "50 50 0",
|
||||
"min" : "-50 -50 0",
|
||||
"name" : "velocityrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"max" : "255 255 255",
|
||||
"min" : "255 255 255",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 6,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"scale" : 0.29999999999999999
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/bubbles1.json",
|
||||
"maxcount" : 50,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"drag" : 0.10000000000000001,
|
||||
"gravity" : "0 50 0",
|
||||
"id" : 8,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 9,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"controlpoint" : 1,
|
||||
"id" : 10,
|
||||
"name" : "controlpointattract",
|
||||
"scale" : -300
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : 2,
|
||||
"starttime" : 0
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_bubbles_title",
|
||||
"description" : "ui_editor_preset_bubbles_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "Cartoon",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "Ocean",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewbubbles1/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Cartoon bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles1.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles1.json",
|
||||
"particles/presets/bubbles1.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "previewbubbles2/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ocean bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles2.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles2.json",
|
||||
"particles/presets/bubbles2.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"title" : "previewbubbles1"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"clearenabled" : null,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"id" : 18,
|
||||
"image" : null,
|
||||
"model" : null,
|
||||
"name" : "Cartoon bubbles",
|
||||
"origin" : "132.405 11.725 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : "particles/presets/bubbles1.json",
|
||||
"particlesrc" : null,
|
||||
"scale" : "0.237 0.237 1.000"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview",
|
||||
"type": "scene2d"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "effectpreview" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clampuvs" : true,
|
||||
"format" : "rgba8888",
|
||||
"nomip" : true,
|
||||
"nonpoweroftwo" : true
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 KiB |
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/bubbles/bubble3" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/effectpreview.json"
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 1 0",
|
||||
"distancemax" : 16,
|
||||
"distancemin" : 0,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 5
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 2,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 250,
|
||||
"min" : 90,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 255 255",
|
||||
"min" : "255 255 255",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"scale" : 0.29999999999999999,
|
||||
"speedmax" : 90,
|
||||
"speedmin" : 10
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/bubbles2.json",
|
||||
"maxcount" : 32,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"drag" : 0.20000000000000001,
|
||||
"gravity" : "0 100 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.01,
|
||||
"maxlength" : 2,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : 2,
|
||||
"starttime" : 0
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_bubbles_title",
|
||||
"description" : "ui_editor_preset_bubbles_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "Cartoon",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "Ocean",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewbubbles1/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Cartoon bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles1.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles1.json",
|
||||
"particles/presets/bubbles1.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "previewbubbles2/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ocean bubbles",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/bubbles2.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/bubbles2.json",
|
||||
"particles/presets/bubbles2.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"title" : "previewbubbles2"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"clearenabled" : null,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"id" : 18,
|
||||
"image" : null,
|
||||
"model" : null,
|
||||
"name" : "Ocean bubbles",
|
||||
"origin" : "129.587 7.497 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : "particles/presets/bubbles2.json",
|
||||
"particlesrc" : null,
|
||||
"scale" : "0.324 0.324 1.000"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview",
|
||||
"type": "scene2d"
|
||||
}
|
||||
90
modules/wallpaper-engine/presets/clock/preset.json
Normal file
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_clock_title",
|
||||
"description" : "ui_editor_preset_clock_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "ui_editor_preset_clock_variant_clock",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "ui_editor_preset_clock_variant_3dclock",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewclock/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"copybackground" : true,
|
||||
"font" : "fonts/RobotoMono-Regular.ttf",
|
||||
"horizontalalign" : "center",
|
||||
"locktransforms" : false,
|
||||
"name" : "Clock",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "960.000 540.000 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"perspective" : false,
|
||||
"pointsize" : 32.0,
|
||||
"scale" : "1.000 1.000 1.000",
|
||||
"size" : "379.000 117.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\nexport var scriptProperties = createScriptProperties()\n\t// Whether you want a 24h or 12h style format\n\t.addCheckbox({\n\t\tname: 'use24hFormat',\n\t\tlabel: 'ui_editor_properties_use_24h_format',\n\t\tvalue: true\n\t})\n\t// Whether you want to see the seconds or not\n\t.addCheckbox({\n\t\tname: 'showSeconds',\n\t\tlabel: 'ui_editor_properties_show_seconds',\n\t\tvalue: false\n\t})\n\t// This will be used to separate each element\n\t.addText({\n\t\tname: 'delimiter',\n\t\tlabel: 'ui_editor_properties_delimiter',\n\t\tvalue: ':'\n\t})\n\t.finish();\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function update(value) {\n\tlet time = new Date();\n\tvar hours = time.getHours();\n\tif (!scriptProperties.use24hFormat) {\n\t\thours %= 12;\n\t\tif (hours == 0) {\n\t\t\thours = 12;\n\t\t}\n\t}\n\thours = (\"00\" + hours).slice(-2);\n\tlet minutes = (\"00\" + time.getMinutes()).slice(-2);\n\tvalue = hours + scriptProperties.delimiter + minutes;\n\tif (scriptProperties.showSeconds) {\n\t\tlet seconds = (\"00\" + time.getSeconds()).slice(-2);\n\t\tvalue += scriptProperties.delimiter + seconds;\n\t}\n\treturn value;\n}\n",
|
||||
"value" : "12:34"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "preview3dclock/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"copybackground" : true,
|
||||
"font" : "fonts/Monofur-PK7og.ttf",
|
||||
"horizontalalign" : "center",
|
||||
"locktransforms" : false,
|
||||
"name" : "3D Clock",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "960.000 540.000 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"perspective" : true,
|
||||
"pointsize" : 32.0,
|
||||
"scale" : "1.000 1.000 1.000",
|
||||
"size" : "500.000 100.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\nimport * as WEMath from 'WEMath';\n\n// This will be used to separate each element\nlet delimiter = ':';\n\n// Whether you want to see the seconds or not\nlet showSeconds = true;\n\n// Whether you want a 24h or 12h style format\nlet use24hFormat = true;\n\n/**\n * @param {String} value (for property 'text')\n */\nvar shadowLayer;\nexport function update(value) {\n\tlet time = new Date();\n\tvar hours;\n\tvar suffix = '';\n\tif (use24hFormat) {\n\t\thours = (\"00\" + time.getHours()).slice(-2);\n\t} else {\n\t\thours = time.getHours();\n\t\tsuffix = hours >= 12 ? 'PM' : 'AM';\n\t\thours %= 12;\n\t\tif (hours == 0) {\n\t\t\thours = 12;\n\t\t}\n\t}\n\tlet minutes = (\"00\" + time.getMinutes()).slice(-2);\n\tlet seconds = (\"00\" + time.getSeconds()).slice(-2);\n\tvalue = hours + delimiter + minutes;\n\tif (showSeconds) {\n\t\tvalue += delimiter + seconds;\n\t}\n\tif (!use24hFormat) {\n\t\tvalue += ' ' + suffix;\n\t}\n\n\tvar delta = thisLayer.origin.subtract(input.cursorWorldPosition);\n\tvar shadowOffset = delta.copy();\n\tshadowOffset.z = 0;\n\tdelta = delta.divide(new Vec3(engine.canvasSize, 1));\n\tdelta.z = 0;\n\tvar rotation = new Vec3(delta.y, -delta.x, 4 * WEMath.mix(delta.x, -delta.x, Math.min(1, Math.max(0, delta.y * 0.1 + 0.5)))).multiply(50);\n\tthisLayer.angles = rotation;\n\tshadowLayer.angles = rotation;\n\tshadowLayer.origin = thisLayer.origin.add(shadowOffset.multiply(0.01));\n\tshadowLayer.text = value;\n\treturn value;\n}\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function init() {\n\tshadowLayer = thisScene.createLayer({\n\t\ttext: 'shadow',\n\t\tcolor: '0 0 0',\n\t\talpha: 1,\n\t\tpointsize: thisLayer.pointsize,\n\t\tfont: thisLayer.font,\n\t\tperspective: true\n\t});\n\tshadowLayer.origin = thisLayer.origin;\n\tshadowLayer.angles = thisLayer.angles;\n\tshadowLayer.scale = thisLayer.scale;\n\tthisScene.sortLayer(shadowLayer, thisScene.getLayerIndex(thisLayer));\n}\n",
|
||||
"value" : "12:34"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"general" :
|
||||
{
|
||||
"properties" :
|
||||
{
|
||||
"schemecolor" :
|
||||
{
|
||||
"order" : 0,
|
||||
"text" : "ui_browse_properties_scheme_color",
|
||||
"type" : "color",
|
||||
"value" : "0 0 0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title" : "preview3dclock",
|
||||
"type" : "scene"
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.300 0.300 0.300",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2.0,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"camerafade" : true,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0.0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1.0,
|
||||
"camerashakespeed" : 3.0,
|
||||
"clearcolor" : "0.376 0.376 0.376",
|
||||
"clearenabled" : true,
|
||||
"farz" : 10000.0,
|
||||
"fov" : 50.0,
|
||||
"nearz" : 0.10000000149011612,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.300 0.300 0.300"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"colorBlendMode" : 0,
|
||||
"copybackground" : true,
|
||||
"font" : "fonts/Monofur-PK7og.ttf",
|
||||
"horizontalalign" : "center",
|
||||
"id" : 8,
|
||||
"image" : null,
|
||||
"locktransforms" : false,
|
||||
"model" : null,
|
||||
"name" : "3D Clock",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "128.000 139.759 0.000",
|
||||
"padding" : 0,
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : null,
|
||||
"perspective" : true,
|
||||
"pointsize" : 24.0,
|
||||
"scale" : "0.585 0.585 0.585",
|
||||
"size" : "500.000 100.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\nimport * as WEMath from 'WEMath';\n\n// This will be used to separate each element\nlet delimiter = ':';\n\n// Whether you want to see the seconds or not\nlet showSeconds = true;\n\n// Whether you want a 24h or 12h style format\nlet use24hFormat = true;\n\n/**\n * @param {String} value (for property 'text')\n */\nvar shadowLayer;\nexport function update(value) {\n\tshadowLayer.visible = thisLayer.visible;\n\tlet time = new Date();\n\tvar hours;\n\tvar suffix = '';\n\tif (use24hFormat) {\n\t\thours = (\"00\" + time.getHours()).slice(-2);\n\t} else {\n\t\thours = time.getHours();\n\t\tsuffix = hours >= 12 ? 'PM' : 'AM';\n\t\thours %= 12;\n\t\tif (hours == 0) {\n\t\t\thours = 12;\n\t\t}\n\t}\n\tlet minutes = (\"00\" + time.getMinutes()).slice(-2);\n\tlet seconds = (\"00\" + time.getSeconds()).slice(-2);\n\tvalue = hours + delimiter + minutes;\n\tif (showSeconds) {\n\t\tvalue += delimiter + seconds;\n\t}\n\tif (!use24hFormat) {\n\t\tvalue += ' ' + suffix;\n\t}\n\n\tvar delta = thisLayer.origin.subtract(input.cursorWorldPosition);\n\tvar shadowOffset = delta.copy();\n\tshadowOffset.z = 0;\n\tdelta = delta.divide(new Vec3(engine.canvasSize, 1));\n\tdelta.z = 0;\n\tvar rotation = new Vec3(delta.y, -delta.x, 4 * WEMath.mix(delta.x, -delta.x, Math.min(1, Math.max(0, delta.y * 0.1 + 0.5)))).multiply(50);\n\tthisLayer.angles = rotation;\n\tshadowLayer.angles = rotation;\n\tshadowLayer.origin = thisLayer.origin.add(shadowOffset.multiply(0.03));\n\tshadowLayer.text = value;\n\treturn value;\n}\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function init() {\n\tshadowLayer = thisScene.createLayer({\n\t\ttext: 'shadow',\n\t\tcolor: '0 0 0',\n\t\talpha: 1,\n\t\tpointsize: thisLayer.pointsize,\n\t\tfont: thisLayer.font,\n\t\tperspective: true\n\t});\n\tshadowLayer.origin = thisLayer.origin;\n\tshadowLayer.angles = thisLayer.angles;\n\tshadowLayer.scale = thisLayer.scale;\n\tthisScene.sortLayer(shadowLayer, thisScene.getLayerIndex(thisLayer));\n}\n",
|
||||
"value" : "<3D Clock>"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"general" :
|
||||
{
|
||||
"properties" :
|
||||
{
|
||||
"schemecolor" :
|
||||
{
|
||||
"order" : 0,
|
||||
"text" : "ui_browse_properties_scheme_color",
|
||||
"type" : "color",
|
||||
"value" : "0 0 0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title" : "previewclock",
|
||||
"type" : "scene"
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.300 0.300 0.300",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2.0,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"camerafade" : true,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0.0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1.0,
|
||||
"camerashakespeed" : 3.0,
|
||||
"clearcolor" : "0.267 0.267 0.267",
|
||||
"clearenabled" : true,
|
||||
"farz" : 10000.0,
|
||||
"fov" : 50.0,
|
||||
"nearz" : 0.10000000149011612,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.300 0.300 0.300"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"colorBlendMode" : 0,
|
||||
"copybackground" : true,
|
||||
"font" : "fonts/RobotoMono-Regular.ttf",
|
||||
"horizontalalign" : "center",
|
||||
"id" : 13,
|
||||
"image" : null,
|
||||
"locktransforms" : false,
|
||||
"model" : null,
|
||||
"name" : "Clock",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "128.000 135.567 0.000",
|
||||
"padding" : 0,
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : null,
|
||||
"perspective" : false,
|
||||
"pointsize" : 24.0,
|
||||
"scale" : "0.726 0.726 0.726",
|
||||
"size" : "379.000 117.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\n// This will be used to separate each element\nlet delimiter = ':';\n\n// Whether you want to see the seconds or not\nlet showSeconds = false;\n\n// Whether you want a 24h or 12h style format\nlet use24hFormat = true;\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function update(value) {\n\tlet time = new Date();\n\tvar hours = time.getHours();\n\tif (!use24hFormat) {\n\t\thours %= 12;\n\t\tif (hours == 0) {\n\t\t\thours = 12;\n\t\t}\n\t}\n\thours = (\"00\" + hours).slice(-2);\n\tlet minutes = (\"00\" + time.getMinutes()).slice(-2);\n\tvalue = hours + delimiter + minutes;\n\tif (showSeconds) {\n\t\tlet seconds = (\"00\" + time.getSeconds()).slice(-2);\n\t\tvalue += delimiter + seconds;\n\t}\n\treturn value;\n}\n",
|
||||
"value" : "<Clock>"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
60
modules/wallpaper-engine/presets/countdown/preset.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_countdown_title",
|
||||
"description" : "ui_editor_preset_countdown_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "ui_editor_preset_countdown_variant_release",
|
||||
"value" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "previewcountdown/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"colorBlendMode" : 0,
|
||||
"copybackground" : true,
|
||||
"font" : "systemfont_arial",
|
||||
"horizontalalign" : "center",
|
||||
"locktransforms" : false,
|
||||
"name" : "Countdown",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "960.000 540.000 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"perspective" : false,
|
||||
"pointsize" : 32.0,
|
||||
"scale" : "1.000 1.000 1.000",
|
||||
"size" : "1032.000 115.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\nexport var scriptProperties = createScriptProperties()\n\t// The time that the coutdown will end on.\n\t.addText({\n\t\tname: 'date',\n\t\tlabel: 'ui_editor_properties_date',\n\t\tvalue: '2019-12-25T00:00:00'\n\t})\n\t// Whether the year should be ignored.\n\t.addCheckbox({\n\t\tname: 'recurring',\n\t\tlabel: 'ui_editor_properties_recurring',\n\t\tvalue: true\n\t})\n\t// This text will be shown for non-recurring countdowns after they concluded.\n\t.addCheckbox({\n\t\tname: 'finalMessage',\n\t\tlabel: 'ui_editor_properties_end_message',\n\t\tvalue: 'The countdown finished!'\n\t})\n\t.finish();\n\n/**\n * @param {String} value (for property 'text')\n */\nvar originalText;\nexport function update(value) {\n\tvar currentDate = new Date();\n\tvar targetDate = new Date(scriptProperties.date);\n\tvar isRecurringEachYear = scriptProperties.recurring;\n\tif (isRecurringEachYear) {\n\t\ttargetDate.setUTCFullYear(currentDate.getUTCFullYear());\n\t\tif ((targetDate.getTime() - currentDate.getTime()) < 0) {\n\t\t\ttargetDate.setUTCFullYear(currentDate.getUTCFullYear() + 1);\n\t\t}\n\t}\n\n\tvar diff = targetDate.getTime() - currentDate.getTime();\n\tif (!isRecurringEachYear\n\t\t&& diff < 0) {\n\t\treturn scriptProperties.finalMessage;\n\t}\n\n\tvar years = Math.floor(diff / (1000 * 60 * 60 * 24 * 365));\n\tvar days = Math.floor(diff / (1000 * 60 * 60 * 24));\n\tvar hours = Math.floor(diff / (1000 * 60 * 60)) % 24;\n\tvar minutes = Math.floor(diff / (1000 * 60)) % 60;\n\n\tif (!isRecurringEachYear) {\n\t\tdays %= 365;\n\t}\n\n\tvalue = originalText + '\\n';\n\tif (years > 0 && !isRecurringEachYear) {\n\t\tvalue += years + ' years, ';\n\t}\n\tif (days > 0) {\n\t\tvalue += days + ' days, ';\n\t}\n\tvalue += hours + ' hours';\n\tif (days == 0) {\n\t\tvalue += ', ' + minutes + ' minutes';\n\t}\n\treturn value;\n}\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function init(value) {\n\toriginalText = value;\n\treturn value;\n}\n",
|
||||
"scriptproperties" :
|
||||
{
|
||||
"date" : "2019-12-25T00:00:00",
|
||||
"finalMessage" : "The countdown finished!",
|
||||
"recurring" : true
|
||||
},
|
||||
"value" : "Time until Christmas:"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"general" :
|
||||
{
|
||||
"properties" :
|
||||
{
|
||||
"schemecolor" :
|
||||
{
|
||||
"order" : 0,
|
||||
"text" : "ui_browse_properties_scheme_color",
|
||||
"type" : "color",
|
||||
"value" : "0 0 0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title" : "previewcountdown",
|
||||
"type" : "scene"
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.300 0.300 0.300",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2.0,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"camerafade" : true,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0.0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1.0,
|
||||
"camerashakespeed" : 3.0,
|
||||
"clearcolor" : "0.506 0.231 0.231",
|
||||
"clearenabled" : true,
|
||||
"farz" : 10000.0,
|
||||
"fov" : 50.0,
|
||||
"nearz" : 0.10000000149011612,
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.300 0.300 0.300"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"alpha" : 1.0,
|
||||
"anchor" : "none",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"backgroundcolor" : "0.000 0.000 0.000",
|
||||
"color" : "1.000 1.000 1.000",
|
||||
"colorBlendMode" : 0,
|
||||
"copybackground" : true,
|
||||
"font" : "systemfont_arial",
|
||||
"horizontalalign" : "center",
|
||||
"id" : 13,
|
||||
"image" : null,
|
||||
"locktransforms" : false,
|
||||
"model" : null,
|
||||
"name" : "Countdown",
|
||||
"opaquebackground" : false,
|
||||
"origin" : "128.000 141.596 0.000",
|
||||
"padding" : 0,
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : null,
|
||||
"perspective" : false,
|
||||
"pointsize" : 24.0,
|
||||
"scale" : "0.245 0.245 0.245",
|
||||
"size" : "927.000 115.000",
|
||||
"solid" : true,
|
||||
"text" :
|
||||
{
|
||||
"script" : "'use strict';\n\nexport var scriptProperties = createScriptProperties()\n\t// The time that the coutdown will end on.\n\t.addText({\n\t\tname: 'date',\n\t\tlabel: 'ui_editor_properties_date',\n\t\tvalue: '2019-12-25T00:00:00'\n\t})\n\t// Whether the year should be ignored.\n\t.addCheckbox({\n\t\tname: 'recurring',\n\t\tlabel: 'ui_editor_properties_recurring',\n\t\tvalue: true\n\t})\n\t// This text will be shown for non-recurring countdowns after they concluded.\n\t.addCheckbox({\n\t\tname: 'finalMessage',\n\t\tlabel: 'ui_editor_properties_end_message',\n\t\tvalue: 'The countdown finished!'\n\t})\n\t.finish();\n\n/**\n * @param {String} value (for property 'text')\n */\nvar originalText;\nexport function update(value) {\n\tvar currentDate = new Date();\n\tvar targetDate = new Date(scriptProperties.date);\n\tvar isRecurringEachYear = scriptProperties.recurring;\n\tif (isRecurringEachYear) {\n\t\ttargetDate.setUTCFullYear(currentDate.getUTCFullYear());\n\t\tif ((targetDate.getTime() - currentDate.getTime()) < 0) {\n\t\t\ttargetDate.setUTCFullYear(currentDate.getUTCFullYear() + 1);\n\t\t}\n\t}\n\n\tvar diff = targetDate.getTime() - currentDate.getTime();\n\tif (!isRecurringEachYear\n\t\t&& diff < 0) {\n\t\treturn scriptProperties.finalMessage;\n\t}\n\n\tvar years = Math.floor(diff / (1000 * 60 * 60 * 24 * 365));\n\tvar days = Math.floor(diff / (1000 * 60 * 60 * 24));\n\tvar hours = Math.floor(diff / (1000 * 60 * 60)) % 24;\n\tvar minutes = Math.floor(diff / (1000 * 60)) % 60;\n\n\tif (!isRecurringEachYear) {\n\t\tdays %= 365;\n\t}\n\n\tvalue = originalText + '\\n';\n\tif (years > 0 && !isRecurringEachYear) {\n\t\tvalue += years + ' years, ';\n\t}\n\tif (days > 0) {\n\t\tvalue += days + ' days, ';\n\t}\n\tvalue += hours + ' hours';\n\tif (days == 0) {\n\t\tvalue += ', ' + minutes + ' minutes';\n\t}\n\treturn value;\n}\n\n/**\n * @param {String} value (for property 'text')\n */\nexport function init(value) {\n\toriginalText = value;\n\treturn value;\n}\n",
|
||||
"scriptproperties" :
|
||||
{
|
||||
"date" : "2019-12-25T00:00:00",
|
||||
"finalMessage" : "The countdown finished!",
|
||||
"recurring" : true
|
||||
},
|
||||
"value" : "Time until Christmas:"
|
||||
},
|
||||
"verticalalign" : "center",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo_2" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo_2" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"passes": [{
|
||||
"shader": "genericparticle",
|
||||
"depthtest": "disabled",
|
||||
"depthwrite": "disabled",
|
||||
"blending": "additive",
|
||||
"cullmode": "nocull",
|
||||
"textures": ["particle/halo"]
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"passes": [{
|
||||
"shader": "genericparticle",
|
||||
"depthtest": "disabled",
|
||||
"depthwrite": "disabled",
|
||||
"blending": "additive",
|
||||
"cullmode": "nocull",
|
||||
"textures": ["particle/halo"]
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"id" : 12,
|
||||
"name" : "particles/presets/emberglow.json"
|
||||
}
|
||||
],
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0.1 0",
|
||||
"distancemax" : "512 256 0",
|
||||
"id" : 6,
|
||||
"name" : "boxrandom",
|
||||
"rate" : 10
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 200,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 218 108",
|
||||
"min" : "255 143 102",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.5,
|
||||
"scale" : 0.10000000000000001
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/ember.json",
|
||||
"maxcount" : 40,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"mask" : "1 0 0",
|
||||
"name" : "turbulence",
|
||||
"phasemax" : 5,
|
||||
"scale" : 0.0019999999776482581,
|
||||
"speedmax" : 150,
|
||||
"speedmin" : 100
|
||||
},
|
||||
{
|
||||
"frequencymax" : 20,
|
||||
"id" : 10,
|
||||
"name" : "oscillatealpha",
|
||||
"scalemin" : 0.69999999999999996
|
||||
},
|
||||
{
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0.69999999999999996
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.0070000000745058062,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"id" : 12,
|
||||
"name" : "particles/presets/emberglow_small.json"
|
||||
}
|
||||
],
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"distancemax" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom"
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 50,
|
||||
"min" : 20,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 218 108",
|
||||
"min" : "251 124 23",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.5,
|
||||
"scale" : 0.10000000000000001
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/ember_small.json",
|
||||
"maxcount" : 40,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"mask" : "1 0 0",
|
||||
"name" : "turbulence",
|
||||
"phasemax" : 5,
|
||||
"scale" : 0.0019999999776482581,
|
||||
"speedmax" : 150,
|
||||
"speedmin" : 100
|
||||
},
|
||||
{
|
||||
"frequencymax" : 20,
|
||||
"frequencymin" : 5,
|
||||
"id" : 10,
|
||||
"name" : "oscillatealpha",
|
||||
"scalemin" : 0.20000000000000001
|
||||
},
|
||||
{
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0.5
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.0070000000745058062,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0 0",
|
||||
"distancemax" : "200 256 0",
|
||||
"id" : 6,
|
||||
"name" : "boxrandom",
|
||||
"rate" : 1
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 2000,
|
||||
"min" : 1000,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 221 155",
|
||||
"min" : "255 196 175",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"exponent" : 2,
|
||||
"id" : 5,
|
||||
"max" : 0.20000000000000001,
|
||||
"min" : 0.10000000000000001,
|
||||
"name" : "alpharandom"
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/emberglow.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"distancemax" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"rate" : 1
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 1000,
|
||||
"min" : 500,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 221 155",
|
||||
"min" : "255 196 175",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"exponent" : 2,
|
||||
"id" : 5,
|
||||
"max" : 0.20000000000000001,
|
||||
"min" : 0.10000000000000001,
|
||||
"name" : "alpharandom"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.10000000000000001,
|
||||
"scale" : 0.29999999999999999,
|
||||
"speedmax" : 50,
|
||||
"speedmin" : 0
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/emberglow_small.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
64
modules/wallpaper-engine/presets/ember/preset.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_ember_title",
|
||||
"description" : "ui_editor_preset_ember_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "ui_editor_preset_variant_large",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "ui_editor_preset_variant_small",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "preview_large/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ember",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/ember.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/ember.json",
|
||||
"materials/presets/emberglow.json",
|
||||
"particles/presets/ember.json",
|
||||
"particles/presets/emberglow.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "preview_small/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ember small",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/ember_small.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/ember_small.json",
|
||||
"materials/presets/emberglow_small.json",
|
||||
"particles/presets/ember_small.json",
|
||||
"particles/presets/emberglow_small.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "effectpreview" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clampuvs" : true,
|
||||
"format" : "rgba8888",
|
||||
"nomip" : true,
|
||||
"nonpoweroftwo" : true
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 KiB |
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo_2" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"passes": [{
|
||||
"shader": "genericparticle",
|
||||
"depthtest": "disabled",
|
||||
"depthwrite": "disabled",
|
||||
"blending": "additive",
|
||||
"cullmode": "nocull",
|
||||
"textures": ["particle/halo"]
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/effectpreview.json"
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"id" : 12,
|
||||
"name" : "particles/presets/emberglow.json"
|
||||
}
|
||||
],
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0.1 0",
|
||||
"distancemax" : "512 256 0",
|
||||
"id" : 6,
|
||||
"name" : "boxrandom",
|
||||
"rate" : 10
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 200,
|
||||
"min" : 50,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 218 108",
|
||||
"min" : "255 143 102",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.5,
|
||||
"scale" : 0.10000000000000001
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/ember.json",
|
||||
"maxcount" : 40,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"mask" : "1 0 0",
|
||||
"name" : "turbulence",
|
||||
"phasemax" : 5,
|
||||
"scale" : 0.0019999999776482581,
|
||||
"speedmax" : 150,
|
||||
"speedmin" : 100
|
||||
},
|
||||
{
|
||||
"frequencymax" : 20,
|
||||
"id" : 10,
|
||||
"name" : "oscillatealpha",
|
||||
"scalemin" : 0.69999999999999996
|
||||
},
|
||||
{
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0.69999999999999996
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.0070000000745058062,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 0 0",
|
||||
"distancemax" : "200 256 0",
|
||||
"id" : 6,
|
||||
"name" : "boxrandom",
|
||||
"rate" : 1
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 2000,
|
||||
"min" : 1000,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 221 155",
|
||||
"min" : "255 196 175",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"exponent" : 2,
|
||||
"id" : 5,
|
||||
"max" : 0.20000000000000001,
|
||||
"min" : 0.10000000000000001,
|
||||
"name" : "alpharandom"
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/emberglow.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_ember_title",
|
||||
"description" : "ui_editor_preset_ember_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
//"preview" : "preview/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Rain",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/ember.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/ember.json",
|
||||
"materials/presets/emberglow.json",
|
||||
"particles/presets/ember.json",
|
||||
"particles/presets/emberglow.json"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"title" : "preview"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"id" : 29,
|
||||
"image" : null,
|
||||
"model" : null,
|
||||
"name" : "Rain",
|
||||
"origin" : "110.971 2.479 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : "particles/presets/ember.json",
|
||||
"particlesrc" : null,
|
||||
"scale" : "0.324 0.324 1.000"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview",
|
||||
"type": "scene2d"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "effectpreview" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clampuvs" : true,
|
||||
"format" : "rgba8888",
|
||||
"nomip" : true,
|
||||
"nonpoweroftwo" : true
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 KiB |
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" : {},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/halo_2" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"passes": [{
|
||||
"shader": "genericparticle",
|
||||
"depthtest": "disabled",
|
||||
"depthwrite": "disabled",
|
||||
"blending": "additive",
|
||||
"cullmode": "nocull",
|
||||
"textures": ["particle/halo"]
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/effectpreview.json"
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"id" : 12,
|
||||
"name" : "particles/presets/emberglow_small.json"
|
||||
}
|
||||
],
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"distancemax" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom"
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 50,
|
||||
"min" : 20,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 218 108",
|
||||
"min" : "251 124 23",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.5,
|
||||
"scale" : 0.10000000000000001
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/ember_small.json",
|
||||
"maxcount" : 40,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.10000000000000001,
|
||||
"fadeouttime" : 1,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"mask" : "1 0 0",
|
||||
"name" : "turbulence",
|
||||
"phasemax" : 5,
|
||||
"scale" : 0.0019999999776482581,
|
||||
"speedmax" : 150,
|
||||
"speedmin" : 100
|
||||
},
|
||||
{
|
||||
"frequencymax" : 20,
|
||||
"frequencymin" : 5,
|
||||
"id" : 10,
|
||||
"name" : "oscillatealpha",
|
||||
"scalemin" : 0.20000000000000001
|
||||
},
|
||||
{
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0.5
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"length" : 0.0070000000745058062,
|
||||
"name" : "spritetrail"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"children" : null,
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"distancemax" : 32,
|
||||
"id" : 6,
|
||||
"name" : "sphererandom",
|
||||
"rate" : 1
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 5,
|
||||
"min" : 3,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 1000,
|
||||
"min" : 500,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"max" : "255 221 155",
|
||||
"min" : "255 196 175",
|
||||
"name" : "colorrandom"
|
||||
},
|
||||
{
|
||||
"exponent" : 2,
|
||||
"id" : 5,
|
||||
"max" : 0.20000000000000001,
|
||||
"min" : 0.10000000000000001,
|
||||
"name" : "alpharandom"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"offset" : -0.10000000000000001,
|
||||
"scale" : 0.29999999999999999,
|
||||
"speedmax" : 50,
|
||||
"speedmin" : 0
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/emberglow_small.json",
|
||||
"maxcount" : 500,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 7,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0.5,
|
||||
"id" : 8,
|
||||
"name" : "alphafade"
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"starttime" : 3
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_ember_title",
|
||||
"description" : "ui_editor_preset_ember_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"options" :
|
||||
{
|
||||
"droplistVisible" : true,
|
||||
"droplistOptions" :
|
||||
[
|
||||
{
|
||||
"label" : "ui_editor_preset_variant_large",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"label" : "ui_editor_preset_variant_small",
|
||||
"value" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"variants" :
|
||||
[
|
||||
{
|
||||
"preview" : "preview_large/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ember",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/ember.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/ember.json",
|
||||
"materials/presets/emberglow.json",
|
||||
"particles/presets/ember.json",
|
||||
"particles/presets/emberglow.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"preview" : "preview_small/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"name" : "Ember small",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"particle" : "particles/presets/ember_small.json",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/ember_small.json",
|
||||
"materials/presets/emberglow_small.json",
|
||||
"particles/presets/ember_small.json",
|
||||
"particles/presets/emberglow_small.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"title" : "preview_small"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"id" : 25,
|
||||
"image" : null,
|
||||
"model" : null,
|
||||
"name" : "Ember small",
|
||||
"origin" : "126.869 -1.058 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"particle" : "particles/presets/ember_small.json",
|
||||
"particlesrc" : null,
|
||||
"scale" : "0.478 0.478 1.000"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview",
|
||||
"type": "scene2d"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "presets/fern1" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 598 KiB |
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/presets/fern1.json"
|
||||
}
|
||||
45
modules/wallpaper-engine/presets/fern/preset.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"name" : "ui_editor_preset_foliage_title",
|
||||
"description" : "ui_editor_preset_foliage_description",
|
||||
"tag" : "scene2d",
|
||||
"group" : "preset",
|
||||
"preview" : "preview/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"name" : "Fern",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"effects" :
|
||||
[
|
||||
{
|
||||
"file" : "effects/foliagesway/effect.json",
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"Phase" : 0,
|
||||
"Power" : 1.4199999570846558,
|
||||
"Speed" : 2.2699999809265137,
|
||||
"Strength" : 15
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"image" : "models/presets/fern1.json",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/fern1.json",
|
||||
"materials/presets/fern1.tga",
|
||||
"models/presets/fern1.json",
|
||||
{
|
||||
"node" : "effect",
|
||||
"file" : "effects/foliagesway/effect.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name" : "Foliage Sway",
|
||||
"description" : "Sways the object in each corner of the image.",
|
||||
"group" : "geometry",
|
||||
"preview" : "preview/project.json",
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"material" : "materials/effects/foliagesway.json"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/effects/foliagesway.json",
|
||||
"shaders/effects/foliagesway.frag",
|
||||
"shaders/effects/foliagesway.vert"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "effectpreview" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clampuvs" : true,
|
||||
"format" : "rgba8888",
|
||||
"nomip" : true,
|
||||
"nonpoweroftwo" : true
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 KiB |
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"passes": [{
|
||||
"shader": "effects/foliagesway",
|
||||
"blending": "normal",
|
||||
"depthtest": "disabled",
|
||||
"depthwrite": "disabled",
|
||||
"cullmode": "nocull"
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "translucent",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericimage2",
|
||||
"textures" : [ "presets/fern1" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 598 KiB |
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/effectpreview.json"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"autosize" : true,
|
||||
"material" : "materials/presets/fern1.json"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"name" : "Fern",
|
||||
"description" : "A single fern object.",
|
||||
"scene" : "2d",
|
||||
"group" : "preset",
|
||||
//"preview" : "preview/project.json",
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"name" : "Fern",
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"effects" :
|
||||
[
|
||||
{
|
||||
"file" : "effects/foliagesway/effect.json",
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"Phase" : 0,
|
||||
"Power" : 1.4199999570846558,
|
||||
"Speed" : 2.2699999809265137,
|
||||
"Strength" : 15
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"image" : "models/presets/fern1.json",
|
||||
"origin" : "0.000 0.000 0.000",
|
||||
"scale" : "1.000 1.000 1.000"
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
"materials/presets/fern1.json",
|
||||
"materials/presets/fern1.tga",
|
||||
"models/presets/fern1.json",
|
||||
{
|
||||
"node" : "effect",
|
||||
"file" : "effects/foliagesway/effect.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
18
modules/wallpaper-engine/presets/fern/preview/project.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"file" : "scene.json",
|
||||
"general" :
|
||||
{
|
||||
"properties" :
|
||||
{
|
||||
"schemecolor" :
|
||||
{
|
||||
"order" : 0,
|
||||
"text" : "ui_browse_properties_scheme_color",
|
||||
"type" : "color",
|
||||
"value" : "0 0 0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title" : "preview",
|
||||
"type" : "scene"
|
||||
}
|
||||
65
modules/wallpaper-engine/presets/fern/preview/scene.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"camera" :
|
||||
{
|
||||
"center" : "0.000 0.000 -1.000",
|
||||
"eye" : "0.000 0.000 0.000",
|
||||
"up" : "0.000 1.000 0.000"
|
||||
},
|
||||
"general" :
|
||||
{
|
||||
"ambientcolor" : "0.3 0.3 0.3",
|
||||
"bloom" : false,
|
||||
"bloomstrength" : 2,
|
||||
"bloomthreshold" : 0.64999997615814209,
|
||||
"cameraparallax" : false,
|
||||
"cameraparallaxamount" : 0.5,
|
||||
"cameraparallaxdelay" : 0.10000000149011612,
|
||||
"cameraparallaxmouseinfluence" : 0,
|
||||
"camerapreview" : true,
|
||||
"camerashake" : false,
|
||||
"camerashakeamplitude" : 0.5,
|
||||
"camerashakeroughness" : 1,
|
||||
"camerashakespeed" : 3,
|
||||
"clearcolor" : "0.7 0.7 0.7",
|
||||
"orthogonalprojection" :
|
||||
{
|
||||
"height" : 256,
|
||||
"width" : 256
|
||||
},
|
||||
"skylightcolor" : "0.3 0.3 0.3"
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"angles" : "0.000 0.000 0.000",
|
||||
"copybackground" : true,
|
||||
"effects" :
|
||||
[
|
||||
{
|
||||
"file" : "effects/foliagesway/effect.json",
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"Phase" : 0,
|
||||
"Power" : 1.4199999570846558,
|
||||
"Speed" : 2.2699999809265137,
|
||||
"Strength" : 15
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"id" : 18,
|
||||
"image" : "models/presets/fern1.json",
|
||||
"model" : null,
|
||||
"name" : "Fern",
|
||||
"origin" : "128.000 128.000 0.000",
|
||||
"parallaxDepth" : "1.000 1.000",
|
||||
"scale" : "0.477 0.477 1.000",
|
||||
"size" : "299.000 512.000",
|
||||
"visible" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
varying vec2 v_TexCoord;
|
||||
|
||||
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||
|
||||
void main() {
|
||||
gl_FragColor = texSample2D(g_Texture0, v_TexCoord);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
uniform mat4 g_ModelViewProjectionMatrix;
|
||||
uniform float g_Time;
|
||||
|
||||
uniform float g_Speed; // {"material":"Speed","default":1,"range":[0.01, 10]}
|
||||
uniform float g_Strength; // {"material":"Strength","default":100,"range":[0.01, 500]}
|
||||
uniform float g_Phase; // {"material":"Phase","default":0,"range":[0, 6.28]}
|
||||
uniform float g_Power; // {"material":"Power","default":1,"range":[0.01, 2]}
|
||||
uniform vec2 g_DirectionWeights; // {"material":"Direction weights","default":"1 0.2"}
|
||||
uniform vec4 g_CornerWeights; // {"material":"Corner weights","default":"1 1 0 0"}
|
||||
|
||||
attribute vec3 a_Position;
|
||||
attribute vec2 a_TexCoord;
|
||||
|
||||
varying vec2 v_TexCoord;
|
||||
|
||||
void main() {
|
||||
vec3 position = a_Position;
|
||||
|
||||
vec4 sines = g_Phase + g_Speed * g_Time * vec4(1, -0.16161616, 0.0083333, -0.00019841);
|
||||
sines = sin(sines);
|
||||
vec4 csines = 0.4 + g_Phase + g_Speed * g_Time * vec4(-0.5, 0.041666666, -0.0013888889, 0.000024801587);
|
||||
csines = sin(csines);
|
||||
|
||||
sines = pow(abs(sines), g_Power) * sign(sines);
|
||||
csines = pow(abs(csines), g_Power) * sign(csines);
|
||||
|
||||
float weight = saturate(g_CornerWeights.x * (1.0 - a_TexCoord.x) * (1.0 - a_TexCoord.y) +
|
||||
g_CornerWeights.y * (a_TexCoord.x) * (1.0 - a_TexCoord.y) +
|
||||
g_CornerWeights.z * (a_TexCoord.x) * (a_TexCoord.y) +
|
||||
g_CornerWeights.w * (1.0 - a_TexCoord.x) * (a_TexCoord.y));
|
||||
|
||||
position.x += dot(sines, CAST4(1.0)) * g_Strength * weight * g_DirectionWeights.x;
|
||||
position.y += dot(csines, CAST4(1.0)) * g_Strength * weight * g_DirectionWeights.y;
|
||||
|
||||
|
||||
gl_Position = mul(vec4(position, 1.0), g_ModelViewProjectionMatrix);
|
||||
v_TexCoord = a_TexCoord;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "FX Preview",
|
||||
"type": "scene2d"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/fire/fire1" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"ui_editor_properties_overbright" : 1.2999999523162842
|
||||
},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/debris/debris1" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/fire/fire2" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"passes" :
|
||||
[
|
||||
{
|
||||
"blending" : "additive",
|
||||
"combos" : {},
|
||||
"constantshadervalues" :
|
||||
{
|
||||
"ui_editor_properties_overbright" : 1.2999999523162842
|
||||
},
|
||||
"cullmode" : "nocull",
|
||||
"depthtest" : "disabled",
|
||||
"depthwrite" : "disabled",
|
||||
"shader" : "genericparticle",
|
||||
"textures" : [ "particle/debris/debris1" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"animationmode" : null,
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"id" : 13,
|
||||
"name" : "particles/presets/torchembers.json"
|
||||
}
|
||||
],
|
||||
"controlpoint" :
|
||||
[
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 0,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 1,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 2,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 3,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 4,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 5,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 6,
|
||||
"offset" : "0 0 0"
|
||||
},
|
||||
{
|
||||
"flags" : 0,
|
||||
"id" : 7,
|
||||
"offset" : "0 0 0"
|
||||
}
|
||||
],
|
||||
"emitter" :
|
||||
[
|
||||
{
|
||||
"directions" : "1 1 0",
|
||||
"distancemax" : 0,
|
||||
"distancemin" : 0,
|
||||
"id" : 7,
|
||||
"name" : "sphererandom",
|
||||
"origin" : "0 0 0",
|
||||
"rate" : 10
|
||||
}
|
||||
],
|
||||
"flags" : null,
|
||||
"initializer" :
|
||||
[
|
||||
{
|
||||
"id" : 2,
|
||||
"max" : 3,
|
||||
"min" : 2,
|
||||
"name" : "lifetimerandom"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"max" : 350,
|
||||
"min" : 250,
|
||||
"name" : "sizerandom"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"name" : "rotationrandom"
|
||||
},
|
||||
{
|
||||
"id" : 6,
|
||||
"name" : "turbulentvelocityrandom",
|
||||
"phasemax" : 0.10000000149011612,
|
||||
"scale" : 0.20000000000000001,
|
||||
"speedmax" : 120,
|
||||
"speedmin" : 0,
|
||||
"timescale" : 0.20000000000000001
|
||||
}
|
||||
],
|
||||
"material" : "materials/presets/torch.json",
|
||||
"maxcount" : 50,
|
||||
"operator" :
|
||||
[
|
||||
{
|
||||
"gravity" : "0 0 0",
|
||||
"id" : 8,
|
||||
"name" : "movement"
|
||||
},
|
||||
{
|
||||
"fadeintime" : 0,
|
||||
"fadeouttime" : 0.80000000000000004,
|
||||
"id" : 9,
|
||||
"name" : "alphafade"
|
||||
},
|
||||
{
|
||||
"endtime" : 0.80000000000000004,
|
||||
"endvalue" : "1 0 0",
|
||||
"id" : 10,
|
||||
"name" : "colorchange",
|
||||
"startvalue" : "1 0.7490196078431373 0"
|
||||
},
|
||||
{
|
||||
"endtime" : 0.20000000000000001,
|
||||
"endvalue" : 1,
|
||||
"id" : 11,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0,
|
||||
"startvalue" : 0
|
||||
},
|
||||
{
|
||||
"endvalue" : 0.5,
|
||||
"id" : 12,
|
||||
"name" : "sizechange",
|
||||
"starttime" : 0.20000000000000001
|
||||
}
|
||||
],
|
||||
"renderer" :
|
||||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sprite"
|
||||
}
|
||||
],
|
||||
"sequencemultiplier" : null,
|
||||
"starttime" : 1
|
||||
}
|
||||