Viewer by EddieB2nd Oct 2004 4:17
|
---|
Summary View your models in this model viewer. view .x or .3ds objects Description View your models in this model viewer. view .x or .3ds objects Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Sync on sync rate 40 hide mouse load object "object.3ds" 1,10 do `get keyboard input to change the y variable if rightkey()=1 then y=wrapvalue(y+1) if leftkey()=1 then y=wrapvalue(y-1) `yrotate the box yrotate object 1,y if upkey()=1 then x=wrapvalue(x+1) if downkey()=1 then x=wrapvalue(x-1) `xrotate the box xrotate object 1,x if shiftkey()=1 then z=wrapvalue(z+1) if spacekey()=1 then z=wrapvalue(z-1) `xrotate the box xrotate object 1,z `update the screen sync loop |