Skip to content

Instantly share code, notes, and snippets.

@kg
Created June 10, 2019 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kg/79412f223087151681871f7888794d33 to your computer and use it in GitHub Desktop.
Save kg/79412f223087151681871f7888794d33 to your computer and use it in GitHub Desktop.
{
"NamedVariables": {
"Velocity.Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Bezier": {
"Mode": 513,
"Count": 2,
"MinValue": 0.0,
"MaxValue": 7.549999,
"A": "-36.10164, -67.20737, 0",
"B": "37.97836, -67.20737, 0",
"C": "0, 0, 0",
"D": "0, 0, 0"
},
"BezierType": "Squared.Illuminant.Bezier3"
},
"Sparks.Rate": {
"ValueType": "System.Single",
"Bezier": {
"Mode": 514,
"Count": 4,
"MinValue": 0.0,
"MaxValue": 9.619999,
"A": 14.7000046,
"B": 0.999994755,
"C": 120.100006,
"D": 135.1
},
"BezierType": "Squared.Illuminant.BezierF"
},
"var1": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "0, 0, 0, 0"
},
"var2": {
"ValueType": "System.Single",
"Constant": 0.0
}
},
"Systems": [
{
"Name": "Sparks",
"UpdateOrder": 3,
"DrawOrder": 1,
"BlendState": {
"MultiSampleMask": -1,
"BlendFactor": "255,255,255,255",
"ColorWriteChannels3": 15,
"ColorWriteChannels2": 15,
"ColorWriteChannels1": 15,
"ColorWriteChannels": 15,
"AlphaBlendFunction": 0,
"AlphaDestinationBlend": 0,
"AlphaSourceBlend": 4,
"ColorBlendFunction": 0,
"ColorDestinationBlend": 0,
"ColorSourceBlend": 4,
"Tag": null,
"Name": "BlendState.Additive"
},
"Configuration": {
"Appearance": {
"Texture": {
"Name": null
},
"OffsetPx": "0, 0",
"SizePx": null,
"AnimationRate": "0, 0",
"Rounded": true,
"RoundingPowerFromLife": {
"Mode": 0,
"Count": 1,
"MinValue": 0.0,
"MaxValue": 1.0,
"A": 0.4399991,
"B": 0.0,
"C": 0.0,
"D": 0.0
},
"Bilinear": true,
"RelativeSize": true,
"RowFromVelocity": false,
"ColumnFromVelocity": false
},
"Color": {
"Global": "1, 1, 1, 1",
"ColorFromVelocity": null,
"LifeRamp": null,
"OpacityFromLife": null,
"FromLife": {
"Mode": 0,
"Count": 4,
"MinValue": 0.0,
"MaxValue": 70.72,
"A": "0.24, 0.1200001, 0, 1",
"B": "0.5200002, 0.22, -0.01, 1",
"C": "0.7600003, 0.6600002, 1.043081E-07, 1",
"D": "1, 0.9399998, 0.6600001, 1.000001"
}
},
"Size": "3.419999, 2.059999",
"SizeFromLife": null,
"SizeFromVelocity": null,
"LifeDecayPerSecond": 98.0,
"Collision": {
"Distance": 0.33,
"LifePenalty": 0.0,
"EscapeVelocity": 128.0,
"BounceVelocityMultiplier": 0.0
},
"MaximumVelocity": 9999.0,
"Friction": 0.9000001,
"ZToY": 0.0,
"RotationFromVelocity": true,
"RotationFromLife": 0.0,
"RotationFromIndex": 0.0,
"SortedReadback": true
},
"Transforms": [
{
"Name": "",
"Type": "Squared.Illuminant.Particles.Transforms.Spawner, Illuminant, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
"UpdateOrder": 0,
"Properties": {
"MinRate": {
"Type": "Squared.Illuminant.Configuration.Parameter`1[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]",
"Value": {
"ValueType": "System.Single",
"Name": "Sparks.Rate"
}
},
"MaxRate": {
"Type": "Squared.Illuminant.Configuration.Parameter`1[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]",
"Value": {
"ValueType": "System.Single",
"Name": "Sparks.Rate"
}
},
"Life": {
"Type": "Squared.Illuminant.Formula1",
"Value": {
"Constant": {
"ValueType": "System.Single",
"Constant": 73.0
},
"RandomScale": {
"ValueType": "System.Single",
"Constant": 0.0
},
"Offset": {
"ValueType": "System.Single",
"Constant": 0.0
}
}
},
"Position": {
"Type": "Squared.Illuminant.Formula3",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "1.28566, 2.015545, 0"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "4.449998, 4.4, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, 0, 0"
},
"Type": 1
}
},
"Velocity": {
"Type": "Squared.Illuminant.Formula3",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Name": "Velocity.Constant"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "16.47093, 29.08356, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, 0, 0"
},
"Type": 2
}
},
"Color": {
"Type": "Squared.Illuminant.Formula4",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "1, 1, 1, 1"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "0, 0, 0, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "0, 0, 0, 0"
}
}
}
}
}
],
"AdditiveBlend": true
},
{
"Name": "Smoke",
"UpdateOrder": 0,
"DrawOrder": 0,
"BlendState": {
"MultiSampleMask": -1,
"BlendFactor": "255,255,255,255",
"ColorWriteChannels3": 15,
"ColorWriteChannels2": 15,
"ColorWriteChannels1": 15,
"ColorWriteChannels": 15,
"AlphaBlendFunction": 0,
"AlphaDestinationBlend": 5,
"AlphaSourceBlend": 0,
"ColorBlendFunction": 0,
"ColorDestinationBlend": 5,
"ColorSourceBlend": 0,
"Tag": null,
"Name": "BlendState.AlphaBlend"
},
"Configuration": {
"Appearance": {
"Texture": {
"Name": "C:\\Users\\Katelyn\\Desktop\\particle demo\\puff.png"
},
"OffsetPx": "0, 0",
"SizePx": null,
"AnimationRate": "0, 0",
"Rounded": false,
"RoundingPowerFromLife": {
"Mode": 0,
"Count": 1,
"MinValue": 0.0,
"MaxValue": 1.0,
"A": 0.5000003,
"B": 0.0,
"C": 0.0,
"D": 0.0
},
"Bilinear": true,
"RelativeSize": false,
"RowFromVelocity": false,
"ColumnFromVelocity": false
},
"Color": {
"Global": "1, 1, 1, 1",
"ColorFromVelocity": null,
"LifeRamp": null,
"OpacityFromLife": null,
"FromLife": {
"Mode": 0,
"Count": 3,
"MinValue": 100.62,
"MaxValue": 3.11999917,
"A": "0.5800001, 0.5600001, 0.4800002, 0.4400004",
"B": "0.42, 0.24, 0.1, 0.2600001",
"C": "0.1400005, 0.06000012, 0.02000003, 1.490116E-07",
"D": "0, 0, 0, 0"
}
},
"Size": "1, 1",
"SizeFromLife": {
"Mode": 0,
"Count": 2,
"MinValue": 128.0,
"MaxValue": 0.0,
"A": 0.5600024,
"B": 15.2000008,
"C": 0.0,
"D": 0.0
},
"SizeFromVelocity": null,
"LifeDecayPerSecond": 41.0,
"Collision": {
"Distance": 0.33,
"LifePenalty": 0.0,
"EscapeVelocity": 128.0,
"BounceVelocityMultiplier": 0.0
},
"MaximumVelocity": 9999.0,
"Friction": 0.0,
"ZToY": 0.0,
"RotationFromVelocity": false,
"RotationFromLife": -0.179999992,
"RotationFromIndex": 0.250001222,
"SortedReadback": true
},
"Transforms": [
{
"Name": "",
"Type": "Squared.Illuminant.Particles.Transforms.FeedbackSpawner, Illuminant, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
"UpdateOrder": 0,
"Properties": {
"MinRate": {
"Type": "Squared.Illuminant.Configuration.Parameter`1[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]",
"Value": {
"ValueType": "System.Single",
"Constant": 25.5
}
},
"MaxRate": {
"Type": "Squared.Illuminant.Configuration.Parameter`1[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]",
"Value": {
"ValueType": "System.Single",
"Constant": 32.5
}
},
"Life": {
"Type": "Squared.Illuminant.Formula1",
"Value": {
"Constant": {
"ValueType": "System.Single",
"Constant": 131.0
},
"RandomScale": {
"ValueType": "System.Single",
"Constant": 0.0
},
"Offset": {
"ValueType": "System.Single",
"Constant": 0.0
}
}
},
"Position": {
"Type": "Squared.Illuminant.Formula3",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, 0, 0"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, 0, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, 0, 0"
},
"Type": 1
}
},
"Velocity": {
"Type": "Squared.Illuminant.Formula3",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "0, -15.74, 0"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "5.019998, 0, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "-0.51, 0, 0"
},
"Type": 0
}
},
"Color": {
"Type": "Squared.Illuminant.Formula4",
"Value": {
"Constant": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "1, 1, 1, 1"
},
"RandomScale": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "0, 0, 0, 0"
},
"Offset": {
"ValueType": "Microsoft.Xna.Framework.Vector4",
"Constant": "0, 0, 0, 0"
}
}
},
"SourceSystem": {
"Type": "Squared.Illuminant.Configuration.ParticleSystemReference",
"Value": {
"Index": 0,
"Name": "Sparks"
}
},
"SlidingWindowMargin": {
"Type": "System.Int32",
"Value": 18
},
"AlignPositionConstant": {
"Type": "System.Boolean",
"Value": true
},
"SourceVelocityFactor": {
"Type": "System.Single",
"Value": 0.399999857
},
"InstanceMultiplier": {
"Type": "System.Int32",
"Value": 0
},
"AlphaDiscardThreshold": {
"Type": "System.Single",
"Value": 0.049999997
},
"SlidingWindowSize": {
"Type": "System.Int32",
"Value": 37
},
"MultiplyColorConstant": {
"Type": "System.Boolean",
"Value": false
}
}
}
],
"AdditiveBlend": false
}
],
"UserData": {
"EditorData": {
"FrameRate": null,
"MaximumDeltaTimeMS": 500,
"Background": null,
"BackgroundColor": "56,65,75,255",
"Sprites": [
{
"Texture": {
"Name": "E:\\Documents\\Projects\\ThreesTown\\ThreesTownContent\\bear.png"
},
"Location": {
"ValueType": "Microsoft.Xna.Framework.Vector3",
"Constant": "139.6552, 415.862, 0"
},
"TextureTopLeftPx": null,
"TextureSizePx": null,
"Scale": 1.0
}
],
"Lights": [],
"ChunkSize": 128,
"DrawAsBitmaps": false
},
"ControllerState": {
"Systems": {
"ScrollX": 0,
"ScrollY": 0,
"SelectedIndex": 1
},
"Transforms": {
"ScrollX": 0,
"ScrollY": 0,
"SelectedIndex": 0
},
"Variables": {
"ScrollX": 0,
"ScrollY": 0,
"SelectedIndex": 0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment