Switch HUD into player scene

This commit is contained in:
Victor Turgeon
2022-10-11 13:48:59 -04:00
parent 0a352364d6
commit dce110a9b3
4 changed files with 141 additions and 127 deletions

View File

@@ -1,8 +1,9 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
[ext_resource path="res://Textures/kenney_prototype_textures/purple/texture_01.png" type="Texture" id=3]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape" id=2]
height = 3.0
@@ -41,3 +42,5 @@ material/0 = SubResource( 4 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
enabled = true
cast_to = Vector3( 0, -1.5, 0 )
[node name="HUD" parent="." instance=ExtResource( 4 )]