pir-serious-game-ethics/mini-game/scenes/obstacles/obstacle5.tscn
2021-04-28 19:51:35 +02:00

28 lines
1 KiB
Text

[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/dessin.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( 25.9509, 82.5121 )
[node name="obstacle5" type="Node2D"]
script = ExtResource( 1 )
__meta__ = {
"_edit_horizontal_guides_": [ ]
}
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -0.582159, -32.5956 )
scale = Vector2( 0.073, 0.073 )
texture = ExtResource( 2 )
[node name="collision_obstacle" parent="." instance=ExtResource( 3 )]
[node name="CollisionShape2D" type="CollisionShape2D" parent="collision_obstacle"]
position = Vector2( -1.05112, 3.99426 )
shape = SubResource( 1 )
[node name="notifier" type="VisibilityNotifier2D" parent="."]
[connection signal="body_entered" from="collision_obstacle" to="." method="_on_collision_obstacle_body_entered"]