I made a little solar system generator in Freebasic, however I cannot make any headway trying to get planets to orbit the sun.
I think I have to give planets an ID when they are created or otherwise there is no way I would be able to keep track of them. The code is kinda big so I have uploaded it to pastebin (I hope that is okay). http://ift.tt/1bGtZGH
I have a while loop, that runs through an iteration for every planet to be generated. How would I assign a unique Identifier to each planet?
Aucun commentaire:
Enregistrer un commentaire