Set up the complete Godot 4.6 client foundation as a pure renderer (D-020): - project.godot with 2D rendering, autoloads, input actions - Main scene: Game > World (TileMapLayer, Entities, FogOverlay) + Camera2D + UILayer - Autoloads: SimBridge (connection state machine + test mode), GameState, InputMapper - Rendering stubs: WorldRenderer, EntityRenderer, FogRenderer - UI stubs: HUD (health/perception/time), Minimap, MonologueDisplay - Input mapping: WASD/arrows, E (interact), Tab (perception), Esc (menu), Space (pause) - gdUnit4 smoke tests: scene loads, autoloads registered (2/2 passing) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
420 B
GDScript
16 lines
420 B
GDScript
extends Control
|
|
|
|
# Minimap — small viewport showing local area
|
|
# Placeholder implementation for now
|
|
|
|
@onready var viewport_container: SubViewportContainer = $SubViewportContainer
|
|
|
|
func _ready() -> void:
|
|
print("Minimap: Initialized")
|
|
|
|
# Update minimap view (stub)
|
|
func update_minimap(player_pos: Vector2, entities: Array) -> void:
|
|
# TODO: Render minimap view
|
|
# This will show a top-down view of the local area
|
|
pass
|