Hey, i'm doing really good! and still have somedays to trial die, but now i need help with ground collision...
Any tip or help????
This is the code i have for shooting....
Any idea please???
rem Make gun and bullet (just for test)
make object cylinder 10,2
xrotate object 10,90
fix object pivot 10
scale object 10,100,100,1000
position object 10,7,0,12
lock object on 10
hide object 10
make object sphere 4,0.7
position object 4,5,0,10
hide object 4
lock object on 4
do
rem **Shoot action**
If Mouseclick()=1 and BulletLife=0
BulletLife =30
show object 4
Endif
If BulletLife > 0
Dec BulletLife
Move object 4,40
If BulletLife = 0
position object 4,5,0,10
lock object on 4
hide object 4
Endif
Endif
loop
By the way, somebody knows why if i do an object with 3d milkshape and i export it to a .x format when i load it in darkbasic the object look with transparency and without fill (i dont know if you understand me, but i dont know how to xplain it)...
Anyway thx for the help everybody but do somebody have an idea???
Just Me!