966348413f
Bug: skia: Change-Id: I499262277ac1c8d92a39a66f6e846e248b102aef Reviewed-on: https://skia-review.googlesource.com/c/skia/+/197767 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"MaxCount": 32,
|
|
"Duration": 1,
|
|
"Rate": 8,
|
|
"Life": {
|
|
"Input": {
|
|
"Source": "Age",
|
|
"TileMode": "Repeat",
|
|
"Left": 0,
|
|
"Right": 1
|
|
},
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": true,
|
|
"Bidirectional": false,
|
|
"A0": 1,
|
|
"A1": 3
|
|
}
|
|
]
|
|
},
|
|
"Drawable": {
|
|
"Type": "SkImageDrawable",
|
|
"Path": "resources/images/explosion_sprites.png",
|
|
"Columns": 4,
|
|
"Rows": 4
|
|
},
|
|
"Spawn": [
|
|
{
|
|
"Type": "SkPositionInCircleAffector",
|
|
"Enabled": true,
|
|
"SetHeading": true,
|
|
"X": {
|
|
"Input": {
|
|
"Source": "Age",
|
|
"TileMode": "Repeat",
|
|
"Left": 0,
|
|
"Right": 1
|
|
},
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0
|
|
}
|
|
]
|
|
},
|
|
"Y": {
|
|
"Input": {
|
|
"Source": "Age",
|
|
"TileMode": "Repeat",
|
|
"Left": 0,
|
|
"Right": 1
|
|
},
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0
|
|
}
|
|
]
|
|
},
|
|
"Radius": {
|
|
"Input": {
|
|
"Source": "Age",
|
|
"TileMode": "Repeat",
|
|
"Left": 0,
|
|
"Right": 1
|
|
},
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 60
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"Update": [
|
|
{
|
|
"Type": "SkPointForceAffector",
|
|
"Enabled": true,
|
|
"Point": { "x": 200, "y": 200 },
|
|
"Constant": 0,
|
|
"InvSquare": -50
|
|
},
|
|
{
|
|
"Type": "SkFrameAffector",
|
|
"Enabled": true,
|
|
"Curve": {
|
|
"Input": {
|
|
"Source": "Age",
|
|
"TileMode": "Repeat",
|
|
"Left": 0,
|
|
"Right": 1
|
|
},
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Linear",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0,
|
|
"D0": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |