Is it wise to use a text command each loop?
Blitz3D Forums/Blitz3D Beginners Area/Is it wise to use a text command each loop?
| ||
Hi. I'm just wondering about this since I seem to remember someone saying that text commands are quite slow. Basically, I'm wondering if using a text command to display information, say on a HUD, is the most efficient way to do it? |
| ||
they arent slow! I've got them plastered all over my HUD on an easy 60 FPS |
| ||
Great! That's my mind at ease then! Thanks a lot |
| ||
Dunno how much faster it would be, but FastText is even faster and might help you. |
| ||
Text commands are slow! Use FastText or bitmap fonts (look at fontext in my sig). |
| ||
I recommend juicyfonts. Default text command is dead slow... |
| ||
I don't notice anything |
| ||
Take this test for example:oldtime=MilliSecs() For i=1 To 100000 Print "Health: 22 Level: 7" Next newtime=MilliSecs() time=newtime-oldtime Print time WaitKey() End Took 55676 millisecs on my system (tell me if my test is rigged :) If you look at the thread I posted, people were reporting 2-3 ms for fasttext, 60ms for blitztext (something like that?) |