This maybe a stupid question, but I just don’t know the answer to it as I’ve only coded in Lua and not Objective-C. But can I code everything in Corona’s Lua format, such as backgrounds, buttons and animations, and then when the users presses the button; a function then is activated which can in turn, then activate another function in Objective-C? Simpler question, Can a button in Lua trigger an action to be done in Objective C? Or are the two platforms separated from interacting with each other.
And yes, there is a situation where this would be needed, such as working with a third party platform as well as the other 2 platforms.
Also, if I’m not mistaken, using Corona Cards does not allow you to play sound since the media library is not available. So would you be able to press a button that creates an animation using corona, then the native objective-c code plays a sound?
Also, if I’m not mistaken, using Corona Cards does not allow you to play sound since the media library is not available. So would you be able to press a button that creates an animation using corona, then the native objective-c code plays a sound?
Following the doc i tested sending message from Obj-C to Lua and it works fine, but cannot manage to get Lua to Obj-C works, not sure if due to missing to set delegate or else? i am not good at Obj-C.
Is it possible to have a sample project to demonstrate this?
Following the doc i tested sending message from Obj-C to Lua and it works fine, but cannot manage to get Lua to Obj-C works, not sure if due to missing to set delegate or else? i am not good at Obj-C.
Is it possible to have a sample project to demonstrate this?