Skip to content

Script Systems & Components #244

Open
@makspll

Description

@makspll

The idea of using scripts as systems, i.e. having a script declare functions which act like systems, with specific dependencies on the world, and scheduling them in such a way that they can access the world safely

  • Dynamic world access system

  • Handler resources should have interior mutability at bms_core level, so systems can run in parallel if they access different scripts

  • Reflecting schedules and systems, querying the ordering

  • Dynamically injecting systems into bevy schedule safely

  • Injected systems to specify access ahead of time, and dynamic systems are parallelizable against other systems

  • Multi threading scripts not necessary

  • Command - Deferred versions of the WorldGuard bindings (i.e. insert_component_deferred + better warnings if aliasing is broken, geared towards script authors who might not know rust)

  • Allow specifying read/write access in script builder as an optional argument as well as for queries

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions