Skip to content

Events #5

@giladgray

Description

@giladgray

I'd be remiss to build a JavaScript game engine that doesn't provide first-party support for events. The question is how to nicely integrate events and event-driven systems into the linear tick-tick world of a game engine. And how deep do we want to go?

Systems become event emitters and listeners.
pocket.system(...).on 'level:win', (args) ->

Are there component events? Maybe for changing properties. But this could get very slow.

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