I’m not sure what type of extension it would be. I’m still playing with the concept. I added a drag layer, so the tile being dragged doen’t go behind the other tiles. It’s easier than playing with the Z-order. It’s pretty straight forward.
It needs to be completely reworked. I don’t like having different tile objects. I think I’ll move all of the animations to 1 object type. That will take work.
I’m also moving the tiles to a tray. The space key toggles the switch and the delete key deletes a tile. You can also drop the tile back on the tray to delete the tile.
https://gd.games/instant-builds/78585652-2670-4caa-a995-f7779168dc65
Source:
https://github.com/doug13579/gdevelop-wire-battery-example-3