Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen 0
#11
yeah _newimage is nice, besides setting up your screen the size you want or need it also can be used to set up a separate workarea for processing or preprocessing images before layering onto screen for display.
b = b + ...
Reply
#12
(04-06-2024, 09:43 PM)Tim Wrote: 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.
You're almost there. Lesson 5 introduces graphics and using _NEWIMAGE with SCREEN.

You can make any size screen you like using this method.

SCREEN _NEWIMAGE(1024, 768, 32)

SCREEN _NEWIMAGE(1280, 1024, 32)

SCREEN _NEWIMAGE(1600, 800, 32)

The first two values, width and height, can be anything you like.
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply
#13
(04-07-2024, 02:06 AM)TerryRitchie Wrote:
(04-06-2024, 09:43 PM)Tim Wrote: 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.
You're almost there. Lesson 5 introduces graphics and using _NEWIMAGE with SCREEN.

You can make any size screen you like using this method.

SCREEN _NEWIMAGE(1024, 768, 32)

SCREEN _NEWIMAGE(1280, 1024, 32)

SCREEN _NEWIMAGE(1600, 800, 32)

The first two values, width and height, can be anything you like.
Thanks. And I am on Lesson 5 now, and seeing that.
Reply




Users browsing this thread: 1 Guest(s)