REM Project: Hist REM Created: 5/8/2007 7:46:04 PM REM Created by REM ***** Main Source File ***** REM rem presets sync on : sync rate 0 rem basics load image "grass1.jpg",311 make matrix 222, 300, 300, 30, 30 : prepare matrix texture 222, 311, 30, 30 make object sphere 1,30 : color object 1,rgb(255, 0, 0) : position object 1, camera position x(), camera position y(), camera position z() position camera matrix position x(222), matrix position y(222), matrix position z(222) POSITION CAMERA OBJECT POSITION X(1),OBJECT POSITION Y(1),OBJECT POSITION Z(1) load object "sky17.x", 111 set camera range 1, 0x7fffffff set ambient light 100 do sync position object 111, camera position x(), camera position y(), camera position z() if rightkey()=1 move object right 1, 3 endif loop