Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 19 May 2012
Offline Last Active Private

Posts I've Made

In Topic: Auto-tile system - algorithm to auto-generate hash table

31 October 2012 - 02:22 PM

Yes, I would like to create an auto-tile system by filling it with patterns. for example, the larger the field gets, larger tile patterns are inserted (rather than always repeating 1x1 pattern.

So rather than using constantly 32x32 tiles for the middle part of the autotile, I would like to use other patterns like 2x2, 3x3, etc.

But I know how complex it is, so I try to ask my questions at the most basic level as possible.

And since your keys are 0-255 with no gaps, why do you need a hash table? A 1-d array would serve you just as well...

It's because the keys are the bit signature for all tile possibilities, so the same tile id can be used for many type of connections depending of the adjacent tiles around the middle tile.

In Topic: How to match a 2d pattern in a 2d array?

31 October 2012 - 02:12 PM

Thanks guys, very helpful!

In Topic: Which branch of mathematics teach about pathfinding?

29 October 2012 - 07:03 PM

alvaro, I think it's exactly what I was looking for. Thanks a lot. Thanks to you too Alpha_ProgDes.