Hmm, how do you make a box that is on ALL 3 layers? - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10) +--- Thread: Hmm, how do you make a box that is on ALL 3 layers? (/showthread.php?tid=3528) Pages:
1
2
|
RE: Hmm, how do you make a box that is on ALL 3 layers? - AK-47 - 04-18-2011 That might lag stuff a little, nah, I'd rather make the other bricks non-collidable in the same layer. RE: Hmm, how do you make a box that is on ALL 3 layers? - Ming-Yan - 04-18-2011 (04-18-2011, 02:23 PM)AK-47 Wrote: That might lag stuff a little, nah, I'd rather make the other bricks non-collidable in the same layer.Buildism has no lag. I can spam 1000 blocks in Grey world and it still runs 100%. 3 blocks isn't gonna do anything. Manually putting stuff in layers is something you learn is more efficient when making a full game. (because if your script has a hole, you will have to do a lot more work) RE: Hmm, how do you make a box that is on ALL 3 layers? - AK-47 - 04-18-2011 Yea, but a machinegun that fires 20 rounds per secound would. 20*3 = 60 bricks per second. RE: Hmm, how do you make a box that is on ALL 3 layers? - Ming-Yan - 04-18-2011 (04-18-2011, 02:29 PM)AK-47 Wrote: Yea, but a machinegun that fires 20 rounds per secound would. 20*3 = 60 bricks per second. That still wouldn't lag... A script calculating the position of a block and it's layer takes up more CPU than having 3 static blocks. RE: Hmm, how do you make a box that is on ALL 3 layers? - AK-47 - 04-18-2011 But the blocks aren't static. The move in one direction constantly. RE: Hmm, how do you make a box that is on ALL 3 layers? - Ming-Yan - 04-18-2011 (04-18-2011, 02:50 PM)AK-47 Wrote: But the blocks aren't static. The move in one direction constantly.You want the missiles to be on all 3 layers? Simple, put everything on one layer. I don't think the missile should logically collide with anything in front or behind it. |