Tile set changing?

I cant find out how to change when the player breaks a block from looking like this:
image to this:
image
I’m using the 47 frame tile map setup @JR01 made

1 Like

The tilemap only checks for the blocks around it once, maybe have it so when a block breaks it sends a message to the other blocks to check again?

2 Likes

That could cause lag spikes when the message sends.

1 Like

I’ll try testing it now

1 Like

Thanks but I tried and it flopped not sure what to do.

Still trying to make a way for it to work, give me a second.

2 Likes

Does your block use 47 frames like the bottom text said?

It depends on the tileset you are using, would you mind posting a game link?

1 Like

If you want to update blocks around a broken block you can send the raycast with a message to the last thing hit by a raycast, so you only update the blocks nearby and it shouldn’t lag

I still don’t know if your block actually uses 47 frames, but here’s what I have in my game.

The Code
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":0,"outputCount":0,"name":"Block","behaviorType":"logic.NodeGroup","x":-1170,"y":-304,"group":"","id":"c9f6bd2e28be374f","isMenuItem":false},{"inputCount":3,"outputCount":2,"name":"RayCast","behaviorType":"logic.components.RayCast","x":-810,"y":128,"group":"c9f6bd2e28be374f","id":"c9e0912edd991441","targetClassId":18898358,"direction":270,"length":32,"earlyOut":false,"oX":0,"oY":0,"pin":false},{"inputCount":3,"outputCount":2,"name":"RayCast","behaviorType":"logic.components.RayCast","x":-810,"y":32,"group":"c9f6bd2e28be374f","id":"c9e0912fb7a7634f","targetClassId":18898358,"direction":180,"length":32,"earlyOut":false,"oX":0,"oY":0,"pin":false},{"inputCount":3,"outputCount":2,"name":"RayCast","behaviorType":"logic.components.RayCast","x":-810,"y":-64,"group":"c9f6bd2e28be374f","id":"c9e0912ffe405a49","targetClassId":18898358,"direction":90,"length":32,"earlyOut":false,"oX":0,"oY":0,"pin":false},{"inputCount":3,"outputCount":2,"name":"RayCast","behaviorType":"logic.components.RayCast","x":-810,"y":-160,"group":"c9f6bd2e28be374f","id":"c9e0912fecc77f48","targetClassId":18898358,"direction":0,"length":32,"earlyOut":false,"oX":0,"oY":0,"pin":false},{"inputCount":3,"outputCount":3,"name":"Animation","behaviorType":"logic.properties.Animation","x":-270,"y":-16,"group":"c9f6bd2e28be374f","id":"c9e0912fbe619044","animationName":"Block","priority":0,"lastFrameSticky":true},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":-64,"group":"c9e0913069cc5a49","id":"c9e0913129d15347","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":64,"group":"c9e0913069cc5a49","id":"c9e09131b2791b47","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-450,"y":0,"group":"c9e0913069cc5a49","id":"c9e0913180371c49","gateType":"AND"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-90,"y":0,"group":"c9e0913069cc5a49","id":"c9e091318d73e641","startVal":1,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-96,"group":"c9e0913069cc5a49","id":"c9e0913201354e47","portId":"c9e0913069cc5a49i0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-32,"group":"c9e0913069cc5a49","id":"c9e091326be56840","portId":"c9e0913069cc5a49i1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":48,"group":"c9e0913069cc5a49","id":"c9e09132e3200744","portId":"c9e0913069cc5a49i2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":112,"group":"c9e0913069cc5a49","id":"c9e0913285af9a4d","portId":"c9e0913069cc5a49i3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":90,"y":16,"group":"c9e0913069cc5a49","id":"c9e091322000af4b","portId":"c9e0913069cc5a49o0","tag":"output","dataType":2},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-270,"y":0,"group":"c9e0913069cc5a49","id":"c9e09133094d3143"},{"inputCount":4,"outputCount":1,"name":"Inside","behaviorType":"logic.NodeGroup","x":-540,"y":-192,"group":"c9f6bd2e28be374f","id":"c9e0913069cc5a49","isMenuItem":false},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-540,"y":-96,"group":"c9e09133dc003247","id":"c9e09133f3c1454b","startVal":2,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-540,"y":-176,"group":"c9e09133dc003247","id":"c9e091333e319647","startVal":5,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-540,"y":-16,"group":"c9e09133dc003247","id":"c9e09133833a2848","startVal":3,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-540,"y":64,"group":"c9e09133dc003247","id":"c9e0913405ec6645","startVal":4,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-720,"y":-176,"group":"c9e09133dc003247","id":"c9e091341e501d48","portId":"c9e09133dc003247i0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-720,"y":-96,"group":"c9e09133dc003247","id":"c9e091344027fb48","portId":"c9e09133dc003247i1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-720,"y":-16,"group":"c9e09133dc003247","id":"c9e0913493ca2a4f","portId":"c9e09133dc003247i2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-720,"y":64,"group":"c9e09133dc003247","id":"c9e0913485784945","portId":"c9e09133dc003247i3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":-360,"y":-48,"group":"c9e09133dc003247","id":"c9e09134c8563a45","portId":"c9e09133dc003247o0","tag":"output","dataType":2},{"inputCount":4,"outputCount":1,"name":"Side","behaviorType":"logic.NodeGroup","x":-540,"y":-80,"group":"c9f6bd2e28be374f","id":"c9e09133dc003247","isMenuItem":false},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":-64,"group":"c9e09134ebfe6a46","id":"c9e09134e727f446","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":64,"group":"c9e09134ebfe6a46","id":"c9e091359608fc42","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-450,"y":0,"group":"c9e09134ebfe6a46","id":"c9e09135651b9b4a","gateType":"AND"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-270,"y":0,"group":"c9e09134ebfe6a46","id":"c9e09135b13b6d44","startVal":16,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-96,"group":"c9e09134ebfe6a46","id":"c9e09135d4e5d448","portId":"c9e09134ebfe6a46i0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-32,"group":"c9e09134ebfe6a46","id":"c9e091359bb0e948","portId":"c9e09134ebfe6a46i1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":48,"group":"c9e09134ebfe6a46","id":"c9e09135de15be42","portId":"c9e09134ebfe6a46i2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":112,"group":"c9e09134ebfe6a46","id":"c9e091356227f347","portId":"c9e09134ebfe6a46i3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":-90,"y":16,"group":"c9e09134ebfe6a46","id":"c9e0913511d23549","portId":"c9e09134ebfe6a46o0","tag":"output","dataType":2},{"inputCount":4,"outputCount":1,"name":"Outside","behaviorType":"logic.NodeGroup","x":-540,"y":-304,"group":"c9f6bd2e28be374f","id":"c9e09134ebfe6a46","isMenuItem":false},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":-160,"group":"c9e0913550f8964b","id":"c9e0913504660746","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":-64,"group":"c9e0913550f8964b","id":"c9e09136564cb649","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":32,"group":"c9e0913550f8964b","id":"c9e09136c142c24b","gateType":"AND"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":-160,"group":"c9e0913550f8964b","id":"c9e091361e776948","startVal":6,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-144,"group":"c9e0913550f8964b","id":"c9e0913670fb2a4c","portId":"c9e0913550f8964bi0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-32,"group":"c9e0913550f8964b","id":"c9e09136eb050141","portId":"c9e0913550f8964bi1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":64,"group":"c9e0913550f8964b","id":"c9e0913662fd1e4b","portId":"c9e0913550f8964bi2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":160,"group":"c9e0913550f8964b","id":"c9e09136fe6ed046","portId":"c9e0913550f8964bi3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":-180,"y":0,"group":"c9e0913550f8964b","id":"c9e09136dce17640","portId":"c9e0913550f8964bo0","tag":"output","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":32,"group":"c9e0913550f8964b","id":"c9e09136e7d33149","startVal":8,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":-64,"group":"c9e0913550f8964b","id":"c9e091365508314d","startVal":7,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":128,"group":"c9e0913550f8964b","id":"c9e09136edac1641","startVal":9,"tag":"","roundMode":1},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":128,"group":"c9e0913550f8964b","id":"c9e0913720a3134c","gateType":"AND"},{"inputCount":4,"outputCount":1,"name":"Corner Side","behaviorType":"logic.NodeGroup","x":-540,"y":32,"group":"c9f6bd2e28be374f","id":"c9e0913550f8964b","isMenuItem":false},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":-128,"group":"c9e09137dadb454c","id":"c9e09137c4ed1d4e","gateType":"AND"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":-128,"group":"c9e09137dadb454c","id":"c9e09137473c5e4e","startVal":15,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-144,"group":"c9e09137dadb454c","id":"c9e09137a19f164d","portId":"c9e09137dadb454ci0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":0,"group":"c9e09137dadb454c","id":"c9e091378b71f540","portId":"c9e09137dadb454ci1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":-80,"group":"c9e09137dadb454c","id":"c9e09137fb15294d","portId":"c9e09137dadb454ci2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-810,"y":80,"group":"c9e09137dadb454c","id":"c9e091375fec134d","portId":"c9e09137dadb454ci3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":-270,"y":-32,"group":"c9e09137dadb454c","id":"c9e091374d17b64b","portId":"c9e09137dadb454co0","tag":"output","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-450,"y":32,"group":"c9e09137dadb454c","id":"c9e09138b4a0fb43","startVal":14,"tag":"","roundMode":1},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-630,"y":32,"group":"c9e09137dadb454c","id":"c9e091380a02b44a","gateType":"AND"},{"inputCount":4,"outputCount":1,"name":"Horizontal & Vertical","behaviorType":"logic.NodeGroup","x":-540,"y":144,"group":"c9f6bd2e28be374f","id":"c9e09137dadb454c","isMenuItem":false},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-270,"y":-160,"group":"c9e09138eba0d349","id":"c9e09138432c984f","startVal":10,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-1530,"y":-160,"group":"c9e09138eba0d349","id":"c9e09138b9cb2a4f","portId":"c9e09138eba0d349i0","tag":"1","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-1530,"y":-48,"group":"c9e09138eba0d349","id":"c9e091381675b340","portId":"c9e09138eba0d349i1","tag":"2","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-1530,"y":64,"group":"c9e09138eba0d349","id":"c9e0913832412745","portId":"c9e09138eba0d349i2","tag":"3","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-1530,"y":176,"group":"c9e09138eba0d349","id":"c9e091388e6f1847","portId":"c9e09138eba0d349i3","tag":"4","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":180,"y":16,"group":"c9e09138eba0d349","id":"c9e091383d84c142","portId":"c9e09138eba0d349o0","tag":"output","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-270,"y":32,"group":"c9e09138eba0d349","id":"c9e091382e35514c","startVal":12,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-270,"y":-64,"group":"c9e09138eba0d349","id":"c9e09139de58c440","startVal":11,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-270,"y":128,"group":"c9e09138eba0d349","id":"c9e09139a86ce941","startVal":13,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-810,"y":-176,"group":"c9e09138eba0d349","id":"c9e0913991eb9643","startVal":0,"roundMode":1},{"gateVal":3,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-630,"y":-160,"group":"c9e09138eba0d349","id":"c9e0913939fb9741"},{"gateVal":3,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-630,"y":-64,"group":"c9e09138eba0d349","id":"c9e09139109a4744"},{"gateVal":3,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-630,"y":32,"group":"c9e09138eba0d349","id":"c9e091390a3fb24d"},{"gateVal":3,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-630,"y":128,"group":"c9e09138eba0d349","id":"c9e09139a74b0141"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-990,"y":-176,"group":"c9e09138eba0d349","id":"c9e09139298e4f45","startVal":1,"tag":"","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-630,"y":-224,"group":"c9e09138eba0d349","id":"c9e09139b6631342"},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-450,"y":-160,"group":"c9e09138eba0d349","id":"c9e09139be5cc349","_startVal":0,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-450,"y":-64,"group":"c9e09138eba0d349","id":"c9e0913a7955c642","_startVal":0,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-450,"y":32,"group":"c9e09138eba0d349","id":"c9e0913a77b9d14f","_startVal":0,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-450,"y":128,"group":"c9e09138eba0d349","id":"c9e0913a83f20b4e","_startVal":0,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-810,"y":-64,"group":"c9e09138eba0d349","id":"c9e0913■■■3a7f4c","startVal":0,"roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-990,"y":-64,"group":"c9e09138eba0d349","id":"c9e0913a732aae4d","startVal":1,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-810,"y":48,"group":"c9e09138eba0d349","id":"c9e0913a6eac394f","startVal":0,"roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-990,"y":48,"group":"c9e09138eba0d349","id":"c9e0913a17013b44","startVal":1,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-810,"y":160,"group":"c9e09138eba0d349","id":"c9e0913a1161ff42","startVal":0,"roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-990,"y":160,"group":"c9e09138eba0d349","id":"c9e0913a67c49c45","startVal":1,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-1350,"y":-160,"group":"c9e09138eba0d349","id":"c9e0913a83368f46","_startVal":1,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-1350,"y":-48,"group":"c9e09138eba0d349","id":"c9e0913ad7737042","_startVal":1,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-1350,"y":64,"group":"c9e09138eba0d349","id":"c9e0913aa4e6bd4c","_startVal":1,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-1350,"y":176,"group":"c9e09138eba0d349","id":"c9e0913b884c0042","_startVal":1,"dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":0,"y":0,"group":"c9e09138eba0d349","id":"c9f5bc6f207d0b4e","_startVal":1,"dataType":2},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-450,"y":320,"group":"c9e09138eba0d349","id":"c9f5d0d5eba0ce4e","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-450,"y":224,"group":"c9e09138eba0d349","id":"c9f5d25e0685404b","gateType":"AND"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-270,"y":272,"group":"c9e09138eba0d349","id":"c9f5d3fd66ab8140","gateType":"AND"},{"inputCount":4,"outputCount":1,"name":"Middle Side","behaviorType":"logic.NodeGroup","x":-540,"y":256,"group":"c9f6bd2e28be374f","id":"c9e09138eba0d349","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-1170,"y":0,"group":"c9f6bd2e28be374f","id":"c9eefa5d23f46541","resetOnLevelStart":false},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-990,"y":-16,"group":"c9f6bd2e28be374f","id":"c9f0980acaf06946"},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":-900,"y":240,"group":"75ee1fcdbf9a0d41","id":"75ee4fe1f230c547","portId":"75ee1fcdbf9a0d41o0","tag":"out","dataType":2},{"inputCount":0,"outputCount":1,"name":"Mailbox","behaviorType":"logic.components.Mailbox","x":-1080,"y":240,"group":"75ee1fcdbf9a0d41","id":"75eeedf36098f140","msg":"Reset"},{"inputCount":0,"outputCount":1,"name":"Reset block","behaviorType":"logic.NodeGroup","x":-1170,"y":80,"group":"c9f6bd2e28be374f","id":"75ee1fcdbf9a0d41","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Mailbox","behaviorType":"logic.components.Mailbox","x":-1080,"y":384,"group":"75f1f25f40216340","id":"75f1e5d9e4086a4d","notes":"This behaviorbehavior might be replace by other behavior/code.","n_o":0,"msg":"Broke"},{"inputCount":1,"outputCount":1,"name":"Destroyer","behaviorType":"logic.components.Destroyer","x":-900,"y":384,"group":"75f1f25f40216340","id":"75f1e5da9f0bc84e"},{"inputCount":1,"outputCount":0,"name":"Message","behaviorType":"logic.components.Message","x":-900,"y":464,"group":"75f1f25f40216340","id":"75f1e5daf9c91e4f","msg":"Reset","route":"SendToSelected","targetClassId":18898358},{"inputCount":0,"outputCount":0,"name":"Break","behaviorType":"logic.NodeGroup","x":-810,"y":240,"group":"c9f6bd2e28be374f","id":"75f1f25f40216340","isMenuItem":false}],"links":[{"input_id":"c9e0913069cc5a49i3","output_id":"c9e0912edd991441o0"},{"input_id":"c9e09133dc003247i3","output_id":"c9e0912edd991441o0"},{"input_id":"c9e0913550f8964bi3","output_id":"c9e0912edd991441o0"},{"input_id":"c9e09137dadb454ci3","output_id":"c9e0912edd991441o0"},{"input_id":"c9e09138eba0d349i3","output_id":"c9e0912edd991441o0"},{"input_id":"c9e09134ebfe6a46i3","output_id":"c9e0912edd991441o1"},{"input_id":"c9e0913069cc5a49i2","output_id":"c9e0912fb7a7634fo0"},{"input_id":"c9e09133dc003247i2","output_id":"c9e0912fb7a7634fo0"},{"input_id":"c9e0913550f8964bi2","output_id":"c9e0912fb7a7634fo0"},{"input_id":"c9e09137dadb454ci2","output_id":"c9e0912fb7a7634fo0"},{"input_id":"c9e09138eba0d349i2","output_id":"c9e0912fb7a7634fo0"},{"input_id":"c9e09134ebfe6a46i2","output_id":"c9e0912fb7a7634fo1"},{"input_id":"c9e0913069cc5a49i1","output_id":"c9e0912ffe405a49o0"},{"input_id":"c9e09133dc003247i1","output_id":"c9e0912ffe405a49o0"},{"input_id":"c9e0913550f8964bi1","output_id":"c9e0912ffe405a49o0"},{"input_id":"c9e09137dadb454ci1","output_id":"c9e0912ffe405a49o0"},{"input_id":"c9e09138eba0d349i1","output_id":"c9e0912ffe405a49o0"},{"input_id":"c9e09134ebfe6a46i1","output_id":"c9e0912ffe405a49o1"},{"input_id":"c9e0913069cc5a49i0","output_id":"c9e0912fecc77f48o0"},{"input_id":"c9e09133dc003247i0","output_id":"c9e0912fecc77f48o0"},{"input_id":"c9e0913550f8964bi0","output_id":"c9e0912fecc77f48o0"},{"input_id":"c9e09137dadb454ci0","output_id":"c9e0912fecc77f48o0"},{"input_id":"c9e09138eba0d349i0","output_id":"c9e0912fecc77f48o0"},{"input_id":"c9e09134ebfe6a46i0","output_id":"c9e0912fecc77f48o1"},{"input_id":"c9e0913180371c49i0","output_id":"c9e0913129d15347o0"},{"input_id":"c9e0913180371c49i1","output_id":"c9e09131b2791b47o0"},{"input_id":"c9e09133094d3143i0","output_id":"c9e0913180371c49o0"},{"input_id":"c9e091322000af4bi0","output_id":"c9e091318d73e641o0"},{"input_id":"c9e0913129d15347i0","output_id":"c9e0913201354e47o0"},{"input_id":"c9e0913129d15347i1","output_id":"c9e091326be56840o0"},{"input_id":"c9e09131b2791b47i0","output_id":"c9e09132e3200744o0"},{"input_id":"c9e09131b2791b47i1","output_id":"c9e0913285af9a4do0"},{"input_id":"c9e091318d73e641i1","output_id":"c9e09133094d3143o0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e0913069cc5a49o0"},{"input_id":"c9e09134c8563a45i0","output_id":"c9e09133f3c1454bo0"},{"input_id":"c9e09134c8563a45i0","output_id":"c9e091333e319647o0"},{"input_id":"c9e09134c8563a45i0","output_id":"c9e09133833a2848o0"},{"input_id":"c9e09134c8563a45i0","output_id":"c9e0913405ec6645o0"},{"input_id":"c9e091333e319647i1","output_id":"c9e091341e501d48o0"},{"input_id":"c9e09133f3c1454bi1","output_id":"c9e091344027fb48o0"},{"input_id":"c9e09133833a2848i1","output_id":"c9e0913493ca2a4fo0"},{"input_id":"c9e0913405ec6645i1","output_id":"c9e0913485784945o0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e09133dc003247o0"},{"input_id":"c9e09135651b9b4ai0","output_id":"c9e09134e727f446o0"},{"input_id":"c9e09135651b9b4ai1","output_id":"c9e091359608fc42o0"},{"input_id":"c9e09135b13b6d44i1","output_id":"c9e09135651b9b4ao0"},{"input_id":"c9e0913511d23549i0","output_id":"c9e09135b13b6d44o0"},{"input_id":"c9e09134e727f446i0","output_id":"c9e09135d4e5d448o0"},{"input_id":"c9e09134e727f446i1","output_id":"c9e091359bb0e948o0"},{"input_id":"c9e091359608fc42i0","output_id":"c9e09135de15be42o0"},{"input_id":"c9e091359608fc42i1","output_id":"c9e091356227f347o0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e09134ebfe6a46o0"},{"input_id":"c9e091361e776948i1","output_id":"c9e0913504660746o0"},{"input_id":"c9e091365508314di1","output_id":"c9e09136564cb649o0"},{"input_id":"c9e09136e7d33149i1","output_id":"c9e09136c142c24bo0"},{"input_id":"c9e09136dce17640i0","output_id":"c9e091361e776948o0"},{"input_id":"c9e0913504660746i0","output_id":"c9e0913670fb2a4co0"},{"input_id":"c9e0913720a3134ci0","output_id":"c9e0913670fb2a4co0"},{"input_id":"c9e0913504660746i1","output_id":"c9e09136eb050141o0"},{"input_id":"c9e09136564cb649i0","output_id":"c9e09136eb050141o0"},{"input_id":"c9e09136564cb649i1","output_id":"c9e0913662fd1e4bo0"},{"input_id":"c9e09136c142c24bi0","output_id":"c9e0913662fd1e4bo0"},{"input_id":"c9e09136c142c24bi1","output_id":"c9e09136fe6ed046o0"},{"input_id":"c9e0913720a3134ci1","output_id":"c9e09136fe6ed046o0"},{"input_id":"c9e09136dce17640i0","output_id":"c9e09136e7d33149o0"},{"input_id":"c9e09136dce17640i0","output_id":"c9e091365508314do0"},{"input_id":"c9e09136dce17640i0","output_id":"c9e09136edac1641o0"},{"input_id":"c9e09136edac1641i1","output_id":"c9e0913720a3134co0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e0913550f8964bo0"},{"input_id":"c9e09137473c5e4ei1","output_id":"c9e09137c4ed1d4eo0"},{"input_id":"c9e091374d17b64bi0","output_id":"c9e09137473c5e4eo0"},{"input_id":"c9e09137c4ed1d4ei0","output_id":"c9e09137a19f164do0"},{"input_id":"c9e091380a02b44ai0","output_id":"c9e091378b71f540o0"},{"input_id":"c9e09137c4ed1d4ei1","output_id":"c9e09137fb15294do0"},{"input_id":"c9e091380a02b44ai1","output_id":"c9e091375fec134do0"},{"input_id":"c9e091374d17b64bi0","output_id":"c9e09138b4a0fb43o0"},{"input_id":"c9e09138b4a0fb43i1","output_id":"c9e091380a02b44ao0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e09137dadb454co0"},{"input_id":"c9f5bc6f207d0b4ei2","output_id":"c9e09138432c984fo0"},{"input_id":"c9e0913a83368f46i2","output_id":"c9e09138b9cb2a4fo0"},{"input_id":"c9e0913ad7737042i2","output_id":"c9e091381675b340o0"},{"input_id":"c9e0913aa4e6bd4ci2","output_id":"c9e0913832412745o0"},{"input_id":"c9e0913b884c0042i2","output_id":"c9e091388e6f1847o0"},{"input_id":"c9f5bc6f207d0b4ei2","output_id":"c9e091382e35514co0"},{"input_id":"c9f5bc6f207d0b4ei2","output_id":"c9e09139de58c440o0"},{"input_id":"c9f5bc6f207d0b4ei2","output_id":"c9e09139a86ce941o0"},{"input_id":"c9e0913939fb9741i1","output_id":"c9e0913991eb9643o0"},{"input_id":"c9e09139be5cc349i1","output_id":"c9e0913939fb9741o0"},{"input_id":"c9f5d25e0685404bi0","output_id":"c9e0913939fb9741o0"},{"input_id":"c9e0913a7955c642i1","output_id":"c9e09139109a4744o0"},{"input_id":"c9f5d25e0685404bi1","output_id":"c9e09139109a4744o0"},{"input_id":"c9e0913a77b9d14fi1","output_id":"c9e091390a3fb24do0"},{"input_id":"c9f5d0d5eba0ce4ei0","output_id":"c9e091390a3fb24do0"},{"input_id":"c9e0913a83f20b4ei1","output_id":"c9e09139a74b0141o0"},{"input_id":"c9f5d0d5eba0ce4ei1","output_id":"c9e09139a74b0141o0"},{"input_id":"c9e0913991eb9643i2","output_id":"c9e09139298e4f45o0"},{"input_id":"c9e09139be5cc349i2","output_id":"c9e09139b6631342o0"},{"input_id":"c9e0913a7955c642i2","output_id":"c9e09139b6631342o0"},{"input_id":"c9e0913a77b9d14fi2","output_id":"c9e09139b6631342o0"},{"input_id":"c9e0913a83f20b4ei2","output_id":"c9e09139b6631342o0"},{"input_id":"c9e09138432c984fi1","output_id":"c9e09139be5cc349o0"},{"input_id":"c9e09139de58c440i1","output_id":"c9e0913a7955c642o0"},{"input_id":"c9e091382e35514ci1","output_id":"c9e0913a77b9d14fo0"},{"input_id":"c9e09139a86ce941i1","output_id":"c9e0913a83f20b4eo0"},{"input_id":"c9e09139109a4744i1","output_id":"c9e0913■■■3a7f4co0"},{"input_id":"c9e0913■■■3a7f4ci2","output_id":"c9e0913a732aae4do0"},{"input_id":"c9e091390a3fb24di1","output_id":"c9e0913a6eac394fo0"},{"input_id":"c9e0913a6eac394fi2","output_id":"c9e0913a17013b44o0"},{"input_id":"c9e09139a74b0141i1","output_id":"c9e0913a1161ff42o0"},{"input_id":"c9e0913a1161ff42i2","output_id":"c9e0913a67c49c45o0"},{"input_id":"c9e0913a83368f46i0","output_id":"c9e0913a83368f46o0"},{"input_id":"c9e09139298e4f45i1","output_id":"c9e0913a83368f46o0"},{"input_id":"c9e0913a732aae4di1","output_id":"c9e0913a83368f46o0"},{"input_id":"c9e0913a17013b44i1","output_id":"c9e0913a83368f46o0"},{"input_id":"c9e0913ad7737042i0","output_id":"c9e0913ad7737042o0"},{"input_id":"c9e0913a732aae4di1","output_id":"c9e0913ad7737042o0"},{"input_id":"c9e0913a17013b44i1","output_id":"c9e0913ad7737042o0"},{"input_id":"c9e0913a67c49c45i1","output_id":"c9e0913ad7737042o0"},{"input_id":"c9e09139298e4f45i1","output_id":"c9e0913aa4e6bd4co0"},{"input_id":"c9e0913aa4e6bd4ci0","output_id":"c9e0913aa4e6bd4co0"},{"input_id":"c9e0913a17013b44i1","output_id":"c9e0913aa4e6bd4co0"},{"input_id":"c9e0913a67c49c45i1","output_id":"c9e0913aa4e6bd4co0"},{"input_id":"c9e09139298e4f45i1","output_id":"c9e0913b884c0042o0"},{"input_id":"c9e0913a732aae4di1","output_id":"c9e0913b884c0042o0"},{"input_id":"c9e0913b884c0042i0","output_id":"c9e0913b884c0042o0"},{"input_id":"c9e0913a67c49c45i1","output_id":"c9e0913b884c0042o0"},{"input_id":"c9e091383d84c142i0","output_id":"c9f5bc6f207d0b4eo0"},{"input_id":"c9f5d3fd66ab8140i1","output_id":"c9f5d0d5eba0ce4eo0"},{"input_id":"c9f5d3fd66ab8140i0","output_id":"c9f5d25e0685404bo0"},{"input_id":"c9f5bc6f207d0b4ei0","output_id":"c9f5d3fd66ab8140o0"},{"input_id":"c9e0912fbe619044i2","output_id":"c9e09138eba0d349o0"},{"input_id":"c9f0980acaf06946i0","output_id":"c9eefa5d23f46541o0"},{"input_id":"c9e0912fecc77f48i2","output_id":"c9f0980acaf06946o0"},{"input_id":"c9e0912ffe405a49i2","output_id":"c9f0980acaf06946o0"},{"input_id":"c9e0912fb7a7634fi2","output_id":"c9f0980acaf06946o0"},{"input_id":"c9e0912edd991441i2","output_id":"c9f0980acaf06946o0"},{"input_id":"75ee4fe1f230c547i0","output_id":"75eeedf36098f140o0"},{"input_id":"c9f0980acaf06946i0","output_id":"75ee1fcdbf9a0d41o0"},{"input_id":"75f1e5da9f0bc84ei0","output_id":"75f1e5d9e4086a4do0"},{"input_id":"75f1e5daf9c91e4fi0","output_id":"75f1e5d9e4086a4do0"}]}}}

What does the code look like:


Frame Order (1-11):

Frame Order (7-16)

1 Like

Yes it does use 47 frames And here is the link:

Well, you won’t actually need help. Based on the code you make, you just need to make a code that refreshes all the code of the blocks so they can run the frame they need to. Also, there are some “Message” behaviors that don’t have any “MailBox” so they can send signals. Besides, I don’t really understand how your code actually work so the refresh part is up to you, buddy.

Refreshing the code of all blocks would be laggy, especially in bigger levels. Instead, only blocks adjacent to the tile being broken should refresh.

Good one, and RayCast might help for this to find blocks were broken.

1 Like

That’s what I suggested

Since your using my old tilemap system, if you remove a block, you also have to remove it from the list. I really suggest my latest Live Tilemap example to help with performance and easier to update the blocks. I just added the feature for adding and removing blocks in this example.

2 Likes