Newbie question - I loaded up an example that starts with:
Img_knob - display.newImage("knob.png")
and I get the error about 'attempt to index global 'display' (a nil value). I understand that this is because my version of Lua doesn't have the 'display' library? (it works fine in Corona).
If that's the right guess, where do I find, and how to I load up the library.
Thanks!
Comments
display is a library that is available in C*SDK, for a quick look at how to start with Gideros, there was a tutorial I had written a while ago.
You can read it here http://howto.oz-apps.com/2011/11/options-to-create-mobile-apps.html
I am also working on a compatibility library (between my projects) that will allow you to just compile your C*SDK code with Gideros without any changes, but that will take a bit and not available now.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Anyway, here is a tiny example on how to load an image and display it in the center of your canvas: