I am developing an app (IOS to begin with) that uses the camera. For this purpose I have a couple of questions:
- How do I write the camera-image to the app folder at runtime?
- How do I read the image from the app folder and into my game as a CCSprite at runtime?
I have tried different ways and I have something working, but it seems to be very time consuming, and memory consuming while loading from the app folder.
I dont need alpha so that might lightening the load process I suppose?
Could I read/write in pvr format? I have only tried to use JPG.
Thanks in advance for your help