kittykatattack / ga

The world's tiniest, cutest and funnest game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rendering own entities

cawoodm opened this issue · comments

commented

Many games require special entities (like backgrounds) which are proceduraly generated and rendered. How does one render one's own graphics to the canvas with Ga?
I think there needs to be some (layered) way of hooking into ga.render() for the engine to allow this.
Indeed, apropos layers, Ga does not seem to care which sprites are at which layer when rendering.