Dear All,
I want to update my old version corona developed app. I use director class.
I would like to know can I still use director class to handle the scenes update.
Is there any suggestion?
I have the following error message pop-up.
KC
Dear All,
I want to update my old version corona developed app. I use director class.
I would like to know can I still use director class to handle the scenes update.
Is there any suggestion?
I have the following error message pop-up.
KC
Director was never updated to work with the Graphics 2.0 engine that’s now in Corona. You may get it to work if you use the “graphics compatibility mode” but probably the better way to go is to switch to Composer. While the idea behind the two are the same (handle scene switching) they way they go about it is waaay different. Composer is harder. But not so hard that someone who can write code can understand it.
And once you grok Composer it’s smooth sailing after that (with occasional squalls)
Here’s the Composer Guide docs: http://docs.coronalabs.com/guide/system/composer/index.html
Jay
PS - On the other hand, if it’s just an update for something you’re not planning on working with long-term, maybe graphics compatibility mode + Director is all you need. See this post for more info: http://forums.coronalabs.com/topic/50545-any-build-setting-version-suggest-for-director-class/?p=261855
Thanks,
Add the “graphicsCompatibility = 1” to my config.lua it solve my problem.
Also I find if i use sprite in my “graphicsCompatibility = 1” then I need to create a sprite.lua for myself.
For help all you guys here is the the sprite.lua download link in github as well :
https://github.com/coronalabs/framework-sprite-legacy
Thanks again.
KC
Director was never updated to work with the Graphics 2.0 engine that’s now in Corona. You may get it to work if you use the “graphics compatibility mode” but probably the better way to go is to switch to Composer. While the idea behind the two are the same (handle scene switching) they way they go about it is waaay different. Composer is harder. But not so hard that someone who can write code can understand it.
And once you grok Composer it’s smooth sailing after that (with occasional squalls)
Here’s the Composer Guide docs: http://docs.coronalabs.com/guide/system/composer/index.html
Jay
PS - On the other hand, if it’s just an update for something you’re not planning on working with long-term, maybe graphics compatibility mode + Director is all you need. See this post for more info: http://forums.coronalabs.com/topic/50545-any-build-setting-version-suggest-for-director-class/?p=261855
Thanks,
Add the “graphicsCompatibility = 1” to my config.lua it solve my problem.
Also I find if i use sprite in my “graphicsCompatibility = 1” then I need to create a sprite.lua for myself.
For help all you guys here is the the sprite.lua download link in github as well :
https://github.com/coronalabs/framework-sprite-legacy
Thanks again.
KC