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
+48 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://dv50be68omp73"]
[gd_scene load_steps=13 format=3 uid="uid://dv50be68omp73"]
[ext_resource type="Texture2D" uid="uid://chrld8oybp4me" path="res://assets/bg-1-1.png" id="1_rxc3r"]
[ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="2_ru48y"]
@@ -6,6 +6,9 @@
[ext_resource type="PackedScene" uid="uid://b6piduuvusiix" path="res://scenes/destroyblock.tscn" id="4_4f23w"]
[ext_resource type="PackedScene" uid="uid://be832pldgbeyk" path="res://scenes/pipe.tscn" id="5_31d8i"]
[ext_resource type="PackedScene" uid="uid://nm5keea43u56" path="res://scenes/coin.tscn" id="6_evydd"]
[ext_resource type="PackedScene" uid="uid://b4dp88urmm7g8" path="res://scenes/mushroom.tscn" id="7_rk0p2"]
[ext_resource type="PackedScene" uid="uid://cwviqxncs4fom" path="res://scenes/gumba.tscn" id="8_be76n"]
[ext_resource type="AudioStream" uid="uid://cdtrw675os7dh" path="res://assets/sounds/01. Ground Theme.mp3" id="9_xkthi"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_sdqov"]
texture = ExtResource("1_rxc3r")
@@ -19049,6 +19052,9 @@ texture = ExtResource("1_rxc3r")
physics_layer_0/collision_layer = 1
sources/1 = SubResource("TileSetAtlasSource_sdqov")
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ipe5j"]
size = Vector2(16, 16)
[node name="level1" type="Node2D"]
[node name="TileMap" type="TileMap" parent="."]
@@ -19067,24 +19073,28 @@ position = Vector2(1, -90)
[node name="itemblock" parent="interactable_blocks" instance=ExtResource("3_fmbwm")]
position = Vector2(96, -48)
hit_object = ExtResource("6_evydd")
[node name="destroyblock" parent="interactable_blocks" instance=ExtResource("4_4f23w")]
position = Vector2(160, -48)
[node name="itemblock2" parent="interactable_blocks" instance=ExtResource("3_fmbwm")]
position = Vector2(176, -48)
hit_object = ExtResource("7_rk0p2")
[node name="destroyblock2" parent="interactable_blocks" instance=ExtResource("4_4f23w")]
position = Vector2(192, -48)
[node name="itemblock3" parent="interactable_blocks" instance=ExtResource("3_fmbwm")]
position = Vector2(208, -48)
hit_object = ExtResource("6_evydd")
[node name="destroyblock3" parent="interactable_blocks" instance=ExtResource("4_4f23w")]
position = Vector2(224, -48)
[node name="itemblock4" parent="interactable_blocks" instance=ExtResource("3_fmbwm")]
position = Vector2(192, -112)
hit_object = ExtResource("6_evydd")
[node name="itemblock5" parent="interactable_blocks" instance=ExtResource("3_fmbwm")]
position = Vector2(1168, -48)
@@ -19261,3 +19271,40 @@ position = Vector2(736, 128)
[node name="Coin19" parent="coins" instance=ExtResource("6_evydd")]
position = Vector2(752, 128)
[node name="Gumba" parent="." instance=ExtResource("8_be76n")]
position = Vector2(272, 0)
[node name="Gumba2" parent="." instance=ExtResource("8_be76n")]
position = Vector2(736, 0)
[node name="Gumba3" parent="." instance=ExtResource("8_be76n")]
position = Vector2(768, 0)
[node name="invisible_barriers" type="Node" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="invisible_barriers"]
position = Vector2(1056, -16)
collision_layer = 16
[node name="CollisionShape2D" type="CollisionShape2D" parent="invisible_barriers/StaticBody2D"]
position = Vector2(-8, 8)
shape = SubResource("RectangleShape2D_ipe5j")
[node name="StaticBody2D2" type="StaticBody2D" parent="invisible_barriers"]
position = Vector2(1312, -16)
collision_layer = 16
[node name="CollisionShape2D" type="CollisionShape2D" parent="invisible_barriers/StaticBody2D2"]
position = Vector2(-8, 8)
shape = SubResource("RectangleShape2D_ipe5j")
[node name="Gumba4" parent="." instance=ExtResource("8_be76n")]
position = Vector2(1120, 0)
[node name="Gumba5" parent="." instance=ExtResource("8_be76n")]
position = Vector2(1152, 0)
[node name="Music" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("9_xkthi")
autoplay = true