Skip to content

Grid Lines

Zay Arriaga edited this page Jun 10, 2026 · 8 revisions

System Summary

The Grid Lines is a simple TileMapLayer that simply holds the grid lines in each cell, and gets auto-populated once a level is created or loaded.


Connected Systems

List of connecting/parent/subsystems.

Connecting Systems:


Bugs

List of known bugs. Be descriptive but keep it brief!

  • None.

Feature List / Breakdown of Features

  • Grid Lines: The TileMapLayer where grid line tiles are placed into. This allows the user to see all of the grid

Important Variables

Name the most important variables, their type, and what their purpose is

  • masterManager: Node2D = An exported reference to the master manager.
  • gridSize: Vector2i = The level width and height, stored in a Vector2i to be as accurate as possible.

Important Functions

Name of the most important functions, their parameters, and what they do.

  • func fill_grid_lines() -> void: Fills in the grid lines tile map with grid lines.

Future Work / Risks

List and description of upcoming work/risks.

Future Work:

  1. None.

Risks:

  • The only current risk might be the way that the GridLines.gd retrieves the MasterManager.tscn, as it needs to grab the MasterManager while in the MasterManager scene.

Miscellaneous Notes

A place for miscellaneous notes pertaining to this system.

  • None.

Clone this wiki locally