Page 1 of 1

Asteroids

Posted: Tue May 08, 2012 7:00 pm
by iemfi
Asteroid mining has been big in the news lately. I'm thinking some sort of simple hard science asteroid mining game. I want all 600k known asteroids and the ability to zoom in and interact with each of them... Or something like that, what do you guys think?

Here's something I hacked together of all asteroids over 10km in diameter with the help of ftp://ftp.lowell.edu/pub/elgb/astorb.html. Mesmorizing, Just mind boggling how big space is!

Re: Asteroids

Posted: Tue May 08, 2012 7:23 pm
by Nixola
Is that white 5 at the top-left corner the FPS counter?

Re: Asteroids

Posted: Tue May 08, 2012 9:01 pm
by kikito
iemfi wrote:I want all 600k known asteroids and the ability to zoom in and interact with each of them... Or something like that, what do you guys think?
600k is very ambitious. I think the number you have now is enough for doing lots of stuff. You can probably still trim it down a bit. But well done!

Re: Asteroids

Posted: Wed May 09, 2012 12:36 am
by Jasoco
Nixola wrote:Is that white 5 at the top-left corner the FPS counter?
No. The number stays at 5 for some reason no matter what. It runs much smoother and faster in LuaJIT. Does this use DT? I guess I should look at the code.

Edit: Haha.. I found the problem..

Code: Select all

love.graphics.print(5,5,love.timer.getFPS())
Guess where the problem lies.

Re: Asteroids

Posted: Wed May 09, 2012 10:30 am
by Nixola
Probably, it won't change so much on my PC

Re: Asteroids

Posted: Wed May 09, 2012 3:37 pm
by josefnpat
Jasoco wrote:
Nixola wrote:Is that white 5 at the top-left corner the FPS counter?
No. The number stays at 5 for some reason no matter what. It runs much smoother and faster in LuaJIT. Does this use DT? I guess I should look at the code.

Edit: Haha.. I found the problem..

Code: Select all

love.graphics.print(5,5,love.timer.getFPS())
Guess where the problem lies.
Now there's a mistake I'd be happy to make, although with a little modification:

Code: Select all

love.graphics.print(60,5,love.timer.getFPS())