Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / prop / activeComp / Prop5003_Area.tscn
@小李xl 小李xl on 20 Mar 2024 1019 bytes 优化“红外遥控器”道具效果
  1. [gd_scene load_steps=5 format=3 uid="uid://bb7xvumnivsho"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/buffComp/active/Prop5003Area.cs" id="1_nxrjx"]
  4.  
  5. [sub_resource type="Gradient" id="Gradient_41obf"]
  6. colors = PackedColorArray(1, 0, 0, 0.392157, 1, 0, 0, 0)
  7.  
  8. [sub_resource type="GradientTexture2D" id="GradientTexture2D_ih8qw"]
  9. gradient = SubResource("Gradient_41obf")
  10. width = 128
  11. height = 128
  12. fill = 1
  13. fill_from = Vector2(0.5, 0.5)
  14. fill_to = Vector2(1, 0.5)
  15.  
  16. [sub_resource type="CircleShape2D" id="CircleShape2D_1llif"]
  17. radius = 15.0333
  18.  
  19. [node name="Prop5003Area" type="Area2D" node_paths=PackedStringArray("CircleSprite", "Collision")]
  20. collision_layer = 0
  21. collision_mask = 4
  22. monitorable = false
  23. script = ExtResource("1_nxrjx")
  24. CircleSprite = NodePath("Circle")
  25. Collision = NodePath("CollisionShape2D")
  26.  
  27. [node name="Circle" type="Sprite2D" parent="."]
  28. texture = SubResource("GradientTexture2D_ih8qw")
  29.  
  30. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  31. shape = SubResource("CircleShape2D_1llif")