Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (788)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (863)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Info about using GPS coordinates?  (Read 2318 times)
0 Members and 1 Guest are viewing this topic.
Offline Sistinas

Junior Newbie

« Posted 2013-10-29 18:00:35 »

This may seem like a trivial question, but are there any games that use GPS coordinates like what we have here on Earth? What I am thinking about doing is a game with two planets in close proximity that are warring, but using GPS points to attack. I can see this being coded into the game the old fashioned way, but are there any small libraries that already have something useful coded in them? I have tried google searching and looking here briefly, I may have overlooked something but interested to see if anyone has any feedback... I am also interested in finding some people somewhat close-by the panhandle of Florida who might be looking to form a group of programmers/game artists.
Offline nerb
« Reply #1 - Posted 2013-10-29 23:48:43 »

I'm not sure if there are any existing libraries that would suit your purpose, at least gaming wise. There could possibly be some GIS/mapping libraries that may help out, such as GeoTools (, but I've got a sneaking suspicion they may be more complex & over-the-top than what you need.

It's not clear from your original post exactly how you want to implement this. If you just want to use global/spherical coords (lat/long), then you could easily implement this yourself, providing you have a solid understanding of geometry.

If on the other hand you want to use a custom map grid (for example, to produce 6 figure grid references), then you'll probably need to jump into the world of mapping projections, and the joys of making spherical objects appear flat and square, which in itself can become quite complex.


EDIT: Re-reading your original post, I was probably teaching you to suck eggs with the last part of my post. Sounds like you already you already have an idea how you'll implement it yourself if you don't find a library. Sorry about that!
Offline CommanderKeith
« Reply #2 - Posted 2013-10-30 05:13:47 »

There are some big communities in the geo-location field. I receive email from the JTS (java topology suite) mailing list and they have lots of smart people who do stuff with maps and lat-long coords. Try googling around and you'll find some API's and communities who are interested in this.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Sistinas

Junior Newbie

« Reply #3 - Posted 2013-10-30 13:44:33 »

Thanks for the info guys... I realized last night that instead of searching, searching, searching, reading docs, downloading libraries that I might only use a fraction of, I might as well just code something up myself. I don't know why even for the smallest details I try to look for existing code when it's so much fun reinventing wheels in java. Thanks again.
Pages: [1]
  ignore  |  Print  

hadezbladez (2208 views)
2018-11-16 13:46:03

hadezbladez (829 views)
2018-11-16 13:41:33

hadezbladez (2163 views)
2018-11-16 13:35:35

hadezbladez (432 views)
2018-11-16 13:32:03

EgonOlsen (3468 views)
2018-06-10 19:43:48

EgonOlsen (3705 views)
2018-06-10 19:43:44

EgonOlsen (2282 views)
2018-06-10 19:43:20

DesertCoockie (3019 views)
2018-05-13 18:23:11

nelsongames (3092 views)
2018-04-24 18:15:36

nelsongames (3909 views)
2018-04-24 18:14:32
Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!