A game created for the Godot Wild Jam #21
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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