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)
bbText and bbDrawImage problem
Blitz3D SDK Forums/Blitz3D SDK Programming/bbText and bbDrawImage problem Those commands work in sequence. You should call it in order, call bbDrawImage then call bbText.
But I did call them in order.
Firstly I have drawn the image then the text, but the text is still beeing drawed beneath.
Firstly I have drawn the image then the text, but the text is still beeing drawed beneath.
Sanctuc,
post your code here, I will see if I could help.
Cheers,
post your code here, I will see if I could help.
Cheers,
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);
bbColor(255,255,255);
bbText(0+this->xofft,0+this->yofft,"Freakingtext",false,true);
<< 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,