Code: Select all
imagetohud=imagecreate(128,16,32)
Code: Select all
Line imagetohud,(0,0)-(511,15),RGB(150,10,0),BF
But when you create the sprite texture, you use:
Code: Select all
hudstringtex=CreateTexture(128,32)
So, either you use "imagetohud=imagecreate(128,32)" (and also modify the LINE command), or you use "hudstringtex=CreateTexture(128,16)" (that will stretch the text vertically, I warn you)