User Tools

Site Tools


editor:sprite_overlay_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
editor:sprite_overlay_example [2011/06/29 21:13] – springereditor:sprite_overlay_example [2026/06/22 12:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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|}} {{: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|}} {{: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|}} {{: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|}}
 +
 +
 +
editor/sprite_overlay_example.1309382025.txt.gz · Last modified: 2026/06/22 12:15 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki