<display> ‐ The elements controlling display appearance
Name | Type | Defaults |
---|---|---|
with_screen_time_display | BOOLEAN | false |
with_splash_screen | BOOLEAN | false |
splash_screen_file | STRING | Empty string |
splash_screen_encoding | STRING | pnga |
success_screen_file | STRING | Empty string |
success_screen_encoding | STRING | pnga |
defeat_screen_file | STRING | Empty string |
defeat_screen_encoding | STRING | pnga |
full_screen | BOOLEAN | true |
echo | FLOAT | 0.0 |
This element defines the details about the visual appearance of the display.
The boolean value of the with_screen_time_display attribute defines whether a slide bar of the remaining time is displayed by VC and corresponds to a game mode. The boolean value of the with_splash_screen attribute defines whether a splash screen is displayed at the launching of VC. If this attribute is set to true, the string value of the attribute splash_screen_file defines the name of the bitmap that will be displayed when launching VC, and splash_screen_encoding indicate the file format (see texture encodings for a list of accepted values). Similarly the string value of the attributes success_screen_file, defeat_screen_file, success_screen_encoding, and defeat_screen_encoding define the names and encodings of the bitmaps that will be displayed at the end of a game in interactive mode (attribute with_screen_time_display set to true).
The boolean value of the full_screen attribute defines whether the scene is rendered through the full display or through a window. In the second case, the dimensions and layout of the window are defined by the window layout element attached to the main window.
The float value of the echo attribute defines the amount decay used to copy images in the accumulation buffer. If echo is not null, motion results in a trail of fading images, that is used to simulate motion blur.
None.
The example below enables splash screen, graphic display of remaining time, and full screen.
<display with_splash_screen="true" with_screen_time_display="true" full_screen="true"/>