24 lines
661 B
Text
24 lines
661 B
Text
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://images/balle.png" type="Texture" id=1]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=1]
|
||
|
extents = Vector2( 2, 0.5 )
|
||
|
|
||
|
[node name="Balle" type="RigidBody2D"]
|
||
|
|
||
|
[node name="CollisionShape2D_devant" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2( -2, 0 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="CollisionShape2D_haut" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2( 2, -1 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="CollisionShape2D_bas" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2( 2, 1 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
texture = ExtResource( 1 )
|