Hi!
I'm looking at prototyping with Ren'py to build a VN game on mobile that uses social media and phone GPS features (Like using it with Kivy), is this possible? Is there a way to connect to databases like MySQL for data as well? I'm a newbie in Python dev, but I've done development on Meteor.js, so I'm just looking at possibilities at the moment. Thanks for you help
Renpy on Mobile and using GPS data
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Renpy on Mobile and using GPS data
There's no direct support for location data, but you can probably use pyjnius and pyobjus to access such data.
You can't really connect to mysql from a mobile device. What you want to do is to have a web service somewhere, and then use the urllib2 module (or perhaps requests) to connect to your web service and query data. (And note that this can and will fail, so you need to plan for that happening.)
You can't really connect to mysql from a mobile device. What you want to do is to have a web service somewhere, and then use the urllib2 module (or perhaps requests) to connect to your web service and query data. (And note that this can and will fail, so you need to plan for that happening.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users