For future reference

Blitz3D Forums/Blitz3D Programming/For future reference

I'm going to eventually be doing a thing with B3d for which it would be nice to be able to change the font that I am writing to a block of text in, without skipping lines. (IE: Beginning to use italics, or bold text). Is this possible?

Yes you can load a truetype font

you mean like this?
Graphics 800,600,32,2
font = LoadFont("Comic Sans Ms",20,1,0,0)
font2 = LoadFont("Comic Sans Ms",20,0,0,0)

SetFont font2:Text 5,0,"This is "
SetFont font:Text 53,1,"bold. "
SetFont font2: Text 91,0,"This is not."


i am not sure exactly what you mean so i hope it helps.

Okay, so no easier method than that.
I guess that will do, in combination with StringWidth :)

Like an HTML system for the text command to replace stuff in different colors ect? Or like just microsoft word with changing font in a textbox? Or like what nater says?


0.o


WHEN'S APOE COMING!?!?!?!? I NEEEEEEEEEEEEEEEEEED IT!!!!!! :0

Maybe you could just create a simple function, put all the changing crap in there. To make it easier hopefully.

And then release it :D

That's what I plan :D
But first I will answer TheDuck's question by releasing what my sig has said I'm doing for a while.


APOE v 0.1; Alpha release in 1 day



Its been a very long 1 day, where the sun kept going down and back up..... *poke prod*

Ah, but I can't tell when night is because of a bunch of greenhouses where I live that have these unbelievably bright lights on all night. There is seriously 10 times more light pollution in this small town where I live than in the big city next to it.

Anyway, today should be the finishing date for the coding of 0.1

Besides, it said 2 days a while ago :)