initial commit
This commit is contained in:
85
assets/pla6BF6.tmp
Normal file
85
assets/pla6BF6.tmp
Normal file
@@ -0,0 +1,85 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://drwae3loscbw7"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/player.gd" id="1_x7wms"]
|
||||
[ext_resource type="FontFile" uid="uid://d2h2tjhxiv5wo" path="res://assets/fonts/White On Black.ttf" id="3_mbuvp"]
|
||||
[ext_resource type="Script" path="res://scripts/AmmoCounter.gd" id="4_8cy44"]
|
||||
[ext_resource type="Script" path="res://scripts/StaminaCounter.gd" id="6_bgi8o"]
|
||||
[ext_resource type="PackedScene" uid="uid://brl0bsqjl5dg3" path="res://assets/mac_10.tscn" id="6_o1rq6"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_n7uf3"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ko22d"]
|
||||
radius = 0.509802
|
||||
height = 2.03547
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_n0odj"]
|
||||
font = ExtResource("3_mbuvp")
|
||||
font_size = 115
|
||||
shadow_size = 16
|
||||
shadow_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_nfpjw"]
|
||||
size = Vector3(10, 5, 10)
|
||||
|
||||
[node name="Player" type="CharacterBody3D" groups=["player"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.11359, 0)
|
||||
collision_layer = 3
|
||||
script = ExtResource("1_x7wms")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
mesh = SubResource("CapsuleMesh_n7uf3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_ko22d")
|
||||
|
||||
[node name="Head" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.894364, 0)
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="Head"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0341401, 0.111267)
|
||||
current = true
|
||||
|
||||
[node name="AmmoCounter" type="Label" parent="Head/Camera3D"]
|
||||
offset_right = 3440.0
|
||||
offset_bottom = 1440.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 6
|
||||
text = "Ammo: X"
|
||||
label_settings = SubResource("LabelSettings_n0odj")
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 2
|
||||
script = ExtResource("4_8cy44")
|
||||
|
||||
[node name="StaminaCounter" type="Label" parent="Head/Camera3D"]
|
||||
offset_left = 116.0
|
||||
offset_top = 2.0
|
||||
offset_right = 3556.0
|
||||
offset_bottom = 1442.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 6
|
||||
text = "stamina: X"
|
||||
label_settings = SubResource("LabelSettings_n0odj")
|
||||
vertical_alignment = 2
|
||||
script = ExtResource("6_bgi8o")
|
||||
|
||||
[node name="mac10" parent="Head/Camera3D" instance=ExtResource("6_o1rq6")]
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0.606, -0.202, -0.958)
|
||||
|
||||
[node name="pick_up_detection" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="pick_up_detection"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0810862, 0.620857, -0.138576)
|
||||
shape = SubResource("BoxShape3D_nfpjw")
|
||||
|
||||
[node name="pick_up_magnet" type="Area3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="pick_up_magnet"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0810862, 0.620857, -0.138576)
|
||||
shape = SubResource("BoxShape3D_nfpjw")
|
||||
|
||||
[connection signal="tree_entered" from="." to="." method="_on_tree_entered"]
|
||||
[connection signal="body_entered" from="pick_up_detection" to="." method="_on_pick_up_detection_body_entered"]
|
||||
[connection signal="body_entered" from="pick_up_magnet" to="." method="_on_pick_up_magnet_body_entered"]
|
||||
Reference in New Issue
Block a user