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.

bonus1.tscn 874B

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