bullet.tscn 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://bullet.gd" type="Script" id=1]
  3. [ext_resource path="res://icon.png" type="Texture" id=2]
  4. [ext_resource path="res://particles.tscn" type="PackedScene" id=3]
  5. [sub_resource type="RectangleShape2D" id=1]
  6. custom_solver_bias = 0.0
  7. extents = Vector2( 10, 10 )
  8. [node name="asd" type="Area2D" index="0"]
  9. position = Vector2( 49.9777, 34.287 )
  10. input_pickable = true
  11. gravity_vec = Vector2( 0, 1 )
  12. gravity = 98.0
  13. linear_damp = 0.1
  14. angular_damp = 1.0
  15. audio_bus_override = false
  16. audio_bus_name = "Master"
  17. script = ExtResource( 1 )
  18. [node name="CollisionShape2D2" type="CollisionShape2D" parent="." index="0"]
  19. position = Vector2( -0.252197, 0.628956 )
  20. scale = Vector2( 3.16656, 2.96865 )
  21. shape = SubResource( 1 )
  22. [node name="icon" type="Sprite" parent="." index="1"]
  23. position = Vector2( -58.1523, -0.426369 )
  24. scale = Vector2( 2.8336, 1 )
  25. texture = ExtResource( 2 )
  26. [node name="particles" parent="." index="2" instance=ExtResource( 3 )]
  27. position = Vector2( -113.881, 1.07546 )
  28. [connection signal="area_entered" from="." to="." method="_on_asd_area_entered"]