File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * @since 3.0.0
44 *
55 * @property {string } [key] - The key that the animation will be associated with. i.e. sprite.animations.play(key)
6- * @property {Phaser.Types.Animations.AnimationFrame[] } [frames] - An object containing data used to generate the frames for the animation
6+ * @property {Phaser.Types.Animations.AnimationFrame[] } [frames] - An object containing data used to generate the frames for the animation.
77 * @property {string } [defaultTextureKey=null] - The key of the texture all frames of the animation will use. Can be overridden on a per frame basis.
88 * @property {integer } [frameRate] - The frame rate of playback in frames per second (default 24 if duration is null)
99 * @property {integer } [duration] - How long the animation should play for in milliseconds. If not given its derived from frameRate.
Original file line number Diff line number Diff line change 22 * @typedef {object } Phaser.Types.Animations.AnimationFrame
33 * @since 3.0.0
44 *
5- * @property {string } key - The key that the animation will be associated with. i.e. sprite.animations.play(key)
6- * @property {(string|number) } frame - The key, or index number, of the frame within the animation .
5+ * @property {string } key - The key of the texture within the Texture Manager to use for this Animation Frame.
6+ * @property {(string|number) } [ frame] - The key, or index number, of the frame within the texture to use for this Animation Frame .
77 * @property {number } [duration=0] - The duration, in ms, of this frame of the animation.
88 * @property {boolean } [visible] - Should the parent Game Object be visible during this frame of the animation?
99 */
You can’t perform that action at this time.
0 commit comments