91
Suggestions & Requests / Re: two guns player
« on: February 03, 2010, 01:18:57 PM »What is this I don't evenSome sidescroller game badspot made a while ago.
He seems to have removed all videos/screenshots/anything giving away content.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
What is this I don't evenSome sidescroller game badspot made a while ago.
Well your server must be quite active. [/sarcasm]
edit: nvmOh, well that's nice.
function serverCmdMakeSphere(%client, %radius) {
%tempBrick = %client.player.tempBrick;
if(%radius < 2 || !isObject(%tempBrick))
return;
%offset = %tempBrick.position;
for(%i = 0; %i <= 180; %i++) {
%z = mCos(%i);
%z = mFloor(%z * %radius * 5) / 5;
if(%z == %lastZ)
continue;
else
%lastZ = %z;
%thisPlaneRadius = mSin(%i) * %radius;
for(%j = 0; %j < 360; %j++) {
%thisPlanePos = mFloor(mCos(mDegToRad(%j)) * %thisPlaneRadius * 2) / 2 SPC mFloor(mSin(mDegToRad(%j)) * %thisPlaneRadius * 2) / 2;
if(%thisPlanePos $= %lastPlanePos)
continue;
else
%lastPlanePos = %thisPlanePos;
%b = new fxDTSBrick() {
dataBlock = brick1x1fData;
position = vectorAdd(%thisPlanePos SPC %z, %offset);
isPlanted = true;
};
%client.brickGroup.add(%b);
}
}
}
00 in hex is a null terminator.Just 'cause in C strings are conventionally null terminated doesn't mean that it can't be used elsewhere and for other purposes.
-_- It wont download for me cause of some freakin' glitch. You guys are SO lucky.(Assuming you have a mac) the auto updater is broken, download it from blockland.us.
pointless quote is pointlesspointless reply is pointlessPointless clan is pointlessPointless post is pointless.