omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Shambhala
    3. Posts

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 36
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Shambhala

    • XCode Projects

      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?

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: XCode Projects

      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.

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: XCode Projects

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

      Both say the output size is 320.0 by 568.0.

      posted in Pythonista
      Shambhala
      Shambhala
    • Let me hear about your current projects!

      What are you guys currently working on/developing? It doesn't have to be finished, or even working yet! I just want to know what you guys are making 😁

      My current side project is a drag-and-drop game maker: http://i.imgur.com/cffDdGq.jpg I'm making it for a learning experience and for fun, I don't know if I'll ever finish it.

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Sceneview is frozen when presenting another UI View

      Adding it as a subview and bringing it to the front ALMOST works.

      Each time I close the view by swiping down with 2 fingers, it shifts downward a little bit. So the next time it opens, everything is slightly farther down than it was before. How can I fix this small bug?

      EDIT: Nevermind, that only happened with ScrollView() not View()

      posted in Pythonista
      Shambhala
      Shambhala
    • Sceneview is frozen when presenting another UI View

      When I present a different UI View over a SceneView, the scene becomes frozen and unresponsive. How do I resume the scene?

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Sceneview is frozen when presenting another UI View

      I'm not having any luck setting SceneView.paused to False. I need some kind of workaround

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Sceneview is frozen when presenting another UI View

      Here is a simple example to show what I mean: https://gist.github.com/5a762c22d4f4037a8f0e

      posted in Pythonista
      Shambhala
      Shambhala
    • Ads in a Scene?

      Is there a way (or a hack) to support advertisements in a scene class? I want to show a banner ad at the top or bottom of the screen, how would I go about doing this?

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Ads in a Scene?

      @techteej Yeah, that's what I expected. How do I do it in Objective-C?

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Ads in a Scene?

      Is it possible to put a banner ad over a standalone app in XCode?

      posted in Pythonista
      Shambhala
      Shambhala
    • Need help with ads

      I need to find a way to put ads (iAd, Admob, etc) in a standalone app made with Pythonista. Can someone help me out? It can be in XCode, Pythonista, or some other thing, as long as I can get banner ads working in a Scene.

      I imagine it would require some Objective-C programming in XCode so I can use iAd banners, but I know nothing about Obj-C. Can someone point me in the right direction? Is there a way to show the ads above the Pythonista view or something? Please help 🙏

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Need help with ads

      Bump. I still haven't made any progress. I'll have to learn Objective-C some day but I can't right now, because I'm busy learning C# lol. So I think there's a special UIViewController class called PythonistaAppViewController. I've included the iAd.framework and now I just need to know how to place an ADBannerView on top of PythonistaAppViewController. 💀 wat do

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Cacti Killer is now available in the App Store!

      @techteej Have you gotten GameCenter to work? :o

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Need help with ads

      I don't know how to get this to work: http://codewithchris.com/iad-tutorial - Not only are there a ton of errors (even when I replace ViewController with PythonistaAppViewController), but the app also fails to build with the message "Linker failed" or something like that. Where do I put in the required Obj-C code??? This is killing me!

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Let me hear about your current projects!

      @Dann That looks amazing

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Let me hear about your current projects!

      @Sebastion Wow I want this!

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Let me hear about your current projects!

      @techteej Awesome, Cloud Jump is great! The Pythonista Tools group is mainly for completed projects, but I'm just curious about everybody's WIP/"just-for-fun" programs.

      posted in Pythonista
      Shambhala
      Shambhala
    • Bottom of Scene tap delay in standalone app

      When the app first loads, it starts the console: http://i.imgur.com/qc1JgR0.jpg

      As you can see, there is a section at the bottom of the screen. When the Scene begins, there is a slight delay when trying to tap in that area, even though the app isn't even at the console screen... it's running a Scene.

      Tapping that section while running a scene causes a slight tap delay that is a big issue in my game. Is there a way to fix this?

      posted in Pythonista
      Shambhala
      Shambhala
    • RE: Untitled

      I right-clicked the "Textures" folder in XCode, then clicked "Open in finder...", then copied the files I wanted into it.

      posted in Pythonista
      Shambhala
      Shambhala