forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
32 lines (32 loc) · 965 Bytes
/
Copy pathconfig.json
File metadata and controls
32 lines (32 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
frames: [
{ key: textureKey, frame: textureFrame },
{ key: textureKey, frame: textureFrame, duration: float },
{ key: textureKey, frame: textureFrame, visible: boolean },
{ key: textureKey, frame: textureFrame, onUpdate: function }
],
frameRate: integer,
duration: float (seconds, optional, ignored if frameRate is set),
skipMissedFrames: boolean,
delay: integer,
repeat: integer (-1 = forever),
repeatDelay: integer,
yoyo: boolean,
showOnStart: boolean,
hideOnComplete: boolean,
callbackScope: Object,
onStart: function,
onStartParams: array,
onRepeat: function,
onRepeatParams: array,
onUpdate: function,
onUpdateParams: array,
onComplete: function,
onCompleteParams: array,
transitions: [
{
key: string <- key of the animation to blend with,
frames: [] <- play these frames before starting key
}
]
}