Screen 12 isn't working...
Screen 12 isn't working...
I updated my compiler, and now when I use SCREEN 12, nothing will draw.
For any grievances posted above, I blame whoever is in charge . . .
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
Waddaya mean?
You wrote your own compiler(doubtful) or you went for a better virgin?
What is your problem Man? Get a version that woks pal.
BTW ass, respond to your other posts or get lost!
Ted
What is your problem Man? Get a version that woks pal.
BTW ass, respond to your other posts or get lost!
Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Ignore burger, he's an assclown troll just looking for a response from you.
I gave screen 12 a try with the latest beta (0.18.3b) and indeed, it doesn't work. It works fine with the build I generally use (0.14b).
EDIT: I was trying something foolish (using &HFFFFFF as the color) and it didn't work. I changed it to 15 and it worked. It seems that SCREEN 12 more closely emulates QB's SCREEN 12 now.
worked fine in 0.14b but not in 0.18.3b. However
works fine in 0.18.3b.
I gave screen 12 a try with the latest beta (0.18.3b) and indeed, it doesn't work. It works fine with the build I generally use (0.14b).
EDIT: I was trying something foolish (using &HFFFFFF as the color) and it didn't work. I changed it to 15 and it worked. It seems that SCREEN 12 more closely emulates QB's SCREEN 12 now.
Code: Select all
screen 12
dim a as integer
for a = 0 to 639 step 3
line (0,0)-(a,479),&HFFFFFF
next a
do: loop while inkey$=""
Code: Select all
screen 12
dim a as integer
for a = 0 to 639 step 3
line (0,0)-(a,479),15
next a
do: loop while inkey$=""
-
- Veteran
- Posts: 202
- Joined: Mon Aug 30, 2004 6:18 am
- Location: Croatia
- Contact:
Tried using ScreenRes and setting the desired screen width, height and bit-depth like that? Not many still use Screen, unless prefering to code with -lang QB.
Lachie Dazdarian - The Maker Of Stuff
SCREENRES xpixels, ypixels, bits-per-pixel, video pages, options (set to 1 for fullscreen)
That's how I use it; there might be more to it though. I think it can also set up an opengl window but I never use it for that so I don't remember how to do it. Look it up in the FB doc wiki if you need more info.
That's how I use it; there might be more to it though. I think it can also set up an opengl window but I never use it for that so I don't remember how to do it. Look it up in the FB doc wiki if you need more info.
Set the flag to GFX_OPENGL or &h02 for opengl window.
@Mentat
You can use the RGB/RGBA commands.
Using &h seems to work dandy in any mode but 8bit.
@Mentat
You can use the RGB/RGBA commands.
Using &h seems to work dandy in any mode but 8bit.
Code: Select all
screenres 640,480,32
do
Line(0,0)-(319,479), &hFFFFFF
Line(639,0)-(320,479), RGB(0,0,255)
loop until inkey$="q"