Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Polar Coordinates in a Stars! Universe
Polar Coordinates in a Stars! Universe Mon, 27 November 2006 12:20 Go to next message
donjon is currently offline donjon

 
Lt. Commander

Messages: 808
Registered: November 2002
Location: Benque Viejo del Carmen, ...

Hiya People,

3d graphics is a bit of a stretch for a turn-based game... nice thought... but it still boils down to about the same thing Smile

However,

A bubble may work Smile
Imagine a map wrapped on the surface of a bubble, the bubble's radius being a constant... say 100 ly then the area of the bubble's surface is 4*pi*10000=124000 ly squared (which is roughly the same size as a tiny universe (400*400ly)

Similarily,
A small (800*800ly) could have a bubble radius of 225ly
A medium (1200*1200ly) could have a radius of 340ly
A large (1600*1600ly) could have a radius of 450ly
A huge (2000*2000ly) could have a radius of 560ly
A huge(5) (2500*2500ly) could have a radius of 700ly
A huge(6) (3000*3000ly) could have a radius of 850ly

Now, in terms of correspondence to the xy... the only extra variable which would have to be held by the host and player file is the radius... why?

We can use the spherical coordinate system which would be stored in the x(phi) and y(theta) locs of the map plus the radius (rho) from the host/player file. (some transformation would need to take place to allow the coordinates to be interpreted from 0-2pi which should be relatively simple.

What are the advantages?
Well, now there are no corners and no edges... which solves one big problem with stars! strategy right now.

Another interesting fact is that the point of view could be different for each player...

Consider, a hw has a 100ly scanner based on his world... right now we see 100% of the universe... yes, we don't know the makeup of the planets but we do know their rough configuration so we can plot from turn 1 a recurse of the universe using a scout (if we wanted to)...

Under the spherical map, a players scan could be set as the stars that can be seen within the scan, as the scouts move out our view of the universe gets bigger.

This framework would allow for larger and smaller universes (although the advantage for a very tiny universe say 30ly radius I cannot see)

regards,
donjon

Report message to a moderator

Re: Polar Coordinates in a Stars! Universe Mon, 27 November 2006 21:40 Go to previous message
Coyote is currently offline Coyote

 
Lt. Commander

Messages: 906
Registered: November 2002
Location: Pacific NW

Sounds good to me. I don't have any say, though. Going insane

Report message to a moderator

Previous Topic: Idea: Automating MM
Next Topic: Idea: Diplomacy Pane
Goto Forum:
  


Current Time: Fri May 03 11:31:51 EDT 2024