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