1234567891011121314151617181920212223 |
- [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/bone.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( 24.0183, 9.31512 )
-
- [node name="bonus1" type="Node2D"]
- script = ExtResource( 1 )
-
- [node name="Sprite" type="Sprite" parent="."]
- scale = Vector2( 0.119644, 0.119644 )
- texture = ExtResource( 2 )
-
- [node name="pick_bonus" parent="." instance=ExtResource( 3 )]
-
- [node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
- shape = SubResource( 1 )
-
- [node name="notifier" type="VisibilityNotifier2D" parent="."]
- [connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]
|