Core Module

Matt Karl edited this page Sep 28, 2015 · 3 revisions

The main framework module (or "core") is required for including before any other modules. The core provides shared methods and services which other modules can use.


  • Loading of assets
  • Providing updates
  • Manages different displays (multiple canvases)
  • Managing page visibility to pause/resume application
  • Debugging
  • Saving session data
  • Managing browser cache
  • Event dispatching functionality
  • namespace and include functions


  • PreloadJS Required for external loading of assets. Works with a variety of file-types like JSON, images, JavaScript, Sounds.


In order to use the Core module, make sure to include the module's JavaScript file within your springroll.json project file under libraries and librariesDebug.

"libraries": [
"librariesDebug": [