project-dung/scenes/player.tscn

78 lines
2.4 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
[ext_resource path="res://assets/protodungman/DungMan.glb" type="PackedScene" id=2]
[ext_resource path="res://assets/icons/stomach.png" type="Texture" id=3]
[sub_resource type="BoxShape" id=3]
extents = Vector3( 0.25, 0.25, 1 )
[sub_resource type="CapsuleShape" id=2]
radius = 0.210213
height = 0.85525
[node name="Player" type="KinematicBody"]
script = ExtResource( 1 )
[node name="DungMan" parent="." instance=ExtResource( 2 )]
[node name="TriggerVolume" type="Area" parent="DungMan"]
unique_name_in_owner = true
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.630386 )
[node name="CollisionShape" type="CollisionShape" parent="DungMan/TriggerVolume"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.778807, 0.291356 )
shape = SubResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.641703, 0 )
shape = SubResource( 2 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, 0, 5.44166, 3.39746 )
fov = 50.0
[node name="UI" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="UI"]
margin_right = 40.0
margin_bottom = 40.0
[node name="MarginContainer" type="MarginContainer" parent="UI/Control"]
margin_right = 128.0
margin_bottom = 128.0
custom_constants/margin_right = 16
custom_constants/margin_top = 16
custom_constants/margin_left = 16
custom_constants/margin_bottom = 16
[node name="stomachs" type="HBoxContainer" parent="UI/Control/MarginContainer"]
unique_name_in_owner = true
margin_left = 16.0
margin_top = 16.0
margin_right = 540.0
margin_bottom = 144.0
[node name="stomach0" type="TextureRect" parent="UI/Control/MarginContainer/stomachs"]
margin_right = 128.0
margin_bottom = 128.0
texture = ExtResource( 3 )
[node name="stomach1" type="TextureRect" parent="UI/Control/MarginContainer/stomachs"]
margin_left = 132.0
margin_right = 260.0
margin_bottom = 128.0
texture = ExtResource( 3 )
[node name="stomach2" type="TextureRect" parent="UI/Control/MarginContainer/stomachs"]
margin_left = 264.0
margin_right = 392.0
margin_bottom = 128.0
texture = ExtResource( 3 )
[node name="stomach3" type="TextureRect" parent="UI/Control/MarginContainer/stomachs"]
margin_left = 396.0
margin_right = 524.0
margin_bottom = 128.0
texture = ExtResource( 3 )