Skip to content

Implement 'tick' event #8

Open
Open
@premasagar

Description

@premasagar

Provide a "tick" event to each creature, say, with the number of milliseconds since the world started. This allows animations to remain consistent as the number of creatures increases, and prevents each creature implementing it's own setTimeout / requestAnimationFrame blocks, which will hit performance.

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