lesser-panda
lesser-panda copied to clipboard
[Deprecated] Module based HTML5 game engine
Idle update is useless and confusing, better remove it since we already have fixed updating process. This will break a lot of APIs though. ## Draft 1. Remove `Game.update`, `System.update`...
Slope tiles have many use cases, and can be even more important than `SATSolver` since we can compose AABB colliders to achieve most cases yet none of them can replace...
Now: ```javascript import SystemGfx from 'engine/gfx'; this.sysGfx.layers.background; ``` After: ```javascript import Gfx from 'engine/gfx' this.gfx.layers.background ```
Pros: 1. Reduce issues caused by typo 2. Less array instances 3. Cleaner events API Cons: 1. Can no longer chain event handlers 2. Breaking tons of things
While objects moves too fast (more than 1 tile per frame), it will simply go through a tile. Add one more step to fix this.
Behavior Tree is a popular AI tech, which looks easy to implemented as a `Behavior`.
The collision shape generation process is too slow when map size is large enough. It might be better to be an option instead of default map collision implementation. So developers...