Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / weapon / shell / ShellCase.tscn
@小李xl 小李xl on 10 Feb 2023 1 KB 近战武器还原
  1. [gd_scene load_steps=9 format=3 uid="uid://dp6n6l6wq1hvs"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://dto03bc2qbhnj" path="res://resource/sprite/shell/shellCase.png" id="1"]
  4. [ext_resource type="Shader" path="res://resource/materlal/Blend.gdshader" id="2"]
  5. [ext_resource type="Script" path="res://addons/dungeonShooting_plugin/ActivityObjectTemplate.cs" id="3"]
  6.  
  7. [sub_resource type="ShaderMaterial" id="ShaderMaterial_px12l"]
  8. resource_local_to_scene = true
  9. shader = ExtResource("2")
  10. shader_parameter/blend = Color(0, 0, 0, 0.470588)
  11. shader_parameter/schedule = 1
  12.  
  13. [sub_resource type="ShaderMaterial" id="ShaderMaterial_7e6fo"]
  14. resource_local_to_scene = true
  15. shader = ExtResource("2")
  16. shader_parameter/blend = Color(1, 1, 1, 1)
  17. shader_parameter/schedule = 0
  18.  
  19. [sub_resource type="SpriteFrames" id="SpriteFrames_4huvy"]
  20. animations = [{
  21. "frames": [{
  22. "duration": 1.0,
  23. "texture": ExtResource("1")
  24. }],
  25. "loop": true,
  26. "name": &"default",
  27. "speed": 5.0
  28. }]
  29.  
  30. [sub_resource type="Animation" id="Animation_kjsto"]
  31. resource_name = "flicker"
  32.  
  33. [sub_resource type="AnimationLibrary" id="AnimationLibrary_cpq4j"]
  34. _data = {
  35. "flicker": SubResource("Animation_kjsto")
  36. }
  37.  
  38. [node name="ShellCase" type="Node"]
  39. script = ExtResource("3")
  40.  
  41. [node name="ShadowSprite" type="Sprite2D" parent="."]
  42. z_index = -5
  43. material = SubResource("ShaderMaterial_px12l")
  44.  
  45. [node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
  46. material = SubResource("ShaderMaterial_7e6fo")
  47. sprite_frames = SubResource("SpriteFrames_4huvy")
  48.  
  49. [node name="Collision" type="CollisionShape2D" parent="."]
  50.  
  51. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  52. libraries = {
  53. "": SubResource("AnimationLibrary_cpq4j")
  54. }