godot-steering-ai-framework/project/demos/Utils/DemoInterface.tscn
Nathan Lovato 6132a0aa25 Refactor the demos to support screen resizing
Add BackgroudLayer and DemoInterface scenes that we can reuse across demos
Set the game to 2D and extend window modes

Part of #21
2020-02-08 15:40:43 -06:00

38 lines
990 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=1]
[ext_resource path="res://demos/Utils/DemoInterface.gd" type="Script" id=2]
[sub_resource type="GDScript" id=1]
script/source = "tool
extends RichTextLabel
"
[node name="DemoInterface" type="PanelContainer"]
anchor_right = 1.0
margin_bottom = 87.0
rect_min_size = Vector2( 1024, 0 )
theme = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
text_bbcode = "Replace this text for the demo."
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_right = 1920.0
margin_bottom = 87.0
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer"]
margin_left = 16.0
margin_top = 16.0
margin_right = 1904.0
margin_bottom = 71.0
rect_min_size = Vector2( 0, 55 )
bbcode_enabled = true
bbcode_text = "Replace this text for the demo."
text = "Replace this text for the demo."
scroll_active = false
script = SubResource( 1 )