Create a new Like2D game instance attached to a DOM container.
This is the entry point for all Like2D games. It creates a canvas element, initializes all subsystems (graphics, audio, input), and returns an object where you can assign game callbacks.
The HTML element to attach the game canvas to.
A Like instance ready for callback assignment
Create a new Like2D game instance attached to a DOM container.
This is the entry point for all Like2D games. It creates a canvas element, initializes all subsystems (graphics, audio, input), and returns an object where you can assign game callbacks.