Java Reference
In-Depth Information
Figure 11-5. Back of tent after lights are applied in JavaFX
In Figure 11-4 we can see the back of the tent. It is composed of a number of brightly colored
shapes. The arced horizontal band is supposed to be the back wall, and the vertically aligned triangular
areas are supposed to be the ceiling of the tent. Without any shading the scene is pretty flat. In Figure 11-5
we can see the same scene with a JavaFX SpotLight applied to the background. The light moves in a
figure eight pattern and distorts as it gets farther from the center. This creates a convincing sense of
In Figure 11-6 we can see the game screen with the clown in mid-air. The five pegs have been
randomly placed to impede the flight of the clown, and the bonus balloon is floating out of reach of the
Search WWH ::

Custom Search