Skip to content

Timer with very short delay #5863

Closed
Closed
@rexrainbow

Description

@rexrainbow

Version

  • Phaser Version: 3.60-beta.1 , or prevoius
  • Operating system: win10
  • Browser: Chrome, firefox

Description

In the test,

  • delay is set to 1 (1 ms)
  • repeat is set to 499, therefore timer will run 500 times
  • This timer will be stopped after 500 ms

The callback will count the times of time-out, and shown at a text game object.
I will expected that the counter will be 500 after 600ms.
It is because that callback only invoked one time in each tick. In a very short delay case, callback will be invoked many times, imo.

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