04-06-2024, 02:52 AM
OK, just a learner still, but could someone please tell me exactly what is screen 0 and what is its significance?
Screen 0
|
04-06-2024, 02:52 AM
OK, just a learner still, but could someone please tell me exactly what is screen 0 and what is its significance?
04-06-2024, 02:54 AM
It's the only screen you'll ever need.
Pete - This thread is closed to further posts. j/k
04-06-2024, 02:59 AM
(This post was last modified: 04-06-2024, 03:00 AM by TerryRitchie.)
(04-06-2024, 02:54 AM)Pete Wrote: It's the only screen you'll ever need.It's the only screen PETE will ever need. FTFY It's the default text screen that QB64 (and QuickBasic) uses at start up. PRINT "HELLO WORLD" The window with the black background is text SCREEN 0. It only allows text, no graphics. To leave SCREEN 0 you need to initiate a graphics screen: SCREEN 13 ' legacy 320x200 graphics screen SCREEN _NEWIMAGE(800, 600, 32) ' modern 800x600 32bit graphics screen
04-06-2024, 03:02 AM
Thank you, Pete and Terry.
04-06-2024, 03:04 AM
SCREEN 0 advantages:
Pi in SCREEN 0 just tastes better. Pete
Shoot first and shoot people who ask questions, later.
i said it once and i will say it again
https://qb64phoenix.com/forum/showthread...7#pid24237 'the only good reason to use screen 0 is for screen function'
b = b + ...
04-06-2024, 03:09 AM
04-06-2024, 03:17 AM
(04-06-2024, 03:09 AM)TerryRitchie Wrote:(04-06-2024, 03:04 AM)Pete Wrote: SCREEN 0 advantages:I agree, the TEXTure is much better. If you hiv a New Zealand eccent, "better" sounds sounds like a nigative, not a positive!
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Please visit my Website at: http://oldendayskids.blogspot.com/
04-06-2024, 03:26 AM
If you have a New Zealand accent, you have my sympathies. Actually, N.Z. is a lot like my home state of California. Again, my sympathies.
Pete
04-06-2024, 09:43 PM
By the way, Terry, I implemented the code you gave me, SCREEN _NEWIMAGE(800, 600, 32) ' modern 800x600 32bit graphics screen. Very helpful. I am only on lesson 4 of the tutorial, but it still helps to be able to see the practice programs more completely than with the default.
|
« Next Oldest | Next Newest »
|