Skip to content

Allow custom holdRepeat settings #8

@Geokureli

Description

@Geokureli
  1. Field to set the default holdRepeat initial wait and repeat time for a FlxControl instance
  1. Ability to use any various different values without stomping on each other
    example:
if (controls.holdRepeat.custom(10, 0.1).DOWN) tortoise.x ++; // 10s initial wait, 0.1s repeat
if (controls.holdRepeat.custom( 1, 0.5).DOWN)     hare.x ++; //  1s initial wait, 0.5s repeat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions