Works on Windows and Mac simulators but not on the device.

I wrote a program that loads a picture and then allows you to select an oval shaped part of it and then cut it, store that cut in the device and then you can use it in a game. It works by applying a mask over the picture and allowing the user to modifiy the mask's position, rotation and scales. When you tap the button "cut" the program saves that image with the mask applied and saves the mask properties at that time too. Later, if you choose that cut from the "faces" selection screen (cuts are meant to be faces) you go to an object throwing game where you throw that face (the program loads the saved image and applies a mask with the saved properties).

Problem is that this works perfectly fine on Windows and Mac simulators, but when testing on device I get odd results. When I go to the faces selection screen the cuts look awful, showing just a tiny part of the masked image and the rest just black. My device is an iPod 4 and i've been testing with the simulator in iPhone 4 mode so it should work fine and it's not. This seems to be a bug... or am I doing something wrong?

What settings do you have in your config.lua file?

views:1427 update:2011/10/28 9:34:19
corona forums © 2003-2011