Physics and Graphics factory
- to create object definition that aren't attached to the engine yet
- the game engine can do all the tracking & cleaning up
The "world" object is responsible for world sizes, conversions, etc
fixed graphics factory pixels sizes
player = new entity system
+ playing with the ball size
slowly deprecating old "track" method
in favour of "addEntity" which also attached the entity to the stages & physics world
physics engine relies on the world for sizes
refactored time to look like all other modules
removed old text file
Graphics factory can create tiles
Fixed game loop (rendering was 1 step behind)
Troubleshooting the PIXI sprite anchor reset
A good lead on the resetting anchors
Kick-off has 3, 2, 1 countdown (console.log -> needs to be on screen text)
Graphics factory: text elements
Graphics factory: font size
Ball initial position (should be set by the kick-off state?)
Prototypal entities
Text is also an entity
Bit of cleanup