RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
Grid World System

Data-first helpers for tile worlds, obstacle cells, pickups, and grid bounds. More...

Files

file  grid_viewport_manager.gd
 Reusable camera and coordinate helpers for grid/tile worlds rendered into a centered playfield panel.
 

Variables

 grid_world_manager.Array
 Collects a material node on the matching cell and returns the pickup delta.
 
 grid_world_manager.Dictionary
 
 grid_world_manager.int
 
 grid_world_manager.world_config = config.duplicate(true)
 
 grid_world_manager.tile_size = max(1.0, float(next_tile_size))
 
 grid_world_manager.cells = rect_to_cells(_rect_from_value(obstacle.get("rect", [])))
 
 grid_world_manager.min_cell
 
 grid_world_manager.max_cell
 
 grid_world_manager.node_id
 
 grid_world_manager.Vector2i
 
 grid_world_manager.id
 
 grid_world_manager.entry
 
int grid_world_manager.cache_hits = 0
 
int grid_world_manager.cache_misses = 0
 
 grid_world_manager.String
 
 grid_world_manager.requires
 
 grid_world_manager.expected
 

Detailed Description

Data-first helpers for tile worlds, obstacle cells, pickups, and grid bounds.

Expands tile obstacles, exposes grid bounds, tracks material pickups, and shares world-cell helpers for grid-based games.

Variable Documentation

◆ Array

grid_world_manager.Array

Collects a material node on the matching cell and returns the pickup delta.

Definition at line 9 of file grid_world_manager.gd.

◆ cache_hits

int grid_world_manager.cache_hits = 0

Definition at line 128 of file grid_world_manager.gd.

◆ cache_misses

int grid_world_manager.cache_misses = 0

Definition at line 129 of file grid_world_manager.gd.

◆ cells

grid_world_manager.cells = rect_to_cells(_rect_from_value(obstacle.get("rect", [])))

Definition at line 37 of file grid_world_manager.gd.

◆ Dictionary

grid_world_manager.Dictionary

Definition at line 10 of file grid_world_manager.gd.

◆ entry

grid_world_manager.entry

Definition at line 108 of file grid_world_manager.gd.

◆ expected

grid_world_manager.expected

Definition at line 186 of file grid_world_manager.gd.

◆ id

grid_world_manager.id

Definition at line 103 of file grid_world_manager.gd.

◆ int

grid_world_manager.int

Definition at line 12 of file grid_world_manager.gd.

◆ max_cell

grid_world_manager.max_cell

Definition at line 55 of file grid_world_manager.gd.

◆ min_cell

grid_world_manager.min_cell

Definition at line 54 of file grid_world_manager.gd.

◆ node_id

grid_world_manager.node_id

Definition at line 76 of file grid_world_manager.gd.

◆ requires

grid_world_manager.requires

Definition at line 182 of file grid_world_manager.gd.

◆ String

grid_world_manager.String

Definition at line 163 of file grid_world_manager.gd.

◆ tile_size

grid_world_manager.tile_size = max(1.0, float(next_tile_size))

Definition at line 19 of file grid_world_manager.gd.

◆ Vector2i

grid_world_manager.Vector2i

Definition at line 94 of file grid_world_manager.gd.

◆ world_config

grid_world_manager.world_config = config.duplicate(true)

Definition at line 18 of file grid_world_manager.gd.