This is suppose to put a smoke object at the position of the bullet every .1 second (time is global). It only updates like every half a second, and it also only uses 1 object. when there are actually 10.
function smoke_trail()
if timer() - time < 10
inc i
show object sobject(i)
position object sobject(i),object position x(10),object position y(10),object position z(10)
point object sobject(i),camera position x(),camera position y(),camera position z()
if i > 10 then i = 0
endif
endfunction
This Code makes the smoke objects.
load image "media\2d\effects\smoke.png",10
dim sobject(10)
for i = 2001 to 2010
sobject(i-2000) = i
make object plain sobject(i-2000),50,50
texture object sobject(i-2000),10
ghost object on sobject(i-2000)
set object transparency sobject(i-2000),1
hide object sobject(i-2000)
next i
IF your rolling along the ocean in you jet ski and the wheels fall off. Do you still have enough pancakes to cover a doghouse?
Purple, because icecream has no bones.