bbText and bbDrawImage problem

Archives Forums/Blitz3D SDK Programming/bbText and bbDrawImage problem

Sanctus(Posted 2007) [#1]
If I draw a image using bbDrawImage and the draw a text using bbText it will somehow draw beneath the image(I tryed moving the text near the edge of the image)


MeowZ(Posted 2007) [#2]
Those commands work in sequence. You should call it in order, call bbDrawImage then call bbText.


Sanctus(Posted 2007) [#3]
But I did call them in order.
Firstly I have drawn the image then the text, but the text is still beeing drawed beneath.


MeowZ(Posted 2007) [#4]
Sanctuc,

post your code here, I will see if I could help.

Cheers,


Sanctus(Posted 2007) [#5]
bbDrawBlock(*Normal,0,0,0); (it doesn't matter if I use DrawBlock or DrawImage)
bbColor(255,255,255);
bbText(0+this->xofft,0+this->yofft,"Freakingtext",false,true);


MeowZ(Posted 2007) [#6]
<< screen capture.

I've check it and found no errors in my test code.
The problems might be:
- using pointer *Normal in bbDrawBlock(), I use simple variable.
- using pointer in bbText(), I use simple variable/constant.

try using simple var instead of complicated pointer, it might be some bugs there.

Cheers,