Hi
Has anyone come up with a tutorial on writing a basic plugin?
I understand how you add native function to LUA and whatnot, I just can't wrap my head around what and when things should be added.
For instance, I want to test a plugin with the button sample. So I export the button app.
1) In xcode what am I including; all the SDK/include files and the plugin file and that's it?
2) Do I need to create a new target and compile the plugin and include it with the button app.
I've attempted 1) and put in an NSlog on the gamekit authenticate function in hopes to see lua calling it, but no luck.
I have storekit functions I've used for other apps that I'd like to convert to a plugin, just need to take that first baby step.
Comments
For the gamekit authenticate function, try this:
You can make changes to the Lua code and re-run from Gideros Studio, without having to exit the Xcode one.
I've been having Xcode open on the left, and Gideros Studio on the right, with both debug consoles showing.
And you need beta #7 for the gamekit to be included in GiderosiPhonePlayer. You shouldn't have to do anything on the Xcode end, except run the app. (I think)