-
Shambhala
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?
-
Shambhala
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.
-
Shambhala
Yes, I'm using an iPhone 5C 8.3 with Retina display.
Both say the output size is 320.0 by 568.0.
-
Shambhala
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.
-
Shambhala
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()
-
Shambhala
When I present a different UI View over a SceneView, the scene becomes frozen and unresponsive. How do I resume the scene?
-
Shambhala
I'm not having any luck setting SceneView.paused to False. I need some kind of workaround
-
Shambhala
Here is a simple example to show what I mean: https://gist.github.com/5a762c22d4f4037a8f0e
-
Shambhala
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?
-
Shambhala
@techteej Yeah, that's what I expected. How do I do it in Objective-C?