Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / role / Player.tscn
@小李xl 小李xl on 12 Aug 2022 1 KB 修复与武器互动存在的bug
[gd_scene load_steps=7 format=2]

[ext_resource path="res://prefab/role/Role.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/role/Player.cs" type="Script" id=2]
[ext_resource path="res://resource/sprite/ui/keyboard/e.png" type="Texture" id=3]
[ext_resource path="res://prefab/weapon/Gun.tscn" type="PackedScene" id=4]
[ext_resource path="res://resource/sprite/shell/shellCase.png" type="Texture" id=5]
[ext_resource path="res://resource/font/cn_font_4.tres" type="DynamicFont" id=6]

[node name="Player" instance=ExtResource( 1 )]
collision_layer = 8
script = ExtResource( 2 )
GunPrefab = ExtResource( 4 )

[node name="ColorRect" type="ColorRect" parent="." index="6"]
visible = false
margin_left = -9.0
margin_top = -24.0
margin_right = 11.0
margin_bottom = -18.0
color = Color( 0.784314, 0.784314, 0.784314, 0.588235 )

[node name="ShellCase" type="TextureRect" parent="ColorRect" index="0"]
margin_left = 1.0
margin_top = 5.0
margin_right = 5.0
margin_bottom = 7.0
rect_rotation = -90.0
texture = ExtResource( 5 )

[node name="Label" type="Label" parent="ColorRect" index="1"]
margin_left = 1.0
margin_top = -2.0
margin_right = 21.0
margin_bottom = 9.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 6 )
text = "M1911"

[node name="E" type="TextureRect" parent="ColorRect" index="2"]
margin_left = 5.0
margin_top = -12.0
margin_right = 14.0
margin_bottom = -1.0
texture = ExtResource( 3 )