No Description
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.

obstacle4.tscn 1016B

12345678910111213141516171819202122232425
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://mini-game/scripts/obstacle1.gd" type="Script" id=1]
  3. [ext_resource path="res://mini-game/ressources/sprites/obstacle/telephoneflamme.png" type="Texture" id=2]
  4. [ext_resource path="res://mini-game/scenes/effets/collision_obstacle.tscn" type="PackedScene" id=3]
  5. [sub_resource type="RectangleShape2D" id=1]
  6. extents = Vector2( 24.4662, 65.2837 )
  7. [node name="obstacle4" type="Node2D"]
  8. script = ExtResource( 1 )
  9. [node name="Sprite" type="Sprite" parent="."]
  10. position = Vector2( 0.832382, -16.9321 )
  11. scale = Vector2( 0.0711866, 0.0711866 )
  12. texture = ExtResource( 2 )
  13. [node name="collision_obstacle" parent="." instance=ExtResource( 3 )]
  14. [node name="CollisionShape2D" type="CollisionShape2D" parent="collision_obstacle"]
  15. position = Vector2( 1.08099, -1.5749 )
  16. shape = SubResource( 1 )
  17. [node name="notifier" type="VisibilityNotifier2D" parent="."]
  18. [connection signal="body_entered" from="collision_obstacle" to="." method="_on_collision_obstacle_body_entered"]