omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    XCode Projects

    Pythonista
    2
    4
    2745
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Shambhala
      Shambhala last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • JonB
        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.

        1 Reply Last reply Reply Quote 0
        • Shambhala
          Shambhala last edited by

          Yes, I'm using an iPhone 5C 8.3 with Retina display.

          Both say the output size is 320.0 by 568.0.

          1 Reply Last reply Reply Quote 0
          • Shambhala
            Shambhala last edited by

            https://www.youtube.com/watch?v=OH13Yihkc6k

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors