Yehaaa.... now my code is readable
Object Player = Object();
Object Land = Object();
Coord3D playercoord = Coord3D(0,0,0);
Coord3D landcoord = Coord3D(0,0,0);
Land.Load("D:\\map.x");
Land.Position(landcoord);
Image LandTexture = Image(1);
LandTexture.Load("d:\\casstne.bmp");
Land.setTexture(LandTexture);
Player.MakeBox(1,2,0.5);
Player.Position(playercoord);
playercoord.Y = 50-Land.Intersect(playercoord.X,50,playercoord.Z,playercoord.X,-50,playercoord.Z);
Player.Position(playercoord);
I still have a looong way to have all OOP'ed, but Im learning
Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.