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.
Scene game inside ui scrollView?
-
I am trying to have a scene animation inside a ui scrollview, but it doesn't work for some reason. I have a custom view (named sceneView) with the custom view class SceneView. This is in the sub view of a scrollview (named scrollView). I cannot set a scene animation to the sceneView, this is my code:
v = ui.load_view('ui.pyui') v['sceneView'].scene= MyScene() v.present('fullscreen', hide_title_bar=False)
Any idea why this isnt working?
-
If your scene is a subview to a scrolview, it won't be directly addressable from the root scene.
v['scrollview1']['sceneview1']
Should work, depending on what you named things..