40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://dwx5tcatj35gu"]
|
|
|
|
[ext_resource type="Script" uid="uid://dts8lbivkgsmj" path="res://base/scripts/player/player.gd" id="1_1w3ab"]
|
|
[ext_resource type="Texture2D" uid="uid://cfw6p5g680c55" path="res://base/assets/sprites/guns/placeholder/shoot1.png" id="2_i1xqq"]
|
|
[ext_resource type="PackedScene" uid="uid://bb6ovrbusyxpi" path="res://base/scenes/weapons/weapon_base.tscn" id="2_ma1q3"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jjqxs"]
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_layer = 2
|
|
collision_mask = 3
|
|
platform_wall_layers = 1
|
|
script = ExtResource("1_1w3ab")
|
|
|
|
[node name="Collider" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("CapsuleShape3D_jjqxs")
|
|
|
|
[node name="Camera" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
current = true
|
|
|
|
[node name="HUD" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Weapon" type="TextureRect" parent="HUD"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("2_i1xqq")
|
|
stretch_mode = 6
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="HUD/Weapon"]
|
|
autoplay = "static"
|
|
|
|
[node name="WeaponContainer" type="Node3D" parent="."]
|
|
|
|
[node name="Weapon" parent="WeaponContainer" instance=ExtResource("2_ma1q3")]
|