Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Random thoughts... GPS?

Maebius

Knight
Xy$
0.00
With the ability to "technically" use any javascript in a plugin, I wonder, has anyone pondered the various libraries that utilize mobile GPS interfaces to make some sort of game. (aka: inspired by things like Ingress/ Pokémon GO/ etc)

I'm no programmer, and still struggling through the basics of Eventing and Map-making and such, but since my demo game thingy can be accessed via my friend's mobile device browsers, I wondered.. Hmm, should be theoretically possible.
You folks with more JS experience... thoughts? ;)

I figure, with the w3CGeolocation API, it's quite do-able... maybe?
http://www.w3.org/TR/geolocation-API/
 
Last edited:

eivl

Local Hero
Xy$
0.00
You would need to hook up cordovas device handler.

But what would you want to use it for? Gps data is not relevant when you do not have a map to use it on.
 

Maebius

Knight
Xy$
0.00
You would need to hook up cordovas device handler.
But what would you want to use it for? Gps data is not relevant when you do not have a map to use it on.
raw GPS data could still be useful to create something useful. A friend did that with raw data for a programming project in school. No map needed, as they initialized the location, then required the person to "move at least a mile away" to succeed in the given task. (was not a game, was just sample GPS data and use it somehow.) Simple, and I figure -could- be useful, or not. I'm not technical enough to know the guts of the methods, but "you moved from here to there" might be a potentially interesting Dynamic.. maybe... Sort of Game-ify moving around to train up your main actor's Strength? or Agility. or harvest-chance of rare herbs.. or...

Thus my question, since Creativity could probably have lots of uses, not necessarily "traditional GPS mapping" utility.
 

Maebius

Knight
Xy$
0.00
Yep, in general, it's around 5m, though overall, I've noticed that it can get pretty tight, within a meter or two in open clear areas, compared between three different devices, using the same coordinates. :)
I'm a huge Geocaching fan, and is one of my favorite things about using mobile GPS.
Treasure hunting in the real world! :D
 

eivl

Local Hero
Xy$
0.00
within a meter or two in open clear areas
not sure that is even possible, I am not disregarding it, since I know nothing about geocaching IRL, but i remember vaguely a physics class where we calculated the best possible GPS signal... Maybe there has been a change in how it works.
[doublepost=1446813650,1446813437][/doublepost]I checked.. satelites are accurate to about 10 nano seconds, this translate to a minimum accuracy of 3 m, that is when everything is perfect.
 
Top