Hi everyone,
I’m building an app using SpriteLoq (porting from flash) and using Director Class for the scene management. The problem is in the loq_util module, who forces the use of [declare](http://www.loqheart.com/spriteloq/apidocs/grouploq util.html) function to manage globals variables. So, when the spriteloq library is required, all global variables are not available.
¿Any suggestion?
Thanks.
Javier Perez. [import]uid: 27825 topic_id: 10676 reply_id: 310676[/import]
You can disable that by editing loq_util.lua. Comment out the setmetatable call at the end of the file and comment out the contents of the declare function. I haven’t tested this, but I believe you’ll be able to call globals then.
I’ve updated loq_util and the other modules so forced declaration of globals is no longer a requirement but an option, (set loq_DeclareGlobals = true before including any part of the library).