Bugala wrote: ↑Fri Jan 24, 2025 10:27 am
If I have simply just:
Hollywood opens this screen, is it called Console screen?
No, it's the default Hollywood display in the windowed mode, ready for you to draw anything you want without needing to worry about opening any custom displays. Console output would be in a Shell window, with
ConsolePrint() etc.. The default display is 640x480 with the ID 1.
Is this screen always 640x480, or are there different dimensions between platforms?
I suppose Mobiles would be different, but what about desktops, Amiga, Mac, Linux, PC?
According to the documentation it is, and I believe you can count on it on desktops, but I'm not sure about mobile platforms.
And if there is difference in sizes, then can you query the width and height somehow? Or can you even choose them yourself?
You can query its dimensions just like with any other display, for example:
GetAttribute(#DISPLAY, 1, #ATTRWIDTH)
GetAttribute(#DISPLAY, 1, #ATTRHEIGHT)
You can change initial display dimensions with
@DISPLAY or
@BGPIC preprocessors, for example.