Home | History | Annotate | Download | only in particles
      1 {
      2    "MaxCount": 4096,
      3    "Duration": 1,
      4    "Rate": 30,
      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": false,
     17             "Bidirectional": false,
     18             "A0": 10
     19          }
     20       ]
     21    },
     22    "Drawable": {
     23       "Type": "SkCircleDrawable",
     24       "Radius": 1
     25    },
     26    "Spawn": [
     27       {
     28          "Type": "SkLinearVelocityAffector",
     29          "Enabled": true,
     30          "Force": false,
     31          "Frame": "World",
     32          "Angle": {
     33             "Input": {
     34                "Source": "Age",
     35                "TileMode": "Repeat",
     36                "Left": 0,
     37                "Right": 1
     38             },
     39             "XValues": [],
     40             "Segments": [
     41                {
     42                   "Type": "Constant",
     43                   "Ranged": true,
     44                   "Bidirectional": false,
     45                   "A0": 170,
     46                   "A1": 190
     47                }
     48             ]
     49          },
     50          "Strength": {
     51             "Input": {
     52                "Source": "Age",
     53                "TileMode": "Repeat",
     54                "Left": 0,
     55                "Right": 1
     56             },
     57             "XValues": [],
     58             "Segments": [
     59                {
     60                   "Type": "Constant",
     61                   "Ranged": true,
     62                   "Bidirectional": false,
     63                   "A0": 10,
     64                   "A1": 30
     65                }
     66             ]
     67          }
     68       },
     69       {
     70          "Type": "SkPositionOnPathAffector",
     71          "Enabled": true,
     72          "Input": {
     73             "Source": "Random",
     74             "TileMode": "Clamp",
     75             "Left": 0,
     76             "Right": 1
     77          },
     78          "SetHeading": false,
     79          "Path": "h500"
     80       }
     81    ],
     82    "Update": [
     83       {
     84          "Type": "SkSizeAffector",
     85          "Enabled": true,
     86          "Curve": {
     87             "Input": {
     88                "Source": "Age",
     89                "TileMode": "Repeat",
     90                "Left": 0,
     91                "Right": 1
     92             },
     93             "XValues": [],
     94             "Segments": [
     95                {
     96                   "Type": "Cubic",
     97                   "Ranged": true,
     98                   "Bidirectional": false,
     99                   "A0": 10,
    100                   "B0": 10,
    101                   "C0": 10,
    102                   "D0": 0,
    103                   "A1": 10,
    104                   "B1": 0,
    105                   "C1": 0,
    106                   "D1": 0
    107                }
    108             ]
    109          }
    110       }
    111    ]
    112 }