Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / weapon / Weapon0004.tscn
@小李xl 小李xl on 28 Jun 2023 2 KB 调整资源目录结构
  1. [gd_scene load_steps=8 format=3 uid="uid://c4kckcisk7opo"]
  2.  
  3. [ext_resource type="PackedScene" uid="uid://cxltmhhp4rbyk" path="res://prefab/weapon/WeaponTemplate.tscn" id="1_kg172"]
  4. [ext_resource type="Script" path="res://src/game/activity/weapon/knife/Knife.cs" id="2_v1wer"]
  5. [ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="3_63s5g"]
  6. [ext_resource type="SpriteFrames" uid="uid://k2tktysa7j86" path="res://resource/spriteFrames/weapon/Weapon0004.tres" id="4_uymcs"]
  7. [ext_resource type="PackedScene" path="res://prefab/FanCollisionShape.tscn" id="5_nr15b"]
  8.  
  9.  
  10. [sub_resource type="ShaderMaterial" id="ShaderMaterial_o5ytq"]
  11. resource_local_to_scene = true
  12. shader = ExtResource("3_63s5g")
  13. shader_parameter/blend = Color(0, 0, 0, 0.470588)
  14. shader_parameter/schedule = 1.0
  15.  
  16. [sub_resource type="ShaderMaterial" id="ShaderMaterial_rtliw"]
  17. resource_local_to_scene = true
  18. shader = ExtResource("3_63s5g")
  19. shader_parameter/blend = Color(1, 1, 1, 1)
  20. shader_parameter/schedule = 0.0
  21.  
  22. [node name="Weapon0004" node_paths=PackedStringArray("FirePoint", "ShellPoint", "GripPoint", "AnimationPlayer", "ShadowSprite", "AnimatedSprite", "Collision") instance=ExtResource("1_kg172")]
  23. script = ExtResource("2_v1wer")
  24. FirePoint = NodePath("AnimatedSprite/FirePoint")
  25. ShellPoint = NodePath("AnimatedSprite/ShellPoint")
  26. GripPoint = NodePath("GripPoint")
  27. AnimationPlayer = NodePath("AnimationPlayer")
  28. ShadowSprite = NodePath("ShadowSprite")
  29. AnimatedSprite = NodePath("AnimatedSprite")
  30. Collision = NodePath("Collision")
  31.  
  32. [node name="ShadowSprite" parent="." index="0"]
  33. material = SubResource("ShaderMaterial_o5ytq")
  34.  
  35. [node name="AnimatedSprite" parent="." index="1"]
  36. material = SubResource("ShaderMaterial_rtliw")
  37. sprite_frames = ExtResource("4_uymcs")
  38.  
  39. [node name="GripPoint" parent="." index="2"]
  40. position = Vector2(-12, -1)
  41.  
  42. [node name="HitArea" type="Area2D" parent="." index="4"]
  43. monitoring = false
  44. monitorable = false
  45.  
  46. [node name="FanCollisionShape" parent="HitArea" index="0" instance=ExtResource("5_nr15b")]
  47. rotation = -1.5708
  48. scale = Vector2(3, 3)