Coin I guess
This commit is contained in:
1 parent
dc11398846
commit
a73609b86b
31 files changed
+488
-46
No files matched your search
+46
-3
@@ -1,8 +1,43 @@
|
||||
[gd_scene format=3 uid="uid://pmnwck5v0ntm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cojhnj15psd2x" path="res://player_2d.gd" id="1_sy00s"]
|
||||
[ext_resource type="Texture2D" uid="uid://ccxq1fh72bsdk" path="res://art/player.png" id="2_p3026"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
||||
[ext_resource type="Texture2D" uid="uid://lk0f1qyswyxv" path="res://art/player/running/frame1.png" id="5_6jyqn"]
|
||||
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/running/frame2.png" id="6_gt2ls"]
|
||||
[ext_resource type="AudioStream" uid="uid://8iiafankqo4i" path="res://sound/stepping.wav" id="7_cbsa3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh7a1knyqn5nd" path="res://art/player/running/frame3.png" id="7_pmt5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://yf13nw31k8ua" path="res://art/player/running/frame4.png" id="8_nj6as"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_fvyjh"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_6jyqn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_gt2ls")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_6jyqn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_gt2ls")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_pmt5n")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_nj6as")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"running",
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
||||
size = Vector2(10, 16)
|
||||
@@ -23,9 +58,17 @@ process_callback = 0
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 3.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=77404965]
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=693422376]
|
||||
z_index = 1
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_p3026")
|
||||
position = Vector2(0, 2)
|
||||
sprite_frames = SubResource("SpriteFrames_fvyjh")
|
||||
animation = &"running"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.48246452
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
||||
shape = SubResource("RectangleShape2D_fj7yv")
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=2123463449]
|
||||
stream = ExtResource("7_cbsa3")
|
||||
Reference in new issue
Block a user