emp.tscn 946 B

123456789101112131415161718192021222324252627282930
  1. [gd_scene load_steps=5 format=3 uid="uid://xb235nfjefwl"]
  2. [sub_resource type="RectangleShape2D" id="RectangleShape2D_rphx8"]
  3. size = Vector2(32, 32)
  4. [sub_resource type="Gradient" id="Gradient_7g1lr"]
  5. colors = PackedColorArray(1, 1, 0, 0.266667, 1, 1, 0, 1)
  6. [sub_resource type="FastNoiseLite" id="FastNoiseLite_mana2"]
  7. noise_type = 4
  8. frequency = 0.3347
  9. metadata/_preview_in_3d_space_ = true
  10. [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_8bg2l"]
  11. color_ramp = SubResource("Gradient_7g1lr")
  12. noise = SubResource("FastNoiseLite_mana2")
  13. [node name="EMP" type="Area2D"]
  14. collision_layer = 16
  15. collision_mask = 0
  16. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  17. shape = SubResource("RectangleShape2D_rphx8")
  18. [node name="Polygon2D" type="Polygon2D" parent="."]
  19. texture_repeat = 2
  20. texture = SubResource("NoiseTexture2D_8bg2l")
  21. texture_offset = Vector2(128, 128)
  22. polygon = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)