Home | History | Annotate | Download | only in particles
      1 {
      2    "MaxCount": 4096,
      3    "Duration": 1,
      4    "Rate": 1000,
      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": 1,
     19             "A1": 3
     20          }
     21       ]
     22    },
     23    "Drawable": {
     24       "Type": "SkCircleDrawable",
     25       "Radius": 1
     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": "Constant",
     44                   "Ranged": true,
     45                   "Bidirectional": false,
     46                   "A0": -30,
     47                   "A1": 30
     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": 10,
     65                   "A1": 30
     66                }
     67             ]
     68          }
     69       },
     70       {
     71          "Type": "SkPositionOnTextAffector",
     72          "Enabled": true,
     73          "Input": {
     74             "Source": "Random",
     75             "TileMode": "Clamp",
     76             "Left": 0,
     77             "Right": 1
     78          },
     79          "SetHeading": true,
     80          "Text": "SKIA",
     81          "FontSize": 96
     82       }
     83    ],
     84    "Update": [
     85       {
     86          "Type": "SkColorAffector",
     87          "Enabled": true,
     88          "Curve": {
     89             "Input": {
     90                "Source": "Age",
     91                "TileMode": "Repeat",
     92                "Left": 0,
     93                "Right": 1
     94             },
     95             "XValues": [],
     96             "Segments": [
     97                {
     98                   "Type": "Linear",
     99                   "Ranged": false,
    100                   "A0": [ 1, 0.196078, 0.0784314, 1 ],
    101                   "D0": [ 1, 0.784314, 0.0784314, 1 ]
    102                }
    103             ]
    104          }
    105       }
    106    ]
    107 }