just look at adding an object plain and think it will work. I have it scrolling and can get the background on there as well but can i make it transparent allowing the background to show through. do i need to make the background a 3d plain as well? i tried the ghost function but it doesnt deem to go transparant
heres what i have so far
set display mode 1024,768,32
hide mouse
load Image "scope.png",1
Load Image "image1.png" , 10
Load Image "image2.png" , 11
Load Image "image3.png" , 12
Load Image "image4.png" , 13
Load Image "image5.png" , 14
Load Image "image6.png" , 15
load image "graveyard.bmp",50
load bitmap "grave.bmp"
backdrop off
sync on
Enemy =1
frame = 0
speed=1
rem sets fog band
MAKE OBJECT PLAIN 4,600,30
POSITION OBJECT 4,0,-4,80
TEXTURE OBJECT 4,50
LOCK OBJECT ON 4
ghost object on 4, 5
rem end of fog band
do
sync
If Enemy = 1 then Numberofframes = 6 : x = 200 : y = 200 : Framestart = 10
if frame = Numberofframes + 1 then frame = 0
sprite 10,x,y,(framestart + frame)
x=mousex()
y=mousey()
sprite 1,(x-spritewidth),(y-spriteheight),1
spritewidth=(sprite width(1)/2)
spriteheight=(sprite height(1)/2)
set cursor 10,10: Print "xcoord ";x;" "; "ycoord ";y
inc speed
if speed = 5 then inc frame : speed = 1 : SCROLL OBJECT TEXTURE 4,0.001,0.0
sync
loop
end
Morloc