Forum Archive

Feature request?

Jpmawesome

Pythonista is a great app, no question. However, there are obvious lackings to attend to.
1. No support of camera or accelerometer.
2. Difficult to navigate code (take inspiration from Codea. They have great navigation.
3. No useful documents -yes, there are docs, but they're indexes. You need well written, user-friendly documents that are easy enough for a beginner and complex enough for an expert.
4. No 3D support- this is a biggie
5. No physics engine- again, look at Codea.
6. Not very many examples- a good game and maybe something really cool, perhaps a web browser.

I hope you read this and realize the flaws and try to improve them. Sorry if this sounds negative, but I'm just trying to suggest some features. I really like this app and python is my proffered language.

 -anonymous person :)
ccc

photos.capture_image()

Show a standard camera interface and return the captured image.

webbrowser.open(url[, modal=False, stop_when_done=False])

Display url in an in-app browser

Items 3 and 6 on your list could be provided by the community instead of by the application author.

bashedcrab

Also checkout scene.gravity() for accelerometer access.

If you want to build a 3D app, then Pythonista isn't currently the right tool. Have a look at Unity3D. It is even scriptable with boo (which is basically python).

As far as physics engines go - you could look at using pynewt. I don't know anything about it though. I can certainly see the appeal of having a 2D rigid body dynamics engine in Pythonista, though. That could certainly make short work of making some types of games. I generally do very simple physics in my games, without trying to do a realistic simulation.

Next version of Pythonista will very likely have numpy, which would actually make building said rigid body dynamics engine a little easier - I might have a go at it myself.

Jpmawesome

Thank you, I just found the camera, browser, and accelerometer tools. I'll try to look into numpy. One of my main points was navigation. Codea has a side by side navigational ui that's very useful.

Jpmawesome

Also, do you know of an app where you can make 3D games or even 3D model on ios? Is there a way to import new modules not already in pythonista into it?

ccc

The Codea AirCode video got me interested...

Would it be possible to enter values on a webpage that could remotely change a running Pythonista app?

The answer is yes. See remote_control_scene which uses a bottle server running in Pythonista to allow you to remotely change the color of a running scene.Scene. It would be cool to extend this idea to something that is closer to AirCode.