tweaked vending machine and added on off to boombox
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bpkmyd3wvqi5p"]
|
||||
|
||||
[ext_resource type="AudioStream" uid="uid://diwsk0cw41ep1" path="res://assets/Audio/Music/Test Songs/easy-walk-SBA-347061820.wav" id="1_0tv5a"]
|
||||
[ext_resource type="Script" path="res://scripts/breakable.gd" id="1_dm2iv"]
|
||||
[ext_resource type="Script" path="res://scripts/boombox.gd" id="1_ccqda"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccnnxudjaptb4" path="res://assets/boombox_broken.tscn" id="2_26e0l"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1swe3"]
|
||||
@@ -82,7 +82,7 @@ shadow_mesh = SubResource("ArrayMesh_nxwjy")
|
||||
collision_layer = 2
|
||||
collision_mask = 7
|
||||
continuous_cd = true
|
||||
script = ExtResource("1_dm2iv")
|
||||
script = ExtResource("1_ccqda")
|
||||
broken_object = ExtResource("2_26e0l")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
@@ -99,4 +99,11 @@ transform = Transform3D(0.99997, 0.00767937, 0, -0.00767937, 0.99997, 0, 0, 0, 1
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Music"]
|
||||
stream = ExtResource("1_0tv5a")
|
||||
autoplay = true
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_layer = 8
|
||||
collision_mask = 15
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.433783, 0.16095)
|
||||
shape = SubResource("BoxShape3D_1swe3")
|
||||
|
||||
Reference in New Issue
Block a user