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.
Arcade for Pythonista
-
I’ve just started using Pythonista and I’m still unsure on many of the features. I’m trying to install the arcade module to Pythonista but am unable to do so. If anybody could explain all the steps necessary to get Arcade on Pythonista 3 that would be amazing. Thanks in advance!
-
Arcade depends on pyglet, which depends on pygame, which is mostly written in c. Pythonista is limited to installation of pure python modules (or those which only depend on moudles included with pythonista, like numpy)
Portions of pyglet, like the physics model, might be usable in pythonista with some work to disentangle it from the backend graphics, but it would be pretty complicated to replicate the pyglet graphics stuff using Pythonista scene constructs, or maybe the lower level iOS constructs.
-
Are there any workarounds for this?
-
Theoretically, you could use objc_util /OpenGLES/EAGL to implement the presentation layer of pyglet/pygame. It would be hard, and probably super slow.
I don't believe Pyto has yet included pygame either, despite a few requests. It is open source, so you could go for it, but I'm not sure if there is an iOS SDL library.
-
Are there any other iOS/iPadOS python apps which support the arcade module?
-
I doubt it. l
-
I'm still unsure on many of the features. I'm trying to install the arcade module to Pythonista myfiosgateway.com
mobdro -
You won't be able to install arcade. Pip might say it installed, but it won't work.
Pythonista has its own unique game module called
scene
. You won't be able to reuse code from other engines, though you can translate most of what other simple 2d engines do to something equivalent in scene.@Cethric developed an engine that makes use of iOS OpenGLES, including a basic physics engine:
https://github.com/Cethric/OpenGLES-Pythonista