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.

bonus2.tscn 906B

123456789101112131415161718192021222324
  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/bonus_enveloppe.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( 51.3758, 37.234 )
  7. [node name="bonus2" type="Node2D"]
  8. script = ExtResource( 1 )
  9. [node name="Sprite" type="Sprite" parent="."]
  10. scale = Vector2( 0.2, 0.2 )
  11. texture = ExtResource( 2 )
  12. [node name="pick_bonus" parent="." instance=ExtResource( 3 )]
  13. [node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
  14. position = Vector2( -0.625, 0 )
  15. shape = SubResource( 1 )
  16. [node name="notifier" type="VisibilityNotifier2D" parent="."]
  17. [connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]