Frame
Class: Phaser.Frame
Constructor
new Frame(index, x, y, width, height, name)
A Frame is a single frame of an animation and is part of a FrameData collection.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of this Frame within the FrameData set it is being added to. |
x | number | X position of the frame within the texture image. |
y | number | 登录查看完整内容
|