I'm kind of just messing around this this isn't really part of anything bigger than just experimenting.
I came across something really weird and I'm not sure why it is happening . Don't know if it's something I'm doing or if it is a bug that should be reported.
So I have the following code creating two identical text objects.
First line of text:
CreateText(1, prompt$)
SetTextFont(1,0)
SetTextSize(1, GetVirtualWidth() / 30.0)
SetTextPosition(1, currentx, currenty)
2nd line of text:
CreateText(2,"Type anything here:")
SetTextFont(2,0)
SetTextSize(2,GetVirtualWidth() / 30.0)
SetTextPosition(2, currentx, GetTextY(1) + GetTextTotalHeight(1) + 10)
This produces the following.
That's how it should look as both text objects look the same. When I first was doing the example I used the following code. The only difference is that I use a variable for the 2nd line of text to hold the id instead of setting the id.
First line of text:
CreateText(1, prompt$)
SetTextFont(1,0)
SetTextSize(1, GetVirtualWidth() / 30.0)
SetTextPosition(1, currentx, currenty)
2nd line of text:
tmp = CreateText("Type anything here:")
SetTextFont(tmp,0)
SetTextSize(tmp,GetVirtualWidth() / 30.0)
SetTextPosition(tmp, currentx, GetTextY(1) + GetTextTotalHeight(1) + 10)
This produces the following.
As you can see in the 2nd image that the 2nd line of of text is looks blocky, lower resolution, bolder and brighter than the top line of text. I would think that either way it is coded it should reproduce the same way. Am I missing something; not understanding the code differences (which is possible) or is this a bug.
This works that same way in both Classic and Studio.
Michael