A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.2KB

  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://Data/Scripts/Pusher.gd" type="Script" id=1]
  3. [ext_resource path="res://Data/Objects/PulseArrow.tscn" type="PackedScene" id=2]
  4. [sub_resource type="ParticlesMaterial" id=1]
  5. resource_local_to_scene = true
  6. emission_shape = 2
  7. emission_box_extents = Vector3( 40, 1, 1 )
  8. flag_disable_z = true
  9. direction = Vector3( 0, -1, 0 )
  10. spread = 0.0
  11. gravity = Vector3( 0, 0, 0 )
  12. initial_velocity = 80.0
  13. orbit_velocity = 0.0
  14. orbit_velocity_random = 0.0
  15. angle = 45.0
  16. angle_random = 0.25
  17. scale = 1.5
  18. scale_random = 0.5
  19. color = Color( 0.239216, 0.478431, 0.988235, 1 )
  20. [sub_resource type="RectangleShape2D" id=2]
  21. extents = Vector2( 40, 40 )
  22. [node name="Pusher" type="Node2D"]
  23. script = ExtResource( 1 )
  24. [node name="Body" type="Position2D" parent="."]
  25. [node name="PulseArrow1" parent="Body" instance=ExtResource( 2 )]
  26. position = Vector2( -18, -18.0497 )
  27. scale = Vector2( 0.1, 0.1 )
  28. pulse_color = Color( 1, 1, 1, 1 )
  29. [node name="PulseArrow2" parent="Body" instance=ExtResource( 2 )]
  30. position = Vector2( -18, -4.04972 )
  31. scale = Vector2( 0.1, 0.1 )
  32. pulse_color = Color( 1, 1, 1, 1 )
  33. [node name="PulseArrow3" parent="Body" instance=ExtResource( 2 )]
  34. position = Vector2( -18, 9.95028 )
  35. scale = Vector2( 0.1, 0.1 )
  36. pulse_color = Color( 1, 1, 1, 1 )
  37. [node name="PulseArrow6" parent="Body" instance=ExtResource( 2 )]
  38. position = Vector2( 18, -18.0497 )
  39. scale = Vector2( 0.1, 0.1 )
  40. pulse_color = Color( 1, 1, 1, 1 )
  41. [node name="PulseArrow5" parent="Body" instance=ExtResource( 2 )]
  42. position = Vector2( 18, -4.04972 )
  43. scale = Vector2( 0.1, 0.1 )
  44. pulse_color = Color( 1, 1, 1, 1 )
  45. [node name="PulseArrow4" parent="Body" instance=ExtResource( 2 )]
  46. position = Vector2( 18, 9.95028 )
  47. scale = Vector2( 0.1, 0.1 )
  48. pulse_color = Color( 1, 1, 1, 1 )
  49. [node name="Particles" type="Particles2D" parent="Body"]
  50. position = Vector2( 0, 40.5267 )
  51. amount = 20
  52. process_material = SubResource( 1 )
  53. [node name="Area2D" type="Area2D" parent="Body"]
  54. visible = false
  55. [node name="CollisionShape2D" type="CollisionShape2D" parent="Body/Area2D"]
  56. shape = SubResource( 2 )
  57. [connection signal="body_entered" from="Body/Area2D" to="." method="_on_Area2D_body_entered"]
  58. [connection signal="body_exited" from="Body/Area2D" to="." method="_on_Area2D_body_exited"]