Game Development Community

Image from URL, Save in App's Documents folder and Display Via Torque Script?

by John Sear · in iTorque 2D · 01/27/2010 (11:48 am) · 22 replies

Is it possible to:

- Get an Image (.png) from a URL - This image will be used in the games Store for In App Purchasing (DONE as a UIImage)

- Save this Image into the App's Documents Folder - Will need to use it at a later date if the user purchases a particular Pack without downloading again.(DONE)

- Use this image in Torque Script? - This is what I'm confused about.

The only way I can think of using the image that i get from the URL is by putting it into a new view in C Code and Displaying that view where I want it.

Is there a way of choosing a different folder other than one in the Resources when creating a ImageMapDatablock?

Thanks.
Page«First 1 2 Next»
#21
09/08/2010 (3:44 am)
Hi Brian,
I must have missed your post earlier. My solution works with the sound files, but I haven't tried loading images.

Glad you solved the problem. :)
#22
07/17/2013 (11:59 pm)
it is easy to load image from url vb.net, haven't tried c# codes. thank you for solving the second and third part for us.
Page«First 1 2 Next»