slick-ui
slick-ui copied to clipboard
phaser object variable name
it appears if you don't spell the phaser object exactly as game and make it global, slick fails to create some components
ReferenceError: game is not defined
at SlickUI.Element.Slider.init (slick-ui.min.js:1)
at SlickUI.Container.Container.add (slick-ui.min.js:1)
at SlickUI.Element.Panel.add (slick-ui.min.js:1)
at Object.create (game.js:22)
line is this.displayGroup=game.add.group();