Add incomplete hunger system
This commit is contained in:
1 parent
f868b86f10
commit
ff388ee079
6 files changed
+112
-2
No files matched your search
+46
-1
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[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 )
|
||||
@@ -30,3 +31,47 @@ 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 )
|
||||
Reference in new issue
Block a user