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.

bonus5.tscn 1017B

12345678910111213141516171819202122232425262728
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://mini-game/scripts/bonus1.gd" type="Script" id=1]
  3. [ext_resource path="res://mini-game/ressources/sprites/bonus/peinture.png" type="Texture" id=2]
  4. [ext_resource path="res://mini-game/scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
  5. [sub_resource type="RectangleShape2D" id=1]
  6. extents = Vector2( 30.5774, 94.4143 )
  7. [node name="bonus5" type="Node2D"]
  8. script = ExtResource( 1 )
  9. __meta__ = {
  10. "_edit_horizontal_guides_": [ -97.9765 ]
  11. }
  12. [node name="Sprite" type="Sprite" parent="."]
  13. position = Vector2( 0.0226159, -21.252 )
  14. scale = Vector2( 0.101622, 0.101622 )
  15. texture = ExtResource( 2 )
  16. [node name="pick_bonus" parent="." instance=ExtResource( 3 )]
  17. [node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
  18. position = Vector2( -0.759476, -7.68111 )
  19. shape = SubResource( 1 )
  20. [node name="notifier" type="VisibilityNotifier2D" parent="."]
  21. [connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]