hmmm...it must be the object or the texture cause using my own texture and a cube, it works fine, try this:
rem __________________________________ loading ______________________________________________
set display mode 1024,768,16
sync on : sync rate 60
set dir "media"
load image "textures/grass/grass02.jpg",1
make matrix 1,5000,5000,50,50
prepare matrix texture 1,1,1,1
`load object "buildings/porthouse1.x",1 :
make object cube 1,100
`scale object 1,5000,5000,5000 :
position object 1,2500,0,2500
rem ____________________________ camera and its boundaries __________________________________
make object box 2,1,1,7500 : position object 2,5001,750,2500
make object box 3,1,1,7500 : position object 3,-1,750,2500
make object box 4,5000,1,1 : position object 4,2500,750,4501
make object box 5,5000,1,1 : position object 5,2500,750,-501
make object box 6,5000,500,5000 : position object 6,2500,-270,2500 : color object 6,rgb(128,128,128)
make camera 1 : position camera 1,2500,750,2000 : point camera 1,2500,0,2500
automatic camera collision 1,10,1
rem _____________________________________ commands __________________________________________
housebuild=0 : houseNo=100
rem ____________________________________ main loop __________________________________________
do
cx=camera position x(1)
cy=camera position y(1)
cz=camera position z(1)
rem side movements
if mousex()=<15 OR leftkey()=1 then position camera 1,cx-20,cy,cz
if mousex()=>1009 OR rightkey()=1 then position camera 1,cx+20,cy,cz
if mousey()=<15 OR upkey()=1 then position camera 1,cx,cy,cz+20
if mousey()=>753 OR downkey()=1 then position camera 1,cx,cy,cz-20
rem corner movements
if (mousex()=<15 AND mousey()=<15) OR (leftkey()=1 AND upkey()=1) then position camera 1,cx-15,cy,cz+15
if (mousex()=>1009 AND mousey()=<15) OR (rightkey()=1 AND upkey()=1) then position camera 1,cx+15,cy,cz+15
if (mousex()=<15 AND mousey()=>753) OR (leftkey()=1 AND downkey()=1) then position camera 1,cx-15,cy,cz-15
if (mousex()=>1009 AND mousey()=>753) OR (rightkey()=1 AND downkey()=1) then position camera 1,cx+15,cy,cz-15
if spacekey()=1 then ghost object on 1,0
if spacekey()=0 then ghost object off 1
` 'H' to build house
if keystate(35)=1 then housebuild=1
if housebuild=1 and houseflag=0
clone object houseno,1
scale object houseno,5000,5000,5000
position object houseno,cx+((mousex()-512)*1.3),0,cz+625+((mousey()*-1)+384)/sin (34)
ghost object on houseno,0
if mousemovex()>0 then move object houseno,cx+mousemovex()
wait mouseclick()=1
ghost object off houseno
housebuild=0
houseno=houseno+1
houseflag=1
endif
if keystate(35)=0 then houseflag=0
set cursor 10,10
print "mousemove: ";mousemovex()
sync
loop
using ur own textures again, and just try using a cube to see if its the object
Video games…they can take you places unreachable, impossible, unfeasible. They put you in the book...they put you in the movie...they put you in a world, a world that before could only be imagined.