Add core content definitions
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b1fxc23gkbqre"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b1fxc23gkbqre"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/bootstrap/GameRoot.cs" id="1_game_root"]
|
||||
[ext_resource type="Script" path="res://scripts/debug/DebugOverlay.cs" id="2_debug_overlay"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menu/MenuPlaceholder.tscn" id="3_menu"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/debug/SmokeScene.tscn" id="4_smoke"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/debug/ContentBrowser.tscn" id="5_content_browser"]
|
||||
|
||||
[node name="GameRoot" type="Node"]
|
||||
script = ExtResource("1_game_root")
|
||||
MenuScene = ExtResource("3_menu")
|
||||
SmokeScene = ExtResource("4_smoke")
|
||||
ContentBrowserScene = ExtResource("5_content_browser")
|
||||
|
||||
[node name="DebugOverlay" type="CanvasLayer" parent="."]
|
||||
script = ExtResource("2_debug_overlay")
|
||||
|
||||
39
godot/scenes/debug/ContentBrowser.tscn
Normal file
39
godot/scenes/debug/ContentBrowser.tscn
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cahv34nq56781"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/debug/ContentBrowserController.cs" id="1_content_browser"]
|
||||
|
||||
[node name="ContentBrowser" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_content_browser")
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = 16.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 48.0
|
||||
grow_horizontal = 2
|
||||
text = "Content Browser"
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = 56.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Content" type="Label" parent="Scroll"]
|
||||
layout_mode = 2
|
||||
text = "Loading..."
|
||||
Reference in New Issue
Block a user