Yanom Mobis wrote:
One possibility is to use the new convolution code in the mask module - if you convolve the obstacles with the shape of the object that's moving, you can do pathfinding in the resulting mask and it will only move where it fits. Depending on your situation, this might be a reasonable approach.is it easier to make the game tile-based?if I make every pixel a node, and there are 2 obstacles really close together, how will I make sure something 20 pixels wide doesn't try to go into a 2 pixel wide opening?
--Mike