800bf98f84
als je zo nodig moet weten wat ga je alles maar doorlezen ofzo.
57 lines
2.2 KiB
Plaintext
57 lines
2.2 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://bm3d233ul4asx"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bgbv67hxphufl" path="res://Objects/combi.tscn" id="1_7rjc3"]
|
|
[ext_resource type="Script" path="res://Scripts/Slot.gd" id="1_ksddl"]
|
|
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_pbq0q"]
|
|
[ext_resource type="AudioStream" uid="uid://ib7k6myjnajr" path="res://Audio/congratulations.ogg" id="4_aojg2"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_5jhoy"]
|
|
size = Vector3(6, 2, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pxfgr"]
|
|
albedo_color = Color(1, 0.690196, 0.607843, 1)
|
|
metallic = 1.0
|
|
roughness = 0.67
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_kkd31"]
|
|
material = SubResource("StandardMaterial3D_pxfgr")
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_v83up"]
|
|
size = Vector3(0.75, 1.75, 1)
|
|
|
|
[node name="Slot" type="Node3D"]
|
|
script = ExtResource("1_ksddl")
|
|
|
|
[node name="Body" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("BoxMesh_5jhoy")
|
|
|
|
[node name="1" parent="Body" instance=ExtResource("1_7rjc3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.23883, 0, 0)
|
|
|
|
[node name="2" parent="Body" instance=ExtResource("1_7rjc3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05909, 0, 0)
|
|
|
|
[node name="3" parent="Body" instance=ExtResource("1_7rjc3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.123511, 0, 0)
|
|
|
|
[node name="4" parent="Body" instance=ExtResource("1_7rjc3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.28956, 0, 0)
|
|
|
|
[node name="Knop" type="MeshInstance3D" parent="Body"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.49363, 0, 0.131068)
|
|
mesh = SubResource("CapsuleMesh_kkd31")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Body/Knop"]
|
|
collision_layer = 2
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Knop/StaticBody3D"]
|
|
shape = SubResource("BoxShape3D_v83up")
|
|
|
|
[node name="Audio" type="AudioStreamPlayer" parent="Body/Knop"]
|
|
stream = ExtResource("3_pbq0q")
|
|
|
|
[node name="Congratulations" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_aojg2")
|
|
|
|
[connection signal="input_event" from="Body/Knop/StaticBody3D" to="." method="_on_static_body_3d_input_event"]
|