Hi,
I was busy writing this program about ANZAC monuments ect. for a school assignment. But when it was almost complete and working, something weird happend. I was trying to change the textures of my matrix and backdrop from moss and tiled clouds to green grass and a large clouds. From the on all I know is that it says that the objects and textures don't exist! I don't understand because it was working before!
Here is the code:
`This is an ANZAC monument example
`Programed in DarkBASIC Classic
`Coded by Robert Lee
`Modeled by Robert Lee (In Anim8tor)
Sync on
`Make Sky
hide mouse
backdrop on
load image "green14.jpg",2
texture backdrop 2
`make world
make matrix 1,3000,3000,2,2
load image "moss03.jpg",1
prepare matrix texture 1,1,1,1
fill matrix 1,0,1
`load model
Load object "Anzac-Monument(nograss).x",1
position object 1,1500,150,1500
objX=object position X(1)
objY=object position Y(1)
objZ=object position Z(1)
objang=object angle Y(1)
cam#=camera angle Y()
`main loop
Do
If upkey()=1 then move camera 6
If downkey()=1 then move camera -6
If leftkey()=1 then dec cam#,3
If rightkey()=1 then inc cam#,3
yrotate camera wrapvalue(cam#)
Sync
`intro
Print "Use the arrow keys to move"
Print "The Monument itself was by Robert Lee"
Print "In Anim8tor software"
Print "I owe some credit to its developers"
Print "And TGC (The Game Creators)"
Print "They developed DarkBASIC"
Print "In which this was programed."
Loop
thank you!
Why buy a game when you can make one?