loading from Iphone path.
by Ecliptic · in iTorque 2D · 06/30/2009 (4:37 pm) · 5 replies
I was curious if anyone has loaded images or what not from the an IPhone path. I am currently working on making an image picker for ITGB and I got everything responding to ITGB. After the image picker comes up and you select/edit your image it saves to the documents directory. So if I can figure out how to pull from that directory, or tell it to save to the application directory, I can make a thread with all my code.
Just thinking out loud right now as I am working on other things. If anyone has anything they can contribute I would appreciate it. I will be working on this later tonight and when ever it is complete I will make a post.
Thanks guys
Ecliptic
Just thinking out loud right now as I am working on other things. If anyone has anything they can contribute I would appreciate it. I will be working on this later tonight and when ever it is complete I will make a post.
Thanks guys
Ecliptic
#2
Thats it.. No files along that path.. Just the xml. So where is the ITGB data being stored. ..? I can get the image picker to save images to that path above, but I can't find out what path to give ITGB to retrieve it.
Any ideas?
06/30/2009 (7:54 pm)
I geuss I am slightly confused to where our applications are launching from. When you go into the simulators documents directory, I see our folder but it has no images or files in them. In my case it shows...Library/ApplicationSupport/EclipticEntertainment/<GameName>/Common/CommonConfig.xml
Thats it.. No files along that path.. Just the xml. So where is the ITGB data being stored. ..? I can get the image picker to save images to that path above, but I can't find out what path to give ITGB to retrieve it.
Any ideas?
#3
06/30/2009 (7:55 pm)
there is a thread on where to store and retrieve data on the iphone including corresponding obj c code to retrieve the path
#4
Thanks
Ecliptic
07/01/2009 (7:23 am)
Thanks a million Marc.. I have been gone for about a month or so taking a break from the development of my game. This wasn't there when I last left so it is great to see that in my absence someone else went bald figuring this out :). Well this is great, now I have some more stuff to work with and hopefully tonight I can start a thread on setting up the Imagepicker.. If it isn't started already :P.Thanks
Ecliptic
#5
07/01/2009 (1:48 pm)
with the image picker you will just have to realize one thing: textures need to be power of 2, optimally square and must be smaller than 1024x1024, anything else requires processing
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft