Tag Info

New answers tagged

1

At some point during your entity logic, you'll have computed the random destination of the entity. Before moving the entity there, check the type of tile that exists at that location. If the type is not desirable, abort the move, or try to generate a new random destination. Often this check is encapsulated in a method on the tile object or the entity ...



Top 50 recent answers are included