Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Optimized Main Loop, Tizela
#6
Couldn't you do something like this?

All 8 tiles connected to the one clicked are scanned. If they share the same tile number they are filled and a new scan is initalised on that tile, and so the scan spreads out until no more tiles are found sharing the same tile number?
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)