i placed my image in the actor, and it works fine on the GS preview. When I test it on the GS viewer on my device though it comes out as a white box. Anyone know what this could be?
I remember seeing a couple threads about this, on iphone 4 sometimes the images have a box aroudn them, or come out white. Just search the threads for this and youll find something that will help I remember one of the threasd firemaple had a fix for it, i dont reemeber if that was for the box around it or white image though.
in order for games to work correctly on the iphone 4, you need to make your images twice the size than they are on stage, and turn on resolution independance . try that and see if thats the problem
in order for games to work correctly on the iphone 4, you need to make your images twice the size than they are on stage, and turn on resolution independance . try that and see if thats the problem
I don't know where your getting that from, but I don't think thats true. Just because a game doesn't support retina display graphics doesn't mean that the graphics wont show on an iphone 4
Ok, so I tried checking RI and the graphics now show, but I didn't have to double their size. The only problem is, why would I want RI checked if my game doesn't even support retina display graphics? So is there any other solutions without having to check resolution independence?
@ajblue, I don't get what you mean. I'm not supporting retina display because I want to stay under the 20mb limit. Just because I am testing on an iPhone that doesent mean I need retina display graphics. You can use low red graphics, they will just not look as good on an iPhone 4. Please explain what you mean.
@Arton: I had the same problem, and what I did to resolve it was I deleted the actor from the scene, and the image itself, reuploaded it, and dropped it into the scene again.
Seemed to solve the problem. Not sure why the image was turning up white as it was within the size requirements and all, and it only happened once to me as well.
Did anyone solve this one? My game had been working fine for ages, no image problems at all.
Now suddenly my speech bubble images, which are showing up fine on the GS preview, are blank white rectangles on both a 2nd gen ipod and iphone 4 using GS viewer.
I have changed the code to make it easier though: change image to "MyImage"..attribute..".png" I hope that's not the problem as its much better than creating multiple rules with an image change behaviour in each one.
Deleting and re-adding the images hasn't worked either.
Hmm, ok. Mine are only around 100x80. Been searching around the forum, still not found an answer. I hate it when these seemingly random oddities occur...!
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
shaz said: Did anyone solve this one? My game had been working fine for ages, no image problems at all.
Now suddenly my speech bubble images, which are showing up fine on the GS preview, are blank white rectangles on both a 2nd gen ipod and iphone 4 using GS viewer.
I have changed the code to make it easier though: change image to "MyImage"..attribute..".png" I hope that's not the problem as its much better than creating multiple rules with an image change behaviour in each one.
Deleting and re-adding the images hasn't worked either.
Your images must be named exactly how the Rules calls for them. its even case sensitive so Myimage.png is different from myimage.png That is generally the problem when there is a white box on device and its visible in normal preview
Comments
@Ajblue, RI is unchecked, actor and image are both 100x100
in order for games to work correctly on the iphone 4, you need to make your images twice the size than they are on stage, and turn on resolution independance . try that and see if thats the problem
i was just saying its possible that your getting that bug because of it. if you can figure it out submit the bug to gamesalad maybe they can help you
Thanks
Any other help is appreciated as well
Seemed to solve the problem. Not sure why the image was turning up white as it was within the size requirements and all, and it only happened once to me as well.
Let me know if this helps
Now suddenly my speech bubble images, which are showing up fine on the GS preview, are blank white rectangles on both a 2nd gen ipod and iphone 4 using GS viewer.
I have changed the code to make it easier though: change image to "MyImage"..attribute..".png"
I hope that's not the problem as its much better than creating multiple rules with an image change behaviour in each one.
Deleting and re-adding the images hasn't worked either.
Thanks for the help tenrdrmer