Logically this should work, as the textures that are available in the resource directory should be available, however can images that are not added to the project but downloaded from the internet (or created dynamically as could be via render2Texture) be used to load them using the Bitmap.new?
Can put that to rest by trying it out, but if anyone has an idea, please chime in...
Comments
Likes: OZApps
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
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
Make sure you're passing a valid image file (in a supported format) to Texture.new or it'll barf/crash. e.g. Facebook sometimes return profile pics as .gif files which aren't supported by Texture.new(), so I check image headers and ignore gifs:
Likes: OZApps