hi i'm having trubble with my darned game!!!!! i kindas hate DB at this point but if sum1 help me i wont go bac 2 c++.
anyway,
REM #include magicload so we can use the magicloader to load our world
#include magicload1-1.dba
rem 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,350
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,-5.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 1.0
if leftkey()=1 then Yrotate camera 359.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
if you run that you should see:
1. yo ucan turn in a direction only once
2. the bullet is dumb
3. when you use move object, does it just reposition it, or actully move it forward? that would be needed for actually hitting something...