Blockland Forums > Suggestions & Requests

Brick Connector/Optimiser Tool

Pages: << < (2/4) > >>

MARBLE MAN:


--- Quote from: Zeblote on December 11, 2013, 05:25:07 PM ---wait what you're working on some actually fancy and useful add-on
stop writing cliffs of useless code and finish it!!

--- End quote ---
I've been trying to do this in so many different ways it's not even funny..

It's a lot harder than you think

alex dude:


--- Quote from: MARBLE MAN on December 11, 2013, 05:23:16 PM ---I've been working on this..
I can give you something that only 1/2 works if you're okay

--- End quote ---
If you could finish it and release it when it's stable, it would be amazing.

MARBLE MAN:


--- Quote from: alex dude on December 11, 2013, 05:26:48 PM ---If you could finish it and release it when it's stable, it would be amazing.

--- End quote ---
It will never be entirely stable

Zeblote:


--- Quote from: MARBLE MAN on December 11, 2013, 05:26:35 PM ---It's a lot harder than you think

--- End quote ---
I'd say

step 1: find all nearby bricks of same color
step 2: use math to find way to fill it with least possible bricks
step 3: plant bricks

But I have no idea how to do step 2 with code

MARBLE MAN:


--- Quote from: Zeblote on December 11, 2013, 05:28:45 PM ---I'd say

step 1: find all nearby bricks of same color
step 2: use math to find way to fill it with least possible bricks
step 3: plant bricks

But I have no idea how to do step 2 with code

--- End quote ---
Check similar axis
Check scale
Check rotation and xy flipped scale
Check position

Pages: << < (2/4) > >>

Go to full version