sprite - handle to existing sprite x - horizontal screen coordinate (in pixels) y - vertical screen coordinate (in pixels) text$ - text string to display in sprite flags
(optional): * Default |
Modifys an existing sprite created with Text3D()
to display a new text message. The foreground and background colours are set with Color and ClsColor commands. Font and size are set using the SetFont command. If no
text is supplied a default '?' will be used. Example Code: textsprite=Text3D(100,50,"My new text
message") The x,y,text$ parameters are the same as used in Text3D() * NOTE: It is important to initialise the sprite
display system first! See Also: FreeImage3D Thanks go to EricZann for suggesting this command. |
Include "Sprite Control.bb" SpriteGraphics3D 640,480 SetFont LoadFont("Tahoma",38,True) ; size 38 and bold sprite=Text3D(320,240,"Hello World!") ModifyText3D sprite,320,240,"Thats all!" End |