Log inGet started
Package

projectileKit.package

README.md

projectileKit.Runner

Ticks the projectile loop once a frame while the game runs. projectileKit.api spawns one Runner on a local, temporary entity the first time anything is fired, so a world never adds it by hand.

Behaviour

  • update(dt) calls projectileKit.api.step(dt), which moves every live shot and fires its hit/arrive/expire callbacks.
  • onDestroy() calls projectileKit.api.clear(true), removing every shot and the pooled render entities.

Public fields

None (public = {}).