I pasted my script into the XCode template I found here on these forums. Custom sprites and sounds can be accessed from the /Appname.app/Textures folder, but I've run into a couple important issues.
First of all, all images and text displayed in my app's scene appear blurry, like they have low resolution. It looks perfectly crisp inside the Pythonista app on my phone. Rects, ellipses, lines, and other shapes are nice and crisp as well; it's just text and images that have this problem. Any suggestions on how I can fix this?
Secondly, images do not want to show up in my scene. I've tried using load_image_file() before the scene loads but I receive an error: 'load_image_file' is not defined. I've also tried using that function in the scene's setup() function, but the images don't seem to load. When I try displaying the images, they're just blank white rectangles.
Sound effects and music don't want to play either. This isn't that big of a problem, I think it's just because I need to convert everything to .caf format. The status bar doesn't actually hide, it still shows the text and battery information.
Here are some side-by-side screenshots, one is the XCode project, one is in Pythonista: http://imgur.com/a/hGd8f Should I wait for 1.6 to be released? Will the new template fix the text/image blurriness?
JonB last edited by
can you print out the frame size in both cases?
are you using iPhone with retina? it seems almost like the app version is running in compatibility mode.
Yes, I'm using an iPhone 5C 8.3 with Retina display.
Both say the output size is 320.0 by 568.0.
Here is the game I want to release. If a solution can't be found I'm going to have to remake the game completely in another engine.