CodeBase - XYZ Axis line thingy for confused beginners, or measuring game units

Return to the CodeBase listing

Category: Miscellaneous

Version: 1.0

0
0

Information

Uploaded: 26th Mar 2004 05:00

Modified: 30th Mar 2004 04:06

Author:  Someone

Summary

Just a function makes 3 lines across the X Y and Z axis, well, really line of spheres. fully customisable by passing info to the function.

Full Description

Being a beginner to Dark Basic classic myself, I was condused at what exactly a game unit was, where in my 3D world I was, and what I should put where, and scaling and such. So i figured the basic thing to do would be make 3 lines showing X Y and Z. and maybe number them like a measuring tool. Well, I don't know how I could number them. (if you really wanted to I suppose you could make 10 textures with the numbers on them and have those applied to the spheres during the loops...)<br /> <br /> Anyways, just give this function a XYZ coord where you want it to position its center at, then the distance you want between each dot, then the number of dots you want, then how wide you want each dot to be. I used <br /> 3DAxis(100,0,100,10,20,2)<br /> <br /> Anyways, if it doesn't work good or something, sorry, I'm new to Dark Basic myself, and this is my first contribution to the code base.<br /> Also, don't try callilng it more than once in your game, or making the number of dots to more than 100. I don't think it would like that.<br /> <br /> Cheers.

Comments

No comments yet.