Home | History | Annotate | Download | only in particles
      1 {
      2    "MaxCount": 800,
      3    "Duration": 4,
      4    "Rate": 120,
      5    "Life": {
      6       "Input": {
      7          "Source": "Age",
      8          "TileMode": "Repeat",
      9          "Left": 0,
     10          "Right": 1
     11       },
     12       "XValues": [],
     13       "Segments": [
     14          {
     15             "Type": "Constant",
     16             "Ranged": true,
     17             "Bidirectional": false,
     18             "A0": 2,
     19             "A1": 3
     20          }
     21       ]
     22    },
     23    "Drawable": {
     24       "Type": "SkCircleDrawable",
     25       "Radius": 2
     26    },
     27    "Spawn": [
     28       {
     29          "Type": "SkLinearVelocityAffector",
     30          "Enabled": true,
     31          "Force": false,
     32          "Frame": "World",
     33          "Angle": {
     34             "Input": {
     35                "Source": "Age",
     36                "TileMode": "Repeat",
     37                "Left": 0,
     38                "Right": 1
     39             },
     40             "XValues": [],
     41             "Segments": [
     42                {
     43                   "Type": "Linear",
     44                   "Ranged": false,
     45                   "Bidirectional": false,
     46                   "A0": 0,
     47                   "D0": 1080
     48                }
     49             ]
     50          },
     51          "Strength": {
     52             "Input": {
     53                "Source": "Age",
     54                "TileMode": "Repeat",
     55                "Left": 0,
     56                "Right": 1
     57             },
     58             "XValues": [],
     59             "Segments": [
     60                {
     61                   "Type": "Constant",
     62                   "Ranged": true,
     63                   "Bidirectional": false,
     64                   "A0": 50,
     65                   "A1": 60
     66                }
     67             ]
     68          }
     69       }
     70    ],
     71    "Update": [
     72       {
     73          "Type": "SkSizeAffector",
     74          "Enabled": true,
     75          "Curve": {
     76             "Input": {
     77                "Source": "Age",
     78                "TileMode": "Repeat",
     79                "Left": 0,
     80                "Right": 1
     81             },
     82             "XValues": [],
     83             "Segments": [
     84                {
     85                   "Type": "Linear",
     86                   "Ranged": false,
     87                   "Bidirectional": false,
     88                   "A0": 0.5,
     89                   "D0": 2
     90                }
     91             ]
     92          }
     93       },
     94       {
     95          "Type": "SkColorAffector",
     96          "Enabled": true,
     97          "Curve": {
     98             "Input": {
     99                "Source": "Age",
    100                "TileMode": "Repeat",
    101                "Left": 0,
    102                "Right": 1
    103             },
    104             "XValues": [],
    105             "Segments": [
    106                {
    107                   "Type": "Linear",
    108                   "Ranged": true,
    109                   "A0": [ 0.0999616, 0.140218, 0.784314, 1 ],
    110                   "D0": [ 0.523837, 0.886396, 0.980392, 1 ],
    111                   "A1": [ 0.378665, 0.121107, 0.705882, 1 ],
    112                   "D1": [ 0.934257, 0.229599, 0.955882, 1 ]
    113                }
    114             ]
    115          }
    116       }
    117    ]
    118 }