Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / role / Role.tscn
@小李xl 小李xl on 15 Dec 2022 1 KB 备份
  1. [gd_scene load_steps=9 format=2]
  2.  
  3. [ext_resource path="res://resource/materlal/Blend.tres" type="Material" id=1]
  4. [ext_resource path="res://addons/dungeonShooting_plugin/ActivityObjectTemplate.cs" type="Script" id=2]
  5. [ext_resource path="res://src/game/role/MountRotation.cs" type="Script" id=4]
  6. [ext_resource path="res://resource/materlal/Blend.gdshader" type="Shader" id=5]
  7.  
  8. [sub_resource type="ShaderMaterial" id=33]
  9. resource_local_to_scene = true
  10. shader = ExtResource( 5 )
  11. shader_param/blend = Color( 1, 1, 1, 1 )
  12. shader_param/schedule = 0.0
  13.  
  14. [sub_resource type="CircleShape2D" id=36]
  15. radius = 4.0
  16.  
  17. [sub_resource type="RectangleShape2D" id=35]
  18. extents = Vector2( 5, 7.5 )
  19.  
  20. [sub_resource type="RectangleShape2D" id=16]
  21. extents = Vector2( 5, 8.25 )
  22.  
  23. [node name="Role" type="Node"]
  24. script = ExtResource( 2 )
  25. UseYSort = true
  26. CollisionMask = 1
  27.  
  28. [node name="ShadowSprite" type="Sprite" parent="."]
  29. material = ExtResource( 1 )
  30.  
  31. [node name="BackMountPoint" type="Position2D" parent="."]
  32. position = Vector2( 0, -10 )
  33.  
  34. [node name="AnimatedSprite" type="AnimatedSprite" parent="."]
  35. material = SubResource( 33 )
  36. position = Vector2( 0, -12 )
  37.  
  38. [node name="Collision" type="CollisionShape2D" parent="."]
  39. position = Vector2( 0, -4 )
  40. shape = SubResource( 36 )
  41.  
  42. [node name="HurtArea" type="Area2D" parent="."]
  43. collision_layer = 0
  44. collision_mask = 0
  45. monitoring = false
  46.  
  47. [node name="CollisionShape2D" type="CollisionShape2D" parent="HurtArea"]
  48. position = Vector2( 0, -7.5 )
  49. shape = SubResource( 35 )
  50.  
  51. [node name="InteractiveArea" type="Area2D" parent="."]
  52. visible = false
  53. collision_layer = 0
  54. collision_mask = 4
  55. monitorable = false
  56.  
  57. [node name="Collision" type="CollisionShape2D" parent="InteractiveArea"]
  58. position = Vector2( 0, -5 )
  59. shape = SubResource( 16 )
  60.  
  61. [node name="MountPoint" type="Position2D" parent="."]
  62. position = Vector2( 2, -4 )
  63. script = ExtResource( 4 )
  64.  
  65. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]