28 lines
1,017 B
Text
28 lines
1,017 B
Text
[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/peinture.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( 30.5774, 94.4143 )
|
|
|
|
[node name="bonus5" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_horizontal_guides_": [ -97.9765 ]
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 0.0226159, -21.252 )
|
|
scale = Vector2( 0.101622, 0.101622 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="pick_bonus" parent="." instance=ExtResource( 3 )]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
|
|
position = Vector2( -0.759476, -7.68111 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="notifier" type="VisibilityNotifier2D" parent="."]
|
|
[connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]
|