feat: Add core map generation and management system

- Introduced MapData, MapGenerator, and MapPainter classes for procedural map generation.
- Implemented LevelManager to handle level initialization and navigation.
- Created TurnManager for managing turn order in a turn-based system.
- Added Player and Enemy character classes with movement and turn-taking capabilities.
- Established pathfinding using AStar2D in PathfindingHandler.
- Integrated new scenes for player and enemy characters, along with world setup.
- Included a new tileset for futuristic Zelda-themed assets.
This commit is contained in:
2026-03-16 16:24:32 +11:00
parent f5e33fb8ea
commit bb1c9f9284
39 changed files with 2341 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://hwbs3q16spqx"]
[ext_resource type="Script" uid="uid://dh5hx2lospkug" path="res://scripts/actors/character.gd" id="1_4i4j6"]
[ext_resource type="Texture2D" uid="uid://b7s06o6gm42rn" path="res://assets/sprites/icon.svg" id="2_qkj82"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_35asm"]
size = Vector2(32, 32)
[node name="Enemy" type="CharacterBody2D" unique_id=1059490557]
script = ExtResource("1_4i4j6")
metadata/_custom_type_script = "uid://dh5hx2lospkug"
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=569576189]
self_modulate = Color(1, 0, 0, 1)
scale = Vector2(0.25, 0.25)
texture = ExtResource("2_qkj82")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=328269646]
shape = SubResource("RectangleShape2D_35asm")