I hate sprite 2...

Blitz3D Forums/Blitz3D Beginners Area/I hate sprite 2...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I use a sprite and it's ok... but I can't see the text print in 2D. Can I display it? How?

Graphics3D 600,400,32
SetBuffer BackBuffer()

      

Local cam = CreateCamera() : PositionEntity cam,0,0,0 : CameraClsColor cam,100,100,100
Local sphere = CreateSphere() : PositionEntity sphere,0,0,10 : EntityColor sphere,0,100,100
Local a#
Local x#
Local y#

glow=CreateSprite()
      tex=CreateTexture(64,64,48+2+512)
      SetBuffer TextureBuffer(tex)
      For i=1 To 64
	   Color i*3,i*3,i*4
	   Oval i/2,i/2,64-i,64-i,1
      Next
      EntityTexture glow,tex
      EntityBlend glow,3
      EntityAlpha glow,0.97
      PositionEntity glow,0,0,10
      SpriteViewMode glow,3
      ScaleSprite glow,2,2

While Not KeyDown(1)

y = 0

 If KeyDown(200) Then y = y - .3
 If KeyDown(208) Then y = y + .3
 If KeyDown(203) Then x = x + 1
 If KeyDown(205) Then x = x - 1
 If KeyDown(16) Then a = a + .5
 If KeyDown(30) Then a = a - .5
 MoveEntity cam,0,0,y
 RotateEntity cam,x,a,0

UpdateWorld()
RenderWorld()

Text 0,0,"OK" <=== The Text that I can't see.

Flip
Wend