Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

Engine.loadScene Method

Loads the prepared components in the layers that are contained within the current scene.

Parameters

Name Description
callback The function to invoke when the scene has been loaded.

Remarks

Loading the scene consists of loading all registered layers and the entities registered to them.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.