ygdra/screen/exploration_screen.tscn

107 lines
2.8 KiB
Plaintext

[gd_scene load_steps=11 format=2]
[ext_resource path="res://screen/exploration_screen.gd" type="Script" id=1]
[ext_resource path="res://entity/player.tscn" type="PackedScene" id=2]
[ext_resource path="res://entity/ground.tscn" type="PackedScene" id=3]
[ext_resource path="res://LibertinusSans-Regular.otf" type="DynamicFontData" id=4]
[ext_resource path="res://entity/exit.tscn" type="PackedScene" id=5]
[ext_resource path="res://entity/entrance.tscn" type="PackedScene" id=6]
[ext_resource path="res://hud/button-up.svg" type="Texture" id=7]
[ext_resource path="res://hud/button-down.svg" type="Texture" id=8]
[sub_resource type="DynamicFont" id=1]
size = 24
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=2]
size = 24
font_data = ExtResource( 4 )
[node name="ExplorationScreen" type="Node"]
script = ExtResource( 1 )
[node name="Root3D" type="Spatial" parent="."]
[node name="Player" parent="Root3D" instance=ExtResource( 2 )]
[node name="Ground" parent="Root3D" instance=ExtResource( 3 )]
[node name="Entrance" parent="Root3D" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, 5 )
[node name="Exit" parent="Root3D" instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, 3 )
[node name="Walls" type="Spatial" parent="Root3D"]
[node name="Chests" type="Spatial" parent="Root3D"]
[node name="HUD" type="Node" parent="."]
[node name="NbSteps" type="Label" parent="HUD"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = -72.0
margin_right = 99.0
margin_bottom = -44.0
custom_fonts/font = SubResource( 1 )
text = "NbSteps"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NbChests" type="Label" parent="HUD"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = -40.0
margin_right = 113.0
margin_bottom = -12.0
custom_fonts/font = SubResource( 2 )
text = "NbChests"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Help" type="Control" parent="HUD"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button-Stop" type="Sprite" parent="HUD/Help"]
position = Vector2( -168.5, -48 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 7 )
[node name="Stop" type="Label" parent="HUD/Help"]
margin_left = -136.5
margin_top = -64.0
margin_right = -14.5
margin_bottom = -36.0
custom_fonts/font = SubResource( 2 )
text = "Leave Game"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button-Map" type="Sprite" parent="HUD/Help"]
position = Vector2( -168, -112.5 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 8 )
[node name="Map" type="Label" parent="HUD/Help"]
margin_left = -136.0
margin_top = -128.5
margin_right = -14.0
margin_bottom = -100.5
custom_fonts/font = SubResource( 2 )
text = "Show Map"
__meta__ = {
"_edit_use_anchors_": false
}