Author Topic: Moving asteroids...  (Read 3477 times)

0 Members and 1 Guest are viewing this topic.

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 13
  • Posts: 1,035
Re: Moving asteroids...
« Reply #15 on: March 29, 2010, 10:39:40 AM »
I think it's extending from the origin. I'll have a look, I... I just don't know.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Moving asteroids...
« Reply #16 on: March 29, 2010, 11:18:31 AM »
Interesting, that has some implications for the placement of asteroids in level design.  For example, in Return To Fluffy Land the first asteroid is at (0,0) and the last asteroid is way way down in the southeast - the other asteroids extend in a curvy line between these two points.  But if the quad tree always extends outwards from the origin, I could potentially have made the game use 1 size smaller of quad tree by placing the asteroids around the origin instead of starting there and working outwards in one direction.  That might mean the game runs faster on slow machines.. :>

Also, it means that by placing asteroids around the origin you can have a great area in which asteroids are allowed to be placed, rather than only using a single quadrant like in RTFL.