hey. I'm having trouble with the screen resolution. Under display properties, I set my screen resolution to 800x600. But, it dispays with the wall sprite all over. Here's my code:
sync on
load image "c:\sprites\wall.bmp",1
load image "c:\sprites\sprite2.bmp",2
guyx=150
guyy=150
mapx=800/50
mapy=600/50
dim map(mapx,mapy)
for x = 1 to 16
for y = 1 to 12
read map
if map=1 then paste image 1,x*50,y*50,1
next x
next y
do
sync
if upkey()=1 then guyy=guyy-5:print "x", guyx:print "Y",guyy
if downkey()=1 then guyy=guyy+5:print "x", guyx:print "y"; guyy
if leftkey()=1 then guyx=guyx-5:print "X"; guyx:print "Y"; guyy
if rightkey()=1 then guyx=guyx+5:print "X"; guyx:print "Y"; guyy
sprite 2,guyx,guyy,2
if guyx<105 then guyx=guyx+5
if guyx>345 then guyx=guyx-5
if guyy>345 then guyy=guyy-5
if guyy<105 then guyy=guyy+5
loop
data 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1
data 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
Do you know whats wrong?
Thanks again!
.....