This example shows how to generate random treetops and for a flying game. Treetops move from right to left creating a sense of movement.