Hello
My setup: I'm making a 3D world designer in AppGameKit, a AppGameKit window is embedded in another application via a HTML5 canvas.
As my application resizes, the canvas has to resize too. This works.
The problem is that I want to use the print statement for debugging some values. But the print text is way to big, I cannot read the whole text.
See this image for the size of the print command:
My resize command looks like this:
Function ResizeScreen(Width As Integer, Height As Integer)
SetWindowSize(Width, Height, 0)
SetVirtualResolution(Width, Height)
EndFunction
I also tried setting the virtualResolution to Width*2 and Height*2, but that doens't change a thing.
If that doesn't resize the virtual resolution, what does it do exactly?
What do I do wrong? How do I "create" more pixels on my window, and thus the print() text smaller?
Thanks for your time!
Edit: I tested in another project, not HTML this time. Test this code:
SetWindowSize(500, 500, 0)
Setvirtualresolution(10,10)
//SetVirtualResolution(1000, 1000)
ResetTimer()
do
Print(ScreenFPS())
Sync()
loop
And then uncomment the line and run again. There is absolutely no difference, is the print() statement unaffected by pixels?