Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (534)
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 629 times)
0 Members and 1 Guest are viewing this topic.
Offline Sistinas

Junior Newbie





« Posted 2013-10-29 19: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-30 00: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 (www.geotools.org), 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.

Cheers,
nerb.

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 06:13:47 »

Hi,
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.
Cheers,
Keith

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 14: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  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (35 views)
2014-07-24 01:59:36

Riven (33 views)
2014-07-23 21:16:32

Riven (21 views)
2014-07-23 21:07:15

Riven (24 views)
2014-07-23 20:56:16

ctomni231 (55 views)
2014-07-18 06:55:21

Zero Volt (47 views)
2014-07-17 23:47:54

danieldean (38 views)
2014-07-17 23:41:23

MustardPeter (43 views)
2014-07-16 23:30:00

Cero (59 views)
2014-07-16 00:42:17

Riven (56 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!