Can I have a transparent texture that is dynamically created using CreateTexture? The following doesn't work...
; Create texture of size 256x256
tex = CreateTexture(256, 256, 4)
; Set buffer - texture buffer
SetBuffer TextureBuffer(tex)
; Clear texture buffer with a black background
ClsColor 0, 0, 0
Cls
Color 255,0,0
Text 0, 0, "This is a test texture!"
; Texture cube with texture
EntityTexture cube,tex
PS. What are the tags for posting code?
; Create texture of size 256x256
tex = CreateTexture(256, 256, 4)
; Set buffer - texture buffer
SetBuffer TextureBuffer(tex)
; Clear texture buffer with a black background
ClsColor 0, 0, 0
Cls
Color 255,0,0
Text 0, 0, "This is a test texture!"
; Texture cube with texture
EntityTexture cube,tex
PS. What are the tags for posting code?