2023-11-25 13:00:43 +00:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://4whij2hmts0t"]
|
2023-11-25 12:14:15 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Player.gd" id="1_wt4gx"]
|
2023-11-25 12:24:15 +00:00
|
|
|
[ext_resource type="Material" uid="uid://dondfiavgo2ws" path="res://Unshaded.material" id="2_upp15"]
|
2023-11-25 13:00:43 +00:00
|
|
|
[ext_resource type="Script" path="res://GameTimer.gd" id="3_y362g"]
|
2023-11-25 12:14:15 +00:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_castg"]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pnmjt"]
|
2023-11-25 12:24:15 +00:00
|
|
|
material = ExtResource("2_upp15")
|
2023-11-25 12:14:15 +00:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_kpyw3"]
|
|
|
|
size = Vector3(1, 0.1, 3)
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_4tnse"]
|
2023-11-25 12:24:15 +00:00
|
|
|
material = ExtResource("2_upp15")
|
2023-11-25 12:14:15 +00:00
|
|
|
size = Vector3(1, 0.1, 3)
|
|
|
|
|
2023-11-25 12:49:33 +00:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1au4d"]
|
|
|
|
shading_mode = 0
|
|
|
|
albedo_color = Color(0, 0.541176, 0, 1)
|
|
|
|
|
2023-11-25 12:14:15 +00:00
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_opk07"]
|
2023-11-25 12:49:33 +00:00
|
|
|
material = SubResource("StandardMaterial3D_1au4d")
|
|
|
|
size = Vector2(200, 200)
|
2023-11-25 12:14:15 +00:00
|
|
|
|
2023-11-25 12:49:33 +00:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_2bm1d"]
|
|
|
|
size = Vector3(200, 4, 200)
|
2023-11-25 12:14:15 +00:00
|
|
|
|
|
|
|
[node name="Root" type="Node3D"]
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D" parent="."]
|
2023-11-25 12:24:15 +00:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.927202, 0)
|
2023-11-25 12:14:15 +00:00
|
|
|
script = ExtResource("1_wt4gx")
|
|
|
|
|
|
|
|
[node name="Man" type="CollisionShape3D" parent="Player"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.05, 0)
|
|
|
|
shape = SubResource("CapsuleShape3D_castg")
|
|
|
|
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Player/Man"]
|
|
|
|
mesh = SubResource("CapsuleMesh_pnmjt")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="Board" type="CollisionShape3D" parent="Player"]
|
|
|
|
shape = SubResource("BoxShape3D_kpyw3")
|
|
|
|
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Player/Board"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
|
|
|
mesh = SubResource("BoxMesh_4tnse")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="Plane" type="StaticBody3D" parent="."]
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane"]
|
|
|
|
mesh = SubResource("PlaneMesh_opk07")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane"]
|
2023-11-25 12:49:33 +00:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0)
|
|
|
|
shape = SubResource("BoxShape3D_2bm1d")
|
2023-11-25 12:14:15 +00:00
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.955149, 0.296125, 0, -0.296125, 0.955149, 0, 2.66196, 3.33182)
|
2023-11-25 12:51:24 +00:00
|
|
|
|
2023-11-25 13:00:43 +00:00
|
|
|
[node name="Control" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 1
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
offset_left = -40.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Control"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 1
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
offset_left = -81.0
|
|
|
|
offset_bottom = 26.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
text = "Garasauto"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="GameTimer" type="Node" parent="Control/Label"]
|
|
|
|
script = ExtResource("3_y362g")
|