Hi there guys!
Quote: "@chafari: The command TEXTURE BACKDROP doesn't compile on versions of DBPro that consider it "Obselete" (like mine). "
It was just an answer in how to put a background...I normally use an sphere like in this example.
ink rgb(255,255,0),1
print
print " nonZero you have to up-"
print " date your version be-"
print " cause is to old ^-^ "
print " last update is U77RC7 "
print " as Hodgey say !"
hide mouse
get image 40,0,0,220,100
make object plain 3000,5,6
texture object 3000,40
set object 3000,1,1,0
position camera 0,2,-5
point camera 0,0,0
xrotate object 3000,-90
do
p#=p#+0.002
position object 3000,0,0,-5+p#
color backdrop rgb(0,0,0)
if p#>7 then goto comienzo
sync
loop
comienzo:
cls
for i= 1 to 80
ink rgb(50,50,50),1
a=rnd(40)
a2=rnd(40)
box a,a2,a+8,a2+8
ink rgb(130,130,130),1
box a,a2,a+6,a2+6
next i
get image 180,0,0,50,50,1
cls
rem ============================================================================================================
ink rgb(255,255,255),1:for i= 1 to 250:dot rnd(100),rnd(100):next i:get image 2,0,0,100,100,1
autocam off:sync on:ink rgb(0,130,210),1:box 0,0,50,50:ink rgb(0,70,100),1:box 10,10,40,40:ink rgb(0,30,40),1:box 2,2,10,10
get image 1,0,0,50,50,1
make object sphere 777,2000:texture object 777,2:set object cull 777,0:scale object texture 777,15,15:ghost object on 777
make object sphere 778,1900:texture object 778,2:set object cull 778,0:scale object texture 778,2,2:ghost object on 778
for i= 1 to 360 step 3:make object box i,10,10,10:rotate object i,i,0,0:offset limb i,0,0,260,0:next i
for i= 2 to 359 step 3:make object box i,10,15+rnd(6),10:rotate object i,i,0,0:offset limb i,0,8,265,0:next i
for i= 3 to 359 step 3:make object box i,10,15+rnd(6),10:rotate object i,i,0,0:offset limb i,0,-8,265,0:next i
for i= 1 to 360:if object exist(i):texture object i,180:endif:next i
set object emissive 777,111111111111111
set object emissive 778,111111111111111
make object sphere 1000,3
position object 1000,0,270,-15
scale object 1000,30,30,300
make mesh from object 1,1000
add limb 1000,1,1:rotate limb 1000,1,90,0,90:texture object 1000,1
set ambient light 0:make light 1:position light 1,0,250,0
position camera -0,270,10
point camera 0,270,0
do
color backdrop rgb(0,10,30)
g#=g#+0.07
rotate object 777,g#/2,0,0
rotate object 778,g#/2,0,5
r=r+1
if r<200 then inc su#,0.06
if r>200 then dec su#,0.06
if r>400 then r=0
position camera -1+su#/7,266+su#/8,10
position object 1000,0,267+su#/8,-15
rotate object 1000,0,0,-15+su#*2
for i= 1 to 360 step 3
rotate object i,i+g#,0,0
next i
zrotate object 1000,-40+rnd(90)
for i= 2 to 359 step 3
rotate object i,i+g#,0,0
next i
for i= 3 to 359 step 3
rotate object i,i+g#,0,0
next i
sync
loop
Cheers.
I'm not a grumpy grandpa