Skip to content

Error in README 'Adding a container' #14

@1bengardner

Description

@1bengardner

This Issue is about an error in the example.
game.add.nineSlice(100, 100, 'my-image', 200, 50);

This call requires an additional argument for the frame of the image with the given key.

The correct way of creating a nineslice image can be seen in the example:
game.add.nineSlice(5, 5, 'image', null, 48, 48);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions