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