Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen size
#2
(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.
Reply


Messages In This Thread
Screen size - by emfril - 04-03-2024, 10:08 PM
RE: Screen size - by RhoSigma - 04-03-2024, 10:40 PM
RE: Screen size - by Pete - 04-03-2024, 10:42 PM
RE: Screen size - by SMcNeill - 04-03-2024, 11:02 PM



Users browsing this thread: 1 Guest(s)