123456789101112131415161718192021222324 |
- [gd_scene load_steps=5 format=2]
-
- [ext_resource path="res://mini-game/scripts/bonus1.gd" type="Script" id=1]
- [ext_resource path="res://mini-game/ressources/sprites/bonus/bonus_enveloppe.png" type="Texture" id=2]
- [ext_resource path="res://mini-game/scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
-
- [sub_resource type="RectangleShape2D" id=1]
- extents = Vector2( 51.3758, 37.234 )
-
- [node name="bonus2" type="Node2D"]
- script = ExtResource( 1 )
-
- [node name="Sprite" type="Sprite" parent="."]
- scale = Vector2( 0.2, 0.2 )
- texture = ExtResource( 2 )
-
- [node name="pick_bonus" parent="." instance=ExtResource( 3 )]
-
- [node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
- position = Vector2( -0.625, 0 )
- shape = SubResource( 1 )
-
- [node name="notifier" type="VisibilityNotifier2D" parent="."]
- [connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]
|