errr!... what the code was intended to do is put you inside a black object and let you see it from the inside, this gives you a black background (oddly enough
), which was the effect you wanted, you can`t see the default background since you see the sphere first, and thats black, so you see black
, example code follows....
sync on:sync rate 60
make object sphere 1,1000
position object 1,0,0,0
position camera 0,0,0
load image "C:\Program Files\Dark Basic Software\Dark Basic Professional\Media\Icons\icon3.bmp",1
color object 1,rgb(0,0,0)
set object cull 1,0
set object ambience 1,0
do
for i=1 to 600
sprite 1,i,200,1
sync
next i
loop
Don`t forget sprites are 3D plains in Pro, you could use a large black sprite if that makes you happier, since the 3D commands are better sorted than the 2D in Pro you might want to use plains rather than sprites, just move them all at the same zdepth and et-voila!, sprites!.
Mentor.
1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, ATI radeon 9800 pro gfx, 6 way surround sound, 2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.