(04-03-2024, 10:08 PM)emfril Wrote: I have written a program that reads the coastline coordinates of the continents and prints custom perspectives. I've been using SCREEN 12, which is 320x240 pixels:
https://emf.neocities.org/tmp/WestCiv.png
I would like to make the screen bigger, but if I use the _FULSCREEN command the image is distortedQ
https://emf.neocities.org/tmp/WestCiv2.png
I could of course change the code so that the full screen is not distorted. But I wonder: Is there a way to make it as big as possible but preserve the aspect ratio?
And, even better: can I specify the size of a (larger) screen in pixels? I would certainly like to increase the shight of the image to that of my screen and have a better resolution.
Thanks.
You can set up any screen you want, look into the examples for _NEWIMAGE in our Wiki.
You may use the returns of _DESKTOPWIDTH/_DESKTOPHEIGHT to make a screen as big as your desktop, use _SCREENMOVE to move it to position 0,0 so it is fully visible.
Always remember, the Wiki is your friend.
GuiTools, Blankers & other Projects:
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23