315 lines
8.8 KiB
Plaintext
315 lines
8.8 KiB
Plaintext
[gd_scene load_steps=30 format=2]
|
|
|
|
[ext_resource path="res://Assets/spriteset test.png" type="Texture" id=1]
|
|
[ext_resource path="res://Scripts/Player.gd" type="Script" id=2]
|
|
[ext_resource path="res://Assets/zétoile.png" type="Texture" id=3]
|
|
[ext_resource path="res://Sounds/PaintJamPickupSound.wav" type="AudioStream" id=4]
|
|
[ext_resource path="res://Assets/Patain.png" type="Texture" id=5]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 15.5015, 46.849 )
|
|
|
|
[sub_resource type="Animation" id=2]
|
|
resource_name = "IdleDown"
|
|
length = 0.1
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ 7 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=3]
|
|
resource_name = "IdleLeft"
|
|
length = 0.1
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ 14 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=4]
|
|
resource_name = "IdleRight"
|
|
length = 0.1
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ 0 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=5]
|
|
resource_name = "IdleTop"
|
|
length = 0.1
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ 21 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=6]
|
|
length = 0.7
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ 8, 9, 10, 11, 12, 13, 7 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=7]
|
|
length = 0.7
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ 15, 16, 17, 18, 19, 20, 14 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=8]
|
|
length = 0.7
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ 1, 2, 3, 4, 5, 6, 0 ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=9]
|
|
length = 0.7
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Sprite:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ 22, 23, 24, 25, 26, 27, 21 ]
|
|
}
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=10]
|
|
animation = "IdleLeft"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=11]
|
|
animation = "IdleDown"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=12]
|
|
animation = "IdleRight"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=13]
|
|
animation = "IdleTop"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace2D" id=14]
|
|
blend_point_0/node = SubResource( 10 )
|
|
blend_point_0/pos = Vector2( -1.1, 0 )
|
|
blend_point_1/node = SubResource( 11 )
|
|
blend_point_1/pos = Vector2( 0, 1.1 )
|
|
blend_point_2/node = SubResource( 12 )
|
|
blend_point_2/pos = Vector2( 1, 0 )
|
|
blend_point_3/node = SubResource( 13 )
|
|
blend_point_3/pos = Vector2( 0, -1 )
|
|
min_space = Vector2( -1.1, -1 )
|
|
max_space = Vector2( 1, 1.1 )
|
|
blend_mode = 1
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=15]
|
|
animation = "RunLeft"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=16]
|
|
animation = "RunDown"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=17]
|
|
animation = "RunRight"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=18]
|
|
animation = "RunUp"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace2D" id=19]
|
|
blend_point_0/node = SubResource( 15 )
|
|
blend_point_0/pos = Vector2( -1.1, 0 )
|
|
blend_point_1/node = SubResource( 16 )
|
|
blend_point_1/pos = Vector2( 0, 1.1 )
|
|
blend_point_2/node = SubResource( 17 )
|
|
blend_point_2/pos = Vector2( 1, 0 )
|
|
blend_point_3/node = SubResource( 18 )
|
|
blend_point_3/pos = Vector2( 0, -1 )
|
|
min_space = Vector2( -1.1, -1 )
|
|
max_space = Vector2( 1, 1.1 )
|
|
blend_mode = 1
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=20]
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=21]
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id=22]
|
|
states/Idle/node = SubResource( 14 )
|
|
states/Idle/position = Vector2( 408, 64 )
|
|
states/Run/node = SubResource( 19 )
|
|
states/Run/position = Vector2( 632, 64 )
|
|
transitions = [ "Idle", "Run", SubResource( 20 ), "Run", "Idle", SubResource( 21 ) ]
|
|
start_node = "Idle"
|
|
|
|
[sub_resource type="AnimationNodeStateMachinePlayback" id=23]
|
|
|
|
[sub_resource type="Curve2D" id=24]
|
|
_data = {
|
|
"points": PoolVector2Array( -15.7724, -10.548, 15.7724, 10.548, 79.9353, -88.996, 8.91483, -9.7366, -8.91483, 9.7366, 75.135, -62.2204, 10.2863, 13.7935, -10.2863, -13.7935, -33.2145, -63.0318, -10.2863, 9.7366, 10.2863, -9.7366, -16.7564, -88.1847, -14.4009, 13.7935, 14.4009, -13.7935, -16.7564, -88.996, -6.85756, -19.4732, 6.85756, 19.4732, 79.9353, -88.996 )
|
|
}
|
|
|
|
[node name="KinematicBody2D" type="KinematicBody2D" groups=[
|
|
"Player",
|
|
]]
|
|
script = ExtResource( 2 )
|
|
slow_cooldown = 3
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
hframes = 28
|
|
frame = 14
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 0.263519, 0.0374289 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/IdleDown = SubResource( 2 )
|
|
anims/IdleLeft = SubResource( 3 )
|
|
anims/IdleRight = SubResource( 4 )
|
|
anims/IdleTop = SubResource( 5 )
|
|
anims/RunDown = SubResource( 6 )
|
|
anims/RunLeft = SubResource( 7 )
|
|
anims/RunRight = SubResource( 8 )
|
|
anims/RunUp = SubResource( 9 )
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="."]
|
|
tree_root = SubResource( 22 )
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
active = true
|
|
parameters/playback = SubResource( 23 )
|
|
parameters/Idle/blend_position = Vector2( -1.1, 0.0314158 )
|
|
parameters/Run/blend_position = Vector2( -0.0925897, 0.517895 )
|
|
|
|
[node name="ConfusionStars" type="Node2D" parent="."]
|
|
visible = false
|
|
|
|
[node name="Path2D" type="Path2D" parent="ConfusionStars"]
|
|
position = Vector2( -19.4617, -21.2425 )
|
|
scale = Vector2( 0.731191, 0.591658 )
|
|
curve = SubResource( 24 )
|
|
|
|
[node name="PathFollow2D" type="PathFollow2D" parent="ConfusionStars/Path2D"]
|
|
position = Vector2( 79.9353, -88.996 )
|
|
rotation = 0.639347
|
|
rotate = false
|
|
|
|
[node name="Sprite" type="Sprite" parent="ConfusionStars/Path2D/PathFollow2D"]
|
|
position = Vector2( 0.823479, -2.89215 )
|
|
rotation = -0.639347
|
|
scale = Vector2( 1.1136, 1.2906 )
|
|
z_index = -1
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="PathFollow2D2" type="PathFollow2D" parent="ConfusionStars/Path2D"]
|
|
position = Vector2( -18.8506, -56.7147 )
|
|
rotation = 0.639347
|
|
offset = 129.76
|
|
rotate = false
|
|
|
|
[node name="Sprite" type="Sprite" parent="ConfusionStars/Path2D/PathFollow2D2"]
|
|
position = Vector2( 0.823479, -2.89215 )
|
|
rotation = -0.639347
|
|
scale = Vector2( 1.1136, 1.2906 )
|
|
z_index = -1
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Patins" type="Node2D" parent="."]
|
|
visible = false
|
|
|
|
[node name="Path2D" type="Path2D" parent="Patins"]
|
|
position = Vector2( -19.4617, -21.2425 )
|
|
scale = Vector2( 0.731191, 0.591658 )
|
|
curve = SubResource( 24 )
|
|
|
|
[node name="PathFollow2D" type="PathFollow2D" parent="Patins/Path2D"]
|
|
position = Vector2( 42.3056, -54.7672 )
|
|
rotation = 0.639347
|
|
offset = 68.39
|
|
rotate = false
|
|
|
|
[node name="Sprite" type="Sprite" parent="Patins/Path2D/PathFollow2D"]
|
|
position = Vector2( 0.823479, -2.89215 )
|
|
rotation = -0.639347
|
|
scale = Vector2( 1.1136, 1.2906 )
|
|
z_index = -1
|
|
texture = ExtResource( 5 )
|
|
|
|
[node name="PathFollow2D2" type="PathFollow2D" parent="Patins/Path2D"]
|
|
position = Vector2( 3.62132, -97.5903 )
|
|
rotation = 0.639347
|
|
offset = 203.97
|
|
rotate = false
|
|
|
|
[node name="Sprite" type="Sprite" parent="Patins/Path2D/PathFollow2D2"]
|
|
position = Vector2( 0.823479, -2.89215 )
|
|
rotation = -0.639347
|
|
scale = Vector2( 1.1136, 1.2906 )
|
|
z_index = -1
|
|
texture = ExtResource( 5 )
|
|
|
|
[node name="PickupPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 4 )
|