This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
display_image [2024/02/08 14:29] – justin | display_image [2024/02/22 21:03] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Displays an [[image]] to the player for the specified amount of time. If the duration is not provided or is zero, the player must interact to proceed. | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | display_image() | + | display_image(image_name, duration, background_color, |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |image_name| |[[String]]|Yes| |
+ | |duration| |[[Number]]|No| | ||
+ | |background_color| |[[Color]]|No| | ||
+ | |stretch_mode| |[[Stretch Mode]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | display_image(); | + | |
</ | </ | ||
// | // |