Click here to Skip to main content
15,897,273 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Working with professional artists... Pin
Nelek22-Apr-17 3:43
protectorNelek22-Apr-17 3:43 
GeneralRe: Working with professional artists... Pin
Ravi Bhavnani22-Apr-17 5:30
professionalRavi Bhavnani22-Apr-17 5:30 
GeneralRe: Working with professional artists... Pin
BillWoodruff22-Apr-17 5:58
professionalBillWoodruff22-Apr-17 5:58 
GeneralTimely Wizard if Id... Pin
OriginalGriff21-Apr-17 19:49
mveOriginalGriff21-Apr-17 19:49 
GeneralOh no, it's broken, Good news, time to find another.. Pin
RossMW21-Apr-17 18:44
professionalRossMW21-Apr-17 18:44 
GeneralRe: Oh no, it's broken, Good news, time to find another.. Pin
CDP180222-Apr-17 2:09
CDP180222-Apr-17 2:09 
GeneralRe: Oh no, it's broken, Good news, time to find another.. Pin
RossMW22-Apr-17 10:39
professionalRossMW22-Apr-17 10:39 
GeneralDo we have any Cosmonauts here? Pin
CDP180221-Apr-17 16:02
CDP180221-Apr-17 16:02 
Don't worry, I don't plan to leave the planet yet. It's just for my little game. I also hope that this is does not qualify as a programming question. It's more like a qestion about what exactly I should program. And if you do think it's a programming question, then please point me to the right place for it. Smile | :)

Here we go:

Imagine you are sitting in a cloud of a few hundred billion stars, known as a galaxy. Your ship uses one of those old fashioned jump drives that can only jump over short distances, like max. five lightyears. Not the sort that can do the Kessel run in less than 12 parsecs. Smile | :)

The big question is how to select the coordinates for your next jump. Displaying the nearby stars is not much of a problem. Your position always is in the middle of the screen and the nearby stars form a small cloud around it. Rotating or zooming in or out a little are no big deal, but how can the player hold a course over several jumps?

It also would be nice to show the the coordinate points that lie within jumping range. It's not so hard to draw a sphere. In 2D a circle around your ship in the center and a few grid lines would do the job, doing the same in 3D with a sphere and 3D grid lines would probably get a little confusing. Also, how can you select any point in that sphere with a mouse click or what are the alternatives to select the coordinates for your jump?

I don't want to resort to cutting everything down to 2D, but the UI must be simple to use and understand, even for those who have not graduated from Starfleet Academy. Bonus points if it also looks good.

And yes, I have a galaxy map with a few hundred billion stars, which is only one of four billion galaxies (32 bit unsigned int) in one of four billion universes. Fortunately I did not have to store any of this on a hard disk.
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.

GeneralRe: Do we have any Cosmonauts here? Pin
David O'Neil21-Apr-17 17:14
professionalDavid O'Neil21-Apr-17 17:14 
GeneralRe: Do we have any Cosmonauts here? Pin
BillWoodruff21-Apr-17 19:25
professionalBillWoodruff21-Apr-17 19:25 
GeneralRe: Do we have any Cosmonauts here? Pin
markkuk21-Apr-17 23:44
markkuk21-Apr-17 23:44 
GeneralRe: Do we have any Cosmonauts here? Pin
Mark_Wallace22-Apr-17 4:20
Mark_Wallace22-Apr-17 4:20 
GeneralRe: Do we have any Cosmonauts here? Pin
Vivi Chellappa22-Apr-17 6:50
professionalVivi Chellappa22-Apr-17 6:50 
GeneralRe: Do we have any Cosmonauts here? Pin
Nelek22-Apr-17 8:58
protectorNelek22-Apr-17 8:58 
GeneralGoogle Calendar on Android Pin
snorkie21-Apr-17 5:25
professionalsnorkie21-Apr-17 5:25 
GeneralRe: Google Calendar on Android Pin
OriginalGriff21-Apr-17 5:35
mveOriginalGriff21-Apr-17 5:35 
GeneralRe: Google Calendar on Android Pin
lopatir21-Apr-17 5:47
lopatir21-Apr-17 5:47 
JokeRe: Google Calendar on Android Pin
Randor 21-Apr-17 17:52
professional Randor 21-Apr-17 17:52 
GeneralRe: Google Calendar on Android Pin
MadMyche22-Apr-17 2:55
professionalMadMyche22-Apr-17 2:55 
GeneralThought of the day Pin
OriginalGriff21-Apr-17 4:40
mveOriginalGriff21-Apr-17 4:40 
GeneralRe: Thought of the day Pin
Ravi Bhavnani21-Apr-17 4:51
professionalRavi Bhavnani21-Apr-17 4:51 
GeneralRe: Thought of the day Pin
jeron121-Apr-17 6:24
jeron121-Apr-17 6:24 
GeneralRe: Thought of the day Pin
Ravi Bhavnani21-Apr-17 6:53
professionalRavi Bhavnani21-Apr-17 6:53 
GeneralRe: Thought of the day Pin
jeron121-Apr-17 7:03
jeron121-Apr-17 7:03 
GeneralRe: Thought of the day Pin
Ravi Bhavnani21-Apr-17 7:06
professionalRavi Bhavnani21-Apr-17 7:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   26 votes