94 lines
2.9 KiB
Plaintext
94 lines
2.9 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/dungman/DungMan.tscn" 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
|
|
|
|
[sub_resource type="Gradient" id=4]
|
|
offsets = PoolRealArray( 0, 0.776119, 1 )
|
|
colors = PoolColorArray( 0, 0, 0, 1, 0, 0, 0, 0.429105, 0, 0, 0, 0 )
|
|
|
|
[sub_resource type="GradientTexture2D" id=5]
|
|
gradient = SubResource( 4 )
|
|
fill_to = Vector2( 0, 1 )
|
|
|
|
[node name="Player" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="DungMan" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="ItemSpawn" type="Spatial" parent="DungMan"]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6244, 0 )
|
|
|
|
[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.707106, 0.707106, 0, -0.707106, 0.707106, 0, 4.5, 3.5 )
|
|
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="TextureRect" type="TextureRect" parent="UI/Control"]
|
|
margin_right = 565.0
|
|
margin_bottom = 164.0
|
|
texture = SubResource( 5 )
|
|
expand = true
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI/Control"]
|
|
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 )
|