User Tools

Site Tools


display_image

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
display_image [2024/02/08 14:29] justindisplay_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, stretch_mode)
 </code> </code>
  
 ^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();+
 </code> </code>
 //Results:// //Results://
display_image.1707431349.txt.gz · Last modified: 2024/02/08 14:29 by justin