bbText doen't work

Archives Forums/Blitz3D SDK Programming/bbText doen't work

Mr. Slat(Posted 2008) [#1]
heres the code

BBTexture u;
BBModel s;

s = bbCreateSprite();
u = bbCreateTexture(200,20);
bbSetBuffer(bbTextureBuffer(u));
bbCls();
bbText(1,1,"Loading",1,1);
bbSetBuffer(bbBackBuffer());

bbEntityTexture(s, u);

the string doesn't appear... Why?


Dreamora(Posted 2008) [#2]
1. Your texture must be power of 2. otherwise they get stretched
2. Drawing onto buffers does not work on any hardware ... but disabling TFormFilter tends to help.


Mr. Slat(Posted 2008) [#3]
bbTexture(200, 20, 0); .... you could've told me it was the argument!