[gd_scene load_steps=14 format=2]

[ext_resource path="res://imgs/ninja_bas2.png" type="Texture" id=1]
[ext_resource path="res://imgs/ninja_bas_idle.png" type="Texture" id=2]
[ext_resource path="res://imgs/ninja_bas1.png" type="Texture" id=3]
[ext_resource path="res://imgs/ninja_left2.png" type="Texture" id=4]
[ext_resource path="res://Player.gd" type="Script" id=5]
[ext_resource path="res://imgs/ninja_right.png" type="Texture" id=6]
[ext_resource path="res://imgs/ninja_haut1.png" type="Texture" id=7]
[ext_resource path="res://imgs/ninja_haut_idle.png" type="Texture" id=8]
[ext_resource path="res://imgs/ninja_right2.png" type="Texture" id=9]
[ext_resource path="res://imgs/ninja_haut2.png" type="Texture" id=10]
[ext_resource path="res://imgs/ninja_left.png" type="Texture" id=11]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 6 ), ExtResource( 9 ) ],
"loop": true,
"name": "droite",
"speed": 5.0
}, {
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 10 ) ],
"loop": true,
"name": "haut",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 1 ) ],
"loop": true,
"name": "bas",
"speed": 5.0
}, {
"frames": [ ExtResource( 11 ), ExtResource( 4 ) ],
"loop": true,
"name": "gauche",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 21.5745, 33.778 )

[node name="Joueur" type="Area2D"]
position = Vector2( 9.91069, 8.96681 )
script = ExtResource( 5 )
__meta__ = {
"_edit_group_": true
}

[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
scale = Vector2( 2.5, 2.5 )
frames = SubResource( 1 )
animation = "droite"

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -3.6604, 6.29072 )
shape = SubResource( 2 )
[connection signal="body_entered" from="." to="." method="_on_Joueur_body_entered"]
