Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Full-screen background kills iPhone4 performance

$
0
0
Hi all, in my game I have a main menu scene with an image showing in the background. The image is relatively small, but resized in the editor to fill the entire canvas, whose reference resolution is 768 x 1024, for all iOS aspect ratios. With this setup the menu runs at about 5 fps on an iPhone 4, which becomes 30 fps if the image is disabled. I've made many experiments, but the only other one that works is showing the background in its native size, which is rather useless as it fills only about one third of the screen. I've also tried rescaling the image to full screen size in Photoshop, to avoid in-game scaling, but it didn't have any effect. Importing it as a UI Raw Image instead of Image didn't help either. There are no transparencies in the whole scene. So, I understand that the iPhone 4 has issues with large images, but is there any way to show a full screen image on this device without such a huge performance drop?

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>