Game Development Reference
In-Depth Information
What just happened?
We can now move the
_terrain
object and all the blocks it contains, and we can restart
the process all over again if we need to.
Once again, using the container behavior of nodes simplified our job tremendously. When
you scroll the terrain, you scroll all the
Block
objects it contains.
So we are finally ready to run collision logic.