Another problem! see the code:-
`SHOOTING ENEMY
IF MOUSECLICK()=1
wait 75
PLAY SOUND 1
IF Ammo#>0 THEN Ammo# = Ammo# - 1
IF OBJECT EXIST(2)=1
IF Ammo#>0 AND INTERSECT OBJECT (2, LIMB POSITION X(1,1), LIMB POSITION Y(1,1), LIMB POSITION Z(1,1), OBJECT POSITION X(1), OBJECT POSITION Y(1), OBJECT POSITION Z(1))>0
DEC EnemyH#,1
ENDIF : ENDIF : ENDIF
When i holde the left click and try to move around, then it moves a bit slow. When i leave the left click it moves clear :S. Any solution for this problem?
`MOVEMENT
POSITION CAMERA OBJECT POSITION X(1),OBJECT POSITION Y(1),OBJECT POSITION Z(1)
CAMX#=CAMX#+MOUSEMOVEY()*.1
CAMY#=CAMY#+MOUSEMOVEX()*.1
XROTATE CAMERA CAMX#
YROTATE CAMERA CAMY#
XROTATE OBJECT 1,CAMX#
YROTATE OBJECT 1,CAMY#
Thanks
-----------------------
I will be a good Game Programmer soon!