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.

obstacle3.tscn 1013B

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/telephoneconference.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( 25.3346, 58.4363 )
  7. [node name="obstacle3" type="Node2D"]
  8. script = ExtResource( 1 )
  9. [node name="Sprite" type="Sprite" parent="."]
  10. position = Vector2( 1.45743, -10.024 )
  11. scale = Vector2( 0.0703989, 0.0703989 )
  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.33633, 0 )
  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"]