1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-22 16:14:19 +00:00
cinnos/Root.tscn

209 lines
7.2 KiB
Text
Raw Normal View History

2023-11-25 15:34:49 +00:00
[gd_scene load_steps=25 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 15:34:49 +00:00
[ext_resource type="Material" path="res://Unshaded.material" id="2_upp15"]
2023-11-25 14:05:04 +00:00
[ext_resource type="Texture2D" uid="uid://bwiymy4ls5l8a" path="res://addons/kenney_prototype_textures/red/texture_05.png" id="3_gtnhv"]
2023-11-25 14:09:54 +00:00
[ext_resource type="FontFile" uid="uid://cseshyj4yw2f5" path="res://fonts/FiraSans-Medium.ttf" id="3_p3wyc"]
2023-11-25 13:00:43 +00:00
[ext_resource type="Script" path="res://GameTimer.gd" id="3_y362g"]
2023-11-25 14:15:25 +00:00
[ext_resource type="Script" path="res://TextBox.gd" id="4_gpkq6"]
[ext_resource type="FontFile" uid="uid://qf3uxmta6lpw" path="res://fonts/FiraCode-Medium.ttf" id="5_yvnu2"]
2023-11-25 14:48:08 +00:00
[ext_resource type="Script" path="res://Camera3D.gd" id="8_auifr"]
2023-11-25 14:39:37 +00:00
[ext_resource type="PackedScene" uid="uid://ck1im1d6yhv84" path="res://obstacles/house.tscn" id="8_ntqnl"]
2023-11-25 15:34:49 +00:00
[ext_resource type="Script" path="res://Buccia.gd" id="10_ffcw5"]
2023-11-25 14:39:37 +00:00
[sub_resource type="Theme" id="Theme_hkcet"]
Label/fonts/font = ExtResource("3_p3wyc")
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_tn1wg"]
size = Vector2(48, 48)
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="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 15:00:26 +00:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lw6u7"]
shading_mode = 0
albedo_color = Color(0.435294, 0.615686, 1, 1)
[sub_resource type="BoxMesh" id="BoxMesh_ry4bk"]
material = SubResource("StandardMaterial3D_lw6u7")
size = Vector3(0.3, 0.3, 0.3)
2023-11-25 14:05:04 +00:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lkb30"]
albedo_texture = ExtResource("3_gtnhv")
2023-11-25 12:49:33 +00:00
2023-11-25 12:14:15 +00:00
[sub_resource type="PlaneMesh" id="PlaneMesh_opk07"]
2023-11-25 14:05:04 +00:00
material = SubResource("StandardMaterial3D_lkb30")
2023-11-25 12:49:33 +00:00
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
2023-11-25 15:34:49 +00:00
[sub_resource type="BoxShape3D" id="BoxShape3D_stil7"]
size = Vector3(0.976957, 1, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_icp2k"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hs2tx"]
[sub_resource type="BoxMesh" id="BoxMesh_n8jcf"]
2023-11-25 12:14:15 +00:00
[node name="Root" type="Node3D"]
2023-11-25 14:09:54 +00:00
[node name="UI" type="Control" parent="."]
2023-11-25 13:00:43 +00:00
layout_mode = 3
2023-11-25 14:09:54 +00:00
anchors_preset = 15
2023-11-25 13:00:43 +00:00
anchor_right = 1.0
2023-11-25 14:09:54 +00:00
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_hkcet")
2023-11-25 13:00:43 +00:00
2023-11-25 14:09:54 +00:00
[node name="TextBox" type="MarginContainer" parent="UI"]
2023-11-25 14:27:03 +00:00
visible = false
2023-11-25 14:09:54 +00:00
custom_minimum_size = Vector2(0, 192)
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -96.0
grow_horizontal = 2
grow_vertical = 0
theme_override_constants/margin_left = 128
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 128
theme_override_constants/margin_bottom = 16
2023-11-25 14:15:25 +00:00
script = ExtResource("4_gpkq6")
2023-11-25 14:09:54 +00:00
[node name="Panel" type="Panel" parent="UI/TextBox"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="UI/TextBox/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Character" type="TextureRect" parent="UI/TextBox/Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = SubResource("PlaceholderTexture2D_tn1wg")
expand_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="UI/TextBox/Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/normal_font_size = 32
bbcode_enabled = true
text = "[center]garasauto[/center]"
2023-11-25 14:15:25 +00:00
[node name="Timer" type="Timer" parent="UI/TextBox"]
wait_time = 5.0
one_shot = true
2023-11-25 14:09:54 +00:00
[node name="TimerBox" type="MarginContainer" parent="UI"]
2023-11-25 13:00:43 +00:00
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -81.0
2023-11-25 14:09:54 +00:00
offset_bottom = 40.0
2023-11-25 13:00:43 +00:00
grow_horizontal = 0
2023-11-25 14:09:54 +00:00
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16
[node name="Label" type="Label" parent="UI/TimerBox"]
layout_mode = 2
2023-11-25 14:15:25 +00:00
theme_override_fonts/font = ExtResource("5_yvnu2")
theme_override_font_sizes/font_size = 32
2023-11-25 13:00:43 +00:00
text = "Garasauto"
horizontal_alignment = 2
2023-11-25 14:09:54 +00:00
[node name="GameTimer" type="Node" parent="UI/TimerBox/Label"]
2023-11-25 13:00:43 +00:00
script = ExtResource("3_y362g")
2023-11-25 14:15:25 +00:00
2023-11-25 14:39:37 +00:00
[node name="Player" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.927202, 0)
script = ExtResource("1_wt4gx")
input_accel = 8.0
2023-11-25 15:00:26 +00:00
friction = 0.99
2023-11-25 14:39:37 +00:00
[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("../..")
2023-11-25 15:00:26 +00:00
[node name="Board" type="Node3D" parent="Player"]
2023-11-25 14:39:37 +00:00
[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("../..")
2023-11-25 15:00:26 +00:00
[node name="PlayerPart" type="CPUParticles3D" parent="Player/Board"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.5)
emitting = false
amount = 30
mesh = SubResource("BoxMesh_ry4bk")
direction = Vector3(0, 0, 1)
spread = 35.0
flatness = 1.0
gravity = Vector3(0, 0, 0)
initial_velocity_min = 8.0
initial_velocity_max = 8.0
2023-11-25 14:39:37 +00:00
[node name="Plane" type="StaticBody3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane"]
mesh = SubResource("PlaneMesh_opk07")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0)
shape = SubResource("BoxShape3D_2bm1d")
2023-11-25 14:48:08 +00:00
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("target")]
2023-11-25 14:39:37 +00:00
transform = Transform3D(1, 0, 0, 0, 0.582109, 0.813111, 0, -0.813111, 0.582109, 0, 14.3066, 11.1673)
2023-11-25 14:48:08 +00:00
script = ExtResource("8_auifr")
target = NodePath("../Player")
2023-11-25 14:39:37 +00:00
[node name="House" parent="." instance=ExtResource("8_ntqnl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -11)
[node name="House2" parent="." instance=ExtResource("8_ntqnl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.36658, 0, 13.6653)
[node name="House3" parent="." instance=ExtResource("8_ntqnl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.9757, 0, -2.54637)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.579826, -0.58827, -0.563685, 0.632141, -0.761305, 0.144266, -0.514003, -0.272679, 0.813294, 0, 0, 0)
2023-11-25 15:34:49 +00:00
[node name="Buccia" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.36238, 0.418784, -3.1441)
script = ExtResource("10_ffcw5")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Buccia"]
shape = SubResource("BoxShape3D_stil7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Buccia/CollisionShape3D"]
material_override = SubResource("StandardMaterial3D_icp2k")
material_overlay = SubResource("StandardMaterial3D_hs2tx")
mesh = SubResource("BoxMesh_n8jcf")
skeleton = NodePath("../..")
2023-11-25 14:15:25 +00:00
[connection signal="timeout" from="UI/TextBox/Timer" to="UI/TextBox" method="_on_timer_timeout"]
2023-11-25 15:34:49 +00:00
[connection signal="body_entered" from="Buccia" to="Buccia" method="_on_body_entered"]