EndGate
EndGate copied to clipboard
TypeScript powered game framework
This used to be used to handle how the Graphic2d would draw to the canvas but now with the new Pixi.js dependency (#95) everything is handled at the Pixi.js layer.
With the new Pixi.js dependency (#95) Graphic2d's will no longer need to have their draw method called directly. It'll be handled by the underlying Pixi object.
This can be used internally to increase performance of how objects are ordered but can also be used for external users to know when an object has moved on the...
With the new Pixi.js dependency (#95) Shadows are no longer trivial due to the fact that they'd have to be implemented in webGl. May re-add this later on.
These classes are no longer needed since there will be a dependency on Pixi.js (#95)
This will greatly improve performance and ultimately allow for WebGL with canvas fallback to occur.
If there are multiple child elements of a Graphic2d who's ZIndexes are different from the order in which they're added to the graphic2d when they are then removed from the...
MovementControllers should take in an object of settings, one of them should be whether or not to not rotate the moveables.
This will allow for a nicer API when determining if an object is in view of the camera. The current way to do this is to check the draw bounds...
While maintaining aspect ratio and canvas size automatically fit the canvas to the containing window