hi people i'm writing the worst game in the world i need some help. everytime i shoot the bullet flashes near the gun as it moves. please help. i've tried giving it crazy Z axises to get it off the screen, but to do avail. please help!
i hat giving source away but the problem could be anywhere so heres my source
REM #include magicload so we can use the magicloader to load our world
#include magicload1-1.dba
sync rate 0
REM MagicLoad our world
MagicLoad("worldtry_06.mwdb",1,1,1)
shift matrix down 1
REM load in out AK-47
load object "ak47/H-AK47-static.X",2
REM load our little friend
load object "Alien Hivebrain/H-Alien Hivebrain-attack1.x",3
REM get the AK47 to the right position for our game
Yrotate object 2,340
position object 2,1.5,-0.6,1.9
scale object 2,450.2,450.2,450.2
lock object on 2
Xrotate camera 0.0
REM make bullets to be fired
make object sphere 4,0.1
hide object 4
position object 4,1.5,-0.6,2.1
lock object on 4
do
REM start player movement NOW
if upkey()=1 then move camera 2.0
if upkey()=1 then Z# = Z# + 2.0
if downkey()=1 then move camera -2.0
if downkey()=1 then Z# = Z# - 2.0
if rightkey()=1 then Yrotate camera 30.2
if leftkey()=1 then Yrotate camera 344.2
if spacekey()=1 then show object 4
if spacekey()=1 then move object 4,12.0
if spacekey()=1 then hide object 4
if spacekey()=1 then position object 4,1.5,-0.6,1.9
hide object 4
loop