This is a simple endless 2D grid editor inside single Control node
Just attach this script to Control Node and you are good to go
grid_mouse_in
- zoom ingrid_mouse_out
- zoom outgrid_drag
- drag button(moving the grid)grid_place_cell
- place cell buttongrid_remove_cell
- remove cell button
signal cell_placed(world_coords: Vector2)
sends placed cell's coordinatessignal cell_removed(world_coords: Vector2)
sends removed cell's coordinates