realthx1/jecs_kernel_roblox

Collection of schedules and plugins for the jecs_kernel package and Roblox.

jecs_kernel_roblox

Collection of schedules and plugins for the jecs_kernel package and Roblox.

This packages contains utilities that make jecs_kernel setup in Roblox easier and faster.

License: MIT pesde


Installation

Using pesde:

pesde add realthx1/channels -t roblox

Usage

  • /examples/quickstart.luau - simple example which showcases the essentials.
  • Public API - Use a language server to see doc comments. All public code is documented.

For jecs_kernel's usage, refer to its own examples and code documentation.

Contents

  • Default schedules and SchedulesPlugin for their setup.
  • Default app runner for the schedules.

Schedule Order

Startup schedules are ran once at app run.

  • PreStartup
  • Startup
  • PostStartup

Update schedules are ran at every RunService heartbeat.

  • First
  • PreUpdate
  • Update
  • PostUpdate
  • Last

Additionally, between the PreUpdate and Update schedule a set of fixed timestep schedules are ran 0 or more times.

  • FixedFirst
  • FixedPreUpdate
  • FixedUpdate
  • FixedPostUpdate
  • FixedLast

Each RunService event has its own schedule. Heartbeat event schedule is an alias to the Update schedule.

  • PreAnimation
  • PreSimulation
  • PostSimulation
  • Heartbeat
  • PreRender (only runs on client)