how to use SCROLL OBJECT TEXTURE command by malcolm15th Jan 2007 8:40
|
---|
Summary a small demo how to use the commands SCROLL OBJECT TEXTURE & SCALE OBJECT TEXTURE Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Rem Project: testfire Rem Created: 14/01/2007 19:31:30 Rem by malcolm bamber load image "decal.dds",1,0 make object plain 1,200,200 SET OBJECT TRANSPARENCY 1,2 texture object 1,1 SET OBJECT TEXTURE 1,0,0 yrotate object 1,180 SCALE OBJECT TEXTURE 1,0.25,0.25 a=0 sync on do if a=3 SCROLL OBJECT TEXTURE 1,0.25,0.25 else SCROLL OBJECT TEXTURE 1,0.25,1 endif a=a+1 if a=4 then a=0 wait 35 sync loop end |