====== Sprite Overlay Examples ====== The following examples show how the __base sprite__, the __optional sprite__, and the __over sprite__ are displayed when the values of the //Plot Last// and //OverIsTop// buttons are changed. =====Plot Last Button===== The Plot Last Button determines if the __optional sprite__ is displayed for a particular landscape type. This example uses a forest pine landscape type, which has has a __base sprite__ (the image over the left-most {{:editor:buttonblue_copy.png|}} sprite button) and an __optional sprite__ (the image over the middle {{:editor:buttonblue_copy.png|}} sprite button). However, this landscape type has no __over sprite__ (i.e., no image over the left-most {{:editor:buttonblue_copy.png|}} sprite button). {{:editor:example_sprite_box.jpg|}} Initially, the //Plot Last// button is set to **false**, which means that the __optional sprite__ will not be displayed. {{:editor:example_sprite_forest_no_optional.jpg|}} However, if the //Plot Last// button is set to **true**, the __optional sprite__ is displayed and now overlays the __base sprite__. {{:editor:example_sprite_forest_optional.jpg|}} ===== OverIsTop ===== The //OverIsTop// button determines if the __over sprite__ is displayed for a particular landscape type. This example uses a high mountain landscape type, which has a __base sprite__, an __optional sprite__, and an __over sprite__. {{:editor:sprite_box.jpg|}} Initially, the //OverIsTop// button is set to **true**, which means that the __over sprite__ will be displayed in the hex just above the hex with the landscape type.. {{:editor:example_sprite_mountain_with_top.jpg|}} However, if the //OverIsTop// button is set to **false**, the __optional sprite__ is no longer displayed. {{:editor:example_sprite_mountain_without_top2.jpg|}}. It should be noted, that the //OverIsTop// button has a side effect for __base sprites__ that go outside of their hex boundaries (e.g., forest pine). If //OverIsTop// is set to **true**, it will remove all images of the sprite that goes out of the hex boundary. (In a sense, the //OverIsTop// button is a command that allows only the __over sprite__ to project beyond the hex boundary. An example of this side effect is illustrated here with a forest pine hex: {{:editor:example_sprite_forest_overistop-true.jpg|}}