If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Moderators: Pete , Mods
Albert
Coder
Posts: 14 Joined: Mon Jul 04, 2016 10:30 am
Post
by Albert » Tue Jul 05, 2016 2:19 pm
so I would like to have a colored background but text still apears white on black
idk if you understand so I attach a photo:
is there anyway to make text don't have that black background?
btw the code:
Code: Select all
SCREEN _NEWIMAGE(800, 600, 32)
CLS 2, _RGB(192, 192, 192)
PRINT "This is a text."
Attachments
Untitled.png (10.7 KiB) Viewed 12684 times
Albert
Coder
Posts: 14 Joined: Mon Jul 04, 2016 10:30 am
Post
by Albert » Thu Jul 07, 2016 2:21 pm
I'm not understaing any of that
burger2227
Veteran
Posts: 2466 Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA
Post
by burger2227 » Thu Jul 07, 2016 6:49 pm
OUT can change the black to any color with RGB values from 1 to 63 instead of 1 to 255. Divide the Qb64 rgb values by 4 using out.
Albert
Coder
Posts: 14 Joined: Mon Jul 04, 2016 10:30 am
Post
by Albert » Fri Jul 08, 2016 4:38 am
burger2227 wrote: OUT can change the black to any color with RGB values from 1 to 63 instead of 1 to 255. Divide the Qb64 rgb values by 4 using out.
ty, now I got it
but is there any way to make this work with _newimage?