Skip to content

hadrizi/2d-grid-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Godot Singe-Node 2D Grid Editor

This is a simple endless 2D grid editor inside single Control node

Usage

Just attach this script to Control Node and you are good to go

Actions

  • grid_mouse_in - zoom in
  • grid_mouse_out - zoom out
  • grid_drag - drag button(moving the grid)
  • grid_place_cell - place cell button
  • grid_remove_cell - remove cell button

Signals

  • signal cell_placed(world_coords: Vector2) sends placed cell's coordinates
  • signal cell_removed(world_coords: Vector2) sends removed cell's coordinates

Showcase

Godot.Engine.2024.11.17.-.03.24.36.03.mp4

About

Godot Singe-Node 2D Grid Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published