Skip to content

PicoES v0.2.6

Compare
Choose a tag to compare
@ayebear ayebear released this 24 May 01:46
· 167 commits to master since this release
  • Calling world.initialize() will now pass arguments to initialize.
  • Calling world.run() will now pass arguments to pre, post, and the end of every, after the entity parameter.
  • Added optional onCreate method to components, which gets called when the component is created. The first parameter is the parent entity.
  • Added "get" method to world, which returns an array of matching entities.
  • Simplified every() method, got rid of "this" hacks by using "bind".