2023-01-29 03:21:34 +00:00
|
|
|
[gd_scene load_steps=12 format=2]
|
2023-01-27 21:55:12 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Scripts/Units/DownhillAutoscrollerPlayer.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://Graphics/Units/Player.png" type="Texture" id=2]
|
2023-01-29 03:21:34 +00:00
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Move-2.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Move+2.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Jump.png" type="Texture" id=5]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Move0.png" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Fall.png" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Move+1.png" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Recoil.png" type="Texture" id=9]
|
|
|
|
[ext_resource path="res://Graphics/Units/Kyouko/Move-1.png" type="Texture" id=10]
|
2023-01-27 21:55:12 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
2023-01-29 03:21:34 +00:00
|
|
|
extents = Vector2( 9, 34 )
|
2023-01-27 21:55:12 +00:00
|
|
|
|
|
|
|
[node name="Player" type="Area2D"]
|
|
|
|
z_index = 1
|
|
|
|
collision_layer = 0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2023-01-29 03:21:34 +00:00
|
|
|
position = Vector2( 0, -36 )
|
2023-01-27 21:55:12 +00:00
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="Idle" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
offset = Vector2( 0, -15 )
|
|
|
|
|
2023-01-29 03:21:34 +00:00
|
|
|
[node name="Move0" type="Sprite" parent="."]
|
2023-01-27 21:55:12 +00:00
|
|
|
visible = false
|
2023-01-29 03:21:34 +00:00
|
|
|
texture = ExtResource( 6 )
|
|
|
|
offset = Vector2( 0, -48 )
|
2023-01-27 21:55:12 +00:00
|
|
|
|
2023-01-29 03:21:34 +00:00
|
|
|
[node name="Move+1" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 8 )
|
|
|
|
offset = Vector2( 0, -48 )
|
|
|
|
|
|
|
|
[node name="Move+2" type="Sprite" parent="."]
|
2023-01-27 21:55:12 +00:00
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 4 )
|
2023-01-29 03:21:34 +00:00
|
|
|
offset = Vector2( 0, -48 )
|
2023-01-27 21:55:12 +00:00
|
|
|
|
2023-01-29 03:21:34 +00:00
|
|
|
[node name="Move-1" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 10 )
|
|
|
|
offset = Vector2( 0, -48 )
|
|
|
|
|
|
|
|
[node name="Move-2" type="Sprite" parent="."]
|
2023-01-27 21:55:12 +00:00
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 3 )
|
2023-01-29 03:21:34 +00:00
|
|
|
offset = Vector2( 0, -48 )
|
|
|
|
|
|
|
|
[node name="Jump1" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 5 )
|
|
|
|
offset = Vector2( 0, -48 )
|
|
|
|
|
|
|
|
[node name="Jump2" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
offset = Vector2( 0, -48 )
|
2023-01-27 21:55:12 +00:00
|
|
|
|
|
|
|
[node name="Recoil" type="Sprite" parent="."]
|
|
|
|
visible = false
|
2023-01-29 03:21:34 +00:00
|
|
|
texture = ExtResource( 9 )
|
|
|
|
offset = Vector2( 0, -48 )
|
|
|
|
|
|
|
|
[node name="SpinningSprite" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
position = Vector2( 0, -48 )
|
|
|
|
texture = ExtResource( 5 )
|
2023-01-27 21:55:12 +00:00
|
|
|
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_Player_area_entered"]
|