PDA

View Full Version : huge artifact with drawwrapped text



karelc
08-07-2013, 04:22 PM
https://dl.dropboxusercontent.com/u/16876983/snip.png
This is on android. All text and 2d elements are drawn correctly but the text done with drawwrapped produces this black plane covering the entire screen, with 3d elements poking through.
This happens on two phones I tested, a third phone shows 3d as normal but does not show the drawwrapped text (it does show the fps text) until I quit, then everything disappears and both types of text are visible for a split second.
Just in case, I tested if it also happens using the trajan font and it does.

karelc
08-08-2013, 12:44 PM
Ok I had this in OnUpdate, it works fine if I put it at the end of Draw(). However it doesn't really do what I need, I need entities that I can move around.
DrawWrapped shows scaled text can be done but how do I scale text in a text label entity?


editing because I don't want to bump up the thread: I don't know what I was thinking before, it was very easy to do with drawwrapped, never mind