Home | History | Annotate | Download | only in particles
      1 {
      2    "MaxCount": 32,
      3    "Duration": 1,
      4    "Rate": 0.5,
      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": 20
     19          }
     20       ]
     21    },
     22    "Drawable": {
     23       "Type": "SkImageDrawable",
     24       "Path": "resources/images/baby_tux.png",
     25       "Columns": 1,
     26       "Rows": 1
     27    },
     28    "Spawn": [
     29       {
     30          "Type": "SkLinearVelocityAffector",
     31          "Enabled": true,
     32          "Force": false,
     33          "Frame": "World",
     34          "Angle": {
     35             "Input": {
     36                "Source": "Age",
     37                "TileMode": "Repeat",
     38                "Left": 0,
     39                "Right": 1
     40             },
     41             "XValues": [],
     42             "Segments": [
     43                {
     44                   "Type": "Constant",
     45                   "Ranged": true,
     46                   "Bidirectional": false,
     47                   "A0": 10,
     48                   "A1": 70
     49                }
     50             ]
     51          },
     52          "Strength": {
     53             "Input": {
     54                "Source": "Age",
     55                "TileMode": "Repeat",
     56                "Left": 0,
     57                "Right": 1
     58             },
     59             "XValues": [],
     60             "Segments": [
     61                {
     62                   "Type": "Constant",
     63                   "Ranged": true,
     64                   "Bidirectional": false,
     65                   "A0": 140,
     66                   "A1": 200
     67                }
     68             ]
     69          }
     70       }
     71    ],
     72    "Update": [
     73       {
     74          "Type": "SkLinearVelocityAffector",
     75          "Enabled": true,
     76          "Force": true,
     77          "Frame": "World",
     78          "Angle": {
     79             "Input": {
     80                "Source": "Age",
     81                "TileMode": "Repeat",
     82                "Left": 0,
     83                "Right": 1
     84             },
     85             "XValues": [],
     86             "Segments": [
     87                {
     88                   "Type": "Constant",
     89                   "Ranged": false,
     90                   "Bidirectional": false,
     91                   "A0": 180
     92                }
     93             ]
     94          },
     95          "Strength": {
     96             "Input": {
     97                "Source": "Age",
     98                "TileMode": "Repeat",
     99                "Left": 0,
    100                "Right": 1
    101             },
    102             "XValues": [],
    103             "Segments": [
    104                {
    105                   "Type": "Constant",
    106                   "Ranged": false,
    107                   "Bidirectional": false,
    108                   "A0": 50
    109                }
    110             ]
    111          }
    112       },
    113       {
    114          "Type": "SkOrientationAffector",
    115          "Enabled": true,
    116          "Frame": "Velocity",
    117          "Angle": {
    118             "Input": {
    119                "Source": "Age",
    120                "TileMode": "Repeat",
    121                "Left": 0,
    122                "Right": 1
    123             },
    124             "XValues": [],
    125             "Segments": [
    126                {
    127                   "Type": "Constant",
    128                   "Ranged": false,
    129                   "Bidirectional": false,
    130                   "A0": 0
    131                }
    132             ]
    133          }
    134       }
    135    ]
    136 }