Hello, this should be an easy thing to do, but I am having trouble with it. I am trying to set the position of the loading bar in app.js. Here is my code:
App = function()
{
// this is where the WADE app is initialized
this.init = function()
{
wade.setLoadingImages('loading_blk.jpg');
wade.setLoadingBar(true, 1,140);
// load a scene
wade.loadScene('menu.wsc', true, function()
{
// the scene has been loaded, do something here
});
};
};
The documentation says: {Object} position Optional
An object with x and y fields describing the position in pixels (relative to the screen center) where the loading bar should appear. This is only relevant if the visible parameter is true.
Can anyone tell me what I am doing wrong? Thanks!