diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-24 21:46:00 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-24 21:46:00 -0300 |
| commit | efb712cb70ca1d0913bb69456ac2344fbaacad0e (patch) | |
| tree | f59a1ce426ed8ee9373b1577126c55c8017dbc4a /scenes | |
| parent | 723e66a82606ee78ca4156a0c0a850185b4c0369 (diff) | |
Gerador de masmorras.
Diffstat (limited to 'scenes')
| -rw-r--r-- | scenes/Game.tscn | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scenes/Game.tscn b/scenes/Game.tscn index 0b85ec0..484d67a 100644 --- a/scenes/Game.tscn +++ b/scenes/Game.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=4 format=3 uid="uid://u5h6iqyi8wd0"] +[gd_scene load_steps=5 format=3 uid="uid://u5h6iqyi8wd0"] [ext_resource type="Script" uid="uid://dwubb28wt4bhe" path="res://scripts/Game.cs" id="1_cpr0p"] -[ext_resource type="Script" uid="uid://fe2h4is11tnw" path="res://scripts/Map.cs" id="3_cpr0p"] +[ext_resource type="Script" uid="uid://fe2h4is11tnw" path="res://scripts/map/Map.cs" id="3_cpr0p"] [ext_resource type="Script" uid="uid://ejqmdbc0524i" path="res://scripts/InputHandler.cs" id="3_s0nni"] +[ext_resource type="Script" uid="uid://dwyr067lwqcsj" path="res://scripts/map/DungeonGenerator.cs" id="4_78awf"] [node name="Game" type="Node"] script = ExtResource("1_cpr0p") @@ -12,8 +13,13 @@ script = ExtResource("3_s0nni") [node name="Map" type="Node2D" parent="."] script = ExtResource("3_cpr0p") -Height = 20 -Width = 20 + +[node name="Generator" type="Node" parent="Map"] +script = ExtResource("4_78awf") +seed = 989 +maxRooms = 30 +roomMinWidth = 4 +roomMinHeight = 5 [node name="Actors" type="Node2D" parent="."] |
