3d76d1bf46
Bug: skia: Change-Id: Ie6485a11bb57fecef470d727dcf3b4fe5dff0b90 Reviewed-on: https://skia-review.googlesource.com/c/195582 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
100 lines
2.2 KiB
JSON
100 lines
2.2 KiB
JSON
{
|
|
"MaxCount": 32,
|
|
"Duration": 1,
|
|
"Rate": 0.5,
|
|
"Life": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 20
|
|
}
|
|
]
|
|
},
|
|
"Drawable": {
|
|
"Type": "SkImageDrawable",
|
|
"Path": "images/baby_tux.png",
|
|
"Columns": 1,
|
|
"Rows": 1
|
|
},
|
|
"Spawn": [
|
|
{
|
|
"Type": "SkLinearVelocityAffector",
|
|
"Enabled": true,
|
|
"Force": false,
|
|
"Frame": "World",
|
|
"Angle": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": true,
|
|
"Bidirectional": false,
|
|
"A0": 10,
|
|
"A1": 70
|
|
}
|
|
]
|
|
},
|
|
"Strength": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": true,
|
|
"Bidirectional": false,
|
|
"A0": 140,
|
|
"A1": 200
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"Update": [
|
|
{
|
|
"Type": "SkLinearVelocityAffector",
|
|
"Enabled": true,
|
|
"Force": true,
|
|
"Frame": "World",
|
|
"Angle": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 180
|
|
}
|
|
]
|
|
},
|
|
"Strength": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 50
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Type": "SkOrientationAffector",
|
|
"Enabled": true,
|
|
"Frame": "Velocity",
|
|
"Angle": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |