Skip to content

Add GridLayer class - #1

Merged
Xrayez merged 2 commits into
gd3from
grid-layer
Sep 14, 2021
Merged

Xrayez merged 2 commits into
gd3from
grid-layer

Conversation

@Xrayez

@Xrayez Xrayez commented Sep 14, 2021 •

Copy link
Copy Markdown
Contributor

Allows to display infinite grid at run-time. Useful for debugging purposes. This means that you can move Camera2D to any place, and grid will be automatically redrawn based on canvas transform.

image

Simply add GridLayer node:

image

This requires GridRect node implemented in Goost, which is instantiated automatically in the editor with default parameters useful for debugging/editing (with the same colors in Godot's canvas editor). You can also add multiple GridRects, and all will be rendered alongside.

Allows to display infinite grid at run-time. Useful for debugging purposes.
@Xrayez Xrayez added the feature label Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant