Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / weapon / Weapon0004.tscn
  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/Weapon0004.tres" id="4_uymcs"]
  7. [ext_resource type="PackedScene" path="res://prefab/FanCollisionShape.tscn" id="5_nr15b"]
  8.  
  9. [sub_resource type="ShaderMaterial" id="ShaderMaterial_o5ytq"]
  10. resource_local_to_scene = true
  11. shader = ExtResource("3_63s5g")
  12. shader_parameter/blend = Color(0, 0, 0, 0.470588)
  13. shader_parameter/schedule = 1
  14.  
  15. [sub_resource type="ShaderMaterial" id="ShaderMaterial_rtliw"]
  16. resource_local_to_scene = true
  17. shader = ExtResource("3_63s5g")
  18. shader_parameter/blend = Color(1, 1, 1, 1)
  19. shader_parameter/schedule = 0
  20.  
  21. [node name="Weapon0004" node_paths=PackedStringArray("FirePoint", "ShellPoint", "GripPoint", "AnimationPlayer", "ShadowSprite", "AnimatedSprite", "Collision") instance=ExtResource("1_kg172")]
  22. script = ExtResource("2_v1wer")
  23. FirePoint = NodePath("AnimatedSprite/FirePoint")
  24. ShellPoint = NodePath("AnimatedSprite/ShellPoint")
  25. GripPoint = NodePath("GripPoint")
  26. AnimationPlayer = NodePath("AnimationPlayer")
  27. ShadowSprite = NodePath("ShadowSprite")
  28. AnimatedSprite = NodePath("AnimatedSprite")
  29. Collision = NodePath("Collision")
  30.  
  31. [node name="ShadowSprite" parent="." index="0"]
  32. material = SubResource("ShaderMaterial_o5ytq")
  33.  
  34. [node name="AnimatedSprite" parent="." index="1"]
  35. material = SubResource("ShaderMaterial_rtliw")
  36. sprite_frames = ExtResource("4_uymcs")
  37.  
  38. [node name="GripPoint" parent="." index="2"]
  39. position = Vector2(-12, -1)
  40.  
  41. [node name="HitArea" type="Area2D" parent="." index="4"]
  42. monitoring = false
  43. monitorable = false
  44.  
  45. [node name="FanCollisionShape" parent="HitArea" index="0" instance=ExtResource("5_nr15b")]
  46. rotation = -1.5708
  47. scale = Vector2(3, 3)