Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ads
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 15th Nov 2003 16:06
What are the screen measurments when you exectue in db?
x-600
y-800
????
treedomordeath
20
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 15th Nov 2003 16:28
it depends of the resolution. You set the display mode/resolution with the "set display modewidth,hieght,depth" command, by default it is 640 X 480 X 16 bit.

"...the only thing we have to fear is fear itself."-JFK
Ads
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 15th Nov 2003 16:33
Its becos im trying to make space invaders sorta game
im trying something like...
if ax=ax then ax=ax+1 that moves it across the screen....
so when it hits the rigt of the screen it goes the other way until it hits the other side etc...
i tried...
if ax=??? then ax=ax-1
if ax=??? then ax=ax+1

my db with its 640x480 i think..... thos ???? are the screen ends on each side which are...????
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Nov 2003 16:57
The default display size is 640x480, no matter what your desktop resolution is (it stretches the pixels), unless you are using fullscreen-exclusive mode.

Login to post a reply

Server time is: 2024-09-21 09:47:41
Your offset time is: 2024-09-21 09:47:41