added gumba mushroom and sound

This commit is contained in:
Jonas Braus
2024-07-29 18:54:40 +02:00
parent e06f422597
commit b339ef3c29
60 changed files with 1142 additions and 9 deletions
+52 -2
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://dk1aby88pygtr"]
[gd_scene load_steps=20 format=3 uid="uid://dk1aby88pygtr"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_lm7ix"]
[ext_resource type="Texture2D" uid="uid://dhw3lpuskbvku" path="res://assets/mario-luigi-4.png" id="1_w3chr"]
@@ -13,10 +13,18 @@ region = Rect2(182, 34, 16, 16)
atlas = ExtResource("1_w3chr")
region = Rect2(80, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wfnj7"]
atlas = ExtResource("1_w3chr")
region = Rect2(80, 1, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dmbgr"]
atlas = ExtResource("1_w3chr")
region = Rect2(165, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_t247e"]
atlas = ExtResource("1_w3chr")
region = Rect2(165, 1, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jb1pe"]
atlas = ExtResource("1_w3chr")
region = Rect2(97, 34, 16, 16)
@@ -29,6 +37,18 @@ region = Rect2(114, 34, 16, 16)
atlas = ExtResource("1_w3chr")
region = Rect2(131, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jagc4"]
atlas = ExtResource("1_w3chr")
region = Rect2(97, 1, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_x07x8"]
atlas = ExtResource("1_w3chr")
region = Rect2(114, 1, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6y472"]
atlas = ExtResource("1_w3chr")
region = Rect2(131, 1, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_l5s58"]
animations = [{
"frames": [{
@@ -49,6 +69,14 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_wfnj7")
}],
"loop": true,
"name": &"idle_big",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_dmbgr")
}],
"loop": true,
@@ -57,6 +85,14 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_t247e")
}],
"loop": true,
"name": &"jump_big",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jb1pe")
}, {
"duration": 1.0,
@@ -68,6 +104,20 @@ animations = [{
"loop": true,
"name": &"run",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jagc4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x07x8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6y472")
}],
"loop": true,
"name": &"run_big",
"speed": 10.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4sl4a"]
@@ -104,7 +154,7 @@ color = Color(0, 0, 0, 1)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, 2)
sprite_frames = SubResource("SpriteFrames_l5s58")
animation = &"jump"
animation = &"idle_big"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 2)