Phaser API Documentation

  Version: 
ImageFrameConfig
Properties:
name type arguments description
frameWidth number

The width of the frame in pixels.

frameHeight number <optional>

The height of the frame in pixels. Uses the frameWidth value if not provided.

startFrame number <optional>

The first frame to start parsing from.

endFrame number <optional>

The frame to stop parsing at. If not provided it will calculate the value based on the image and frame dimensions.

margin number <optional>

The margin in the image. This is the space around the edge of the frames.

spacing number <optional>

The spacing between each frame in the image.

Type:
object