Skip to content

Releases: sz-piotr/rook-ecs

v0.13.0

14 Aug 07:07
Compare
Choose a tag to compare

Changes

  • gameClock now prevents too many updates occurring after a lot of dropped frames.

v0.12.2

13 Aug 09:17
Compare
Choose a tag to compare

Changes

  • Events are now ordered using a priority queue. Higher priority gets processed faster
  • world.emit supports a second argument that is the priority. It defaults to zero

v0.12.1

13 Aug 09:16
Compare
Choose a tag to compare

Changes

  • Fixed a bug where events are a LIFO instead of FIFO
  • Fixed a bug where UpdateTick wouldn't be emitted on the first run

v0.12.0

13 Aug 09:11
Compare
Choose a tag to compare

Changes

  • New component API
    • Components are no longer classes, just simple string ids
    • Use the component function to create type-safe ids
    • Entity methods have been updated accordingly
  • New system api
    • Events are now passed as a second parameter
    • Use the system function to limit a system to a specific event
  • New world api
    • add has been renamed to create. It no longer has arguments
    • Outside and async calls have to be wrapped in world.run

v0.11.1

13 Aug 09:06
Compare
Choose a tag to compare

Changes

  • Add queryOne method

v0.11.0

13 Aug 09:05
Compare
Choose a tag to compare

Commits

  • Bump version to 0.11.0
  • Update readme
  • Remove docs
  • Fix typo
  • Add tests for entity-manager
  • Add tests for system
  • Force components to have a type field
  • change PhisicsTick
  • Normalize file names
  • Update config
  • More API changes
  • Remove additional typing from Entity
  • Add EntityManager
  • Huge overhaul
  • add index to math

v0.10.0-beta

13 Aug 09:05
Compare
Choose a tag to compare

Commits

  • Spring cleaning
  • add event subscriptions
  • cover systems with tests
  • cover Entity with tests
  • cover Events with tests
  • cover Query with tests
  • remove hasAny, add selector argument test
  • test the math package exports
  • remove unnecessary semicolons
  • add clamp
  • Vector2 angles
  • add lerp
  • complete vector tests
  • add math package and reconfigure typings
  • add incomplete Vector2 tests
  • basic Vector2 implementation

v0.9.0-beta

13 Aug 09:04
Compare
Choose a tag to compare

Commits

  • change .npmignore to package.files
  • change build process to support multiple directories and tree shaking
  • remove build artifacts
  • move all sources to src/core
  • update the event model
  • change events
  • update dependencies
  • update css
  • update spacing in entity.md
  • add system docs, change systems types
  • complete API reference for entity
  • add basis of Api Reference

Simpler typescript definitions

21 May 20:41
Compare
Choose a tag to compare

Use dts-bundle-generator for a single file with typescript definitions.

Export World from the package.

Exports fix

21 May 18:42
Compare
Choose a tag to compare

Fix library not exporting IterativeSystem.