Quote: "I've been thinking about it, but I dunno. I like the idea of being able to write code and having just anyone be able to run it without having to say "You'll need this and this dll to compile". Just me, I guess. "
Most people have it anyways I think :p
Quote: "I dunno. I'm still clinging onto XP for dear life. I think I might get the 64 bit version soon so I can hold on for a little longer. "
You should upgrade to 7, it's really worth it, and much faster. Well, I came from vista, so it seems it to me.
UPDATE:
Okay I've applied most of the things, I've decided to keep my indentation though.
If you run this code, you will see that its not smooth at all, is there any way to set the object to the orientation of the matrix?
set display mode desktop width( ),desktop height( ), 32
set window on
sync on : sync rate 60
autocam off
color backdrop 0
for x = 1 to 100
for y = 1 to 100
dot x , y , rgb( 0 , ( rnd( 55 ) + 200 ) , 0)
next y
next x
get image 1 , 0 , 0 , 100 , 100
cls
make matrix 1 , 10000 , 10000 , 50 , 50
prepare matrix texture 1 , 1 , 1 , 1
randomize matrix 1 , 100
update matrix 1
make object cube 1 , 100
position object 1 , 0 , 0 + ( object size y( 1 ) / 2 ), 0
do
print get ground height( 1, object position x( 1 ), object position z( 1 ) )
position object 1,object position x( 1 ) ,( get ground height( 1 , object position x( 1 ) , object position z( 1 ) ) ) + ( object size y( 1 ) / 2 ) , object position z( 1 )
if upkey( )
move object 1 , 10
endif
if rightkey( )
yrotate object 1 , wrapvalue( object angle y( 1 ) + 2.0 )
endif
if leftkey( )
yrotate object 1 , wrapvalue( object angle y( 1 ) - 2.0 )
endif
position camera 0 , object position x( 1 ), object position y( 1 ) , object position z( 1 )
set camera to object orientation 0 , 1
move camera up 0 , 100
move camera 0 , -300
sync
loop
Thanks
Windows 7 32-Bit Home Premium Intel Pentium Dual-Core @ 1.46Ghz 2038mb RAM
