What it does
TextDefaultExtendedFontImage sets DefaultExtendedFontImage on a Text object. It takes iImageID (an integer), and returns nothing. iImageID is the id of an Image object, the one LoadImage returned: it is how the call knows what to act on.
Syntax
TextDefaultExtendedFontImage(iImageID integer)Parameters
| Name | Type |
|---|---|
| iImageID | integer |
Every form returns
nothing
Example · generated
image = LoadImage("assets/sprite.png", 1)TextDefaultExtendedFontImage(image)DO Sync()LOOPLoadImage is there to give the call something to act on; TextDefaultExtendedFontImage is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.