Poubelle.tscn (453B)
1 [gd_scene load_steps=3 format=2] 2 3 [ext_resource path="res://graphics/poubelle.png" type="Texture" id=1] 4 5 [sub_resource type="CapsuleShape2D" id=1] 6 radius = 6.0 7 height = 12.0 8 9 [node name="Poubelle" type="RigidBody2D"] 10 mode = 2 11 mass = 100.0 12 13 [node name="Poubelle" type="Sprite" parent="."] 14 position = Vector2( 0, -7 ) 15 texture = ExtResource( 1 ) 16 17 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] 18 rotation = 1.5708 19 shape = SubResource( 1 )