Game Development Reference
In-Depth Information
The most two important variables in this class are scanDirection and dependents . To realize
their importance we have first to understand how the destructible building is built. When
we arrange the blocks in some order either vertically or horizontally, we must build relations
between them. For instance, a pillar like in Illustration 69. This pillar consists of 8 building
blocks arranged vertically.
Illustration 69: A pillar made of 8 destructible building blocks
Search WWH ::




Custom Search