Hello everyone. Im a little new the DB and I went thru tutorial 1 nd was playing around with the code to help myself learn what thngs do. Well here's what I have right now:
sync rate 60
sync on
backdrop off
load bitmap "800x600.jpg"
x1 = 100
y1 = 100
x2 = 700
y2 = 500
get image 1,0,0,800,600,1
get image 2,x1,y1,x2,y2,0
sprite 1,0,0,1
sprite 2,x1,y1,2
udmove# = 0.0
lrmove# = 0.0
repeat
rem U= horizontal (x): V =vertical(y)
set sprite texture coord 2, 0,0.0 + lrmove#,0.0 + udmove#
set sprite texture coord 2, 1,1.0 + lrmove#,0.0 + udmove#
set sprite texture coord 2, 2,0.0 + lrmove#,1.0 + udmove#
set sprite texture coord 2, 3,1.0 + lrmove#,1.0 + udmove#
set sprite texture coord 2, 0,0.0 + lrmove#,0.0 + udmove#
set sprite texture coord 2, 1,1.0 + lrmove#,0.0 + udmove#
set sprite texture coord 2, 2,0.0 + lrmove#,1.0 + udmove#
set sprite texture coord 2, 3,1.0 + lrmove#,1.0 + udmove#
if upkey()=1 then udmove# = udmove# + 0.01
if downkey()=1 then udmove# = udmove# + -0.01
if leftkey()=1 then lrmove# = lrmove# + 0.01
if rightkey()=1 then lrmove# = lrmove# + -0.01
set cursor 0,0 : print FPS : set cursor 60,0 : print screen fps()
set cursor 0,20 : print udmove#
set cursor 0,40 : print lrmove#
sync
until escapekey()=1
My question is:
1)How to I get the U of the UV to wrap around and
2)How would I get the print command to show up in front of the sprites?
I picked up a Magic 8 ball th other day and it said "Outlook not so good".
I replyed "I know, butMicrosoft ships it anyways."