Open NKY5223 opened 2 years ago
How do you plan to achieve this?
const [ox, oy] = dirToOff(cell.direction);
const genCell = grid.getCell(x+ox, y+oy);
if (!genCell) return;
pushCell(x, y, direction, { force: 42, lastcell: genCell.clone() })
This would be example generator code.
42-?
yea but how would you code this
pushCell(x, y, direction, { force: 42, lastcell: genCell.clone() })
update cell.push when
never :trell:
No, I will work on it probably after the first release.
update nowwwwwww you already released now remake jell machine
Cell.push is as good as it is... just need to fix some diverger stuff
u p d a t e
Yes, update diverger interaction
what diverger
Redirector... My mind is CelLuaified so yeah update Redirectors, Tunnels, Crossways and Crossdirectors.
Yes yes don't be annoying. I also have a private life 😀
Pushing will soon be updated to be non-recursive. Then there will be a "lastcell" parameter that always specifies the pushing cell (makes acids possible, cells that destroy what they are pushed into)