Download Latest Version v2.0.0 source code.tar.gz (33.4 kB)
Email in envelope

Get an email when there's a new version of PECS

Home / v2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
pecs.lua 2022-04-19 5.0 kB
README.md 2022-04-19 996 Bytes
v2.0.0 source code.tar.gz 2022-04-19 33.4 kB
v2.0.0 source code.zip 2022-04-19 34.2 kB
Totals: 4 Items   73.6 kB 2

2.0.0

Major Changes

  • 9c26ecf: Renames most methods of the PECS api to be single word lowercase. This greatly increases the usability when coding in the PICO-8 editor (inspired by @josiebb's changes in [#1] - thanks!):

  • createECSworld() -> pecs()

  • .createComponent() -> .component()
  • .createEntity() -> .entity()
  • .createSystem() -> .system()
  • .createQuery() -> .query()
  • .removeEntity() -> .remove()

  • 9c26ecf: Remove pecs-lite.lua. PECS "lite" reduced the token count by removing queries & system susport. However, this effectively neuters the library, making it fairly pointless. Therefore, I've removed the "lite" version completely, which also makes maintenance easier for me.

Minor Changes

  • 9c26ecf: Reduce token count by 9 to 567 (thanks @josiebb!)
Source: README.md, updated 2022-04-19