[gd_scene load_steps=24 format=3 uid="uid://4whij2hmts0t"] [ext_resource type="Script" path="res://Player.gd" id="1_wt4gx"] [ext_resource type="Material" path="res://Unshaded.material" id="2_upp15"] [ext_resource type="Texture2D" uid="uid://uogmi4pvp64t" path="res://addons/bisio.png" id="3_27tel"] [ext_resource type="Texture2D" uid="uid://bwiymy4ls5l8a" path="res://addons/kenney_prototype_textures/red/texture_05.png" id="3_gtnhv"] [ext_resource type="FontFile" uid="uid://cseshyj4yw2f5" path="res://fonts/FiraSans-Medium.ttf" id="3_p3wyc"] [ext_resource type="Script" path="res://GameTimer.gd" id="3_y362g"] [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"] [ext_resource type="PackedScene" uid="uid://4i2c481rpxe3" path="res://models/cinno.glb" id="8_32hx2"] [ext_resource type="Script" path="res://Camera3D.gd" id="8_auifr"] [ext_resource type="PackedScene" path="res://obstacles/house_c.tscn" id="9_xyam4"] [ext_resource type="PackedScene" path="res://obstacles/dialog.tscn" id="10_6ihn6"] [ext_resource type="Script" path="res://Buccia.gd" id="12_7dfpx"] [ext_resource type="PackedScene" uid="uid://72q4p7x8l08y" path="res://models/banana.glb" id="13_ecp45"] [sub_resource type="Theme" id="Theme_hkcet"] Label/fonts/font = ExtResource("3_p3wyc") [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_castg"] [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) [sub_resource type="BoxMesh" id="BoxMesh_4tnse"] material = ExtResource("2_upp15") size = Vector3(1, 0.1, 3) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lkb30"] albedo_texture = ExtResource("3_gtnhv") [sub_resource type="PlaneMesh" id="PlaneMesh_opk07"] material = SubResource("StandardMaterial3D_lkb30") size = Vector2(200, 200) [sub_resource type="BoxShape3D" id="BoxShape3D_2bm1d"] size = Vector3(200, 4, 200) [sub_resource type="BoxShape3D" id="BoxShape3D_p1ebg"] size = Vector3(1.5, 1.5, 1.5) [node name="Root" type="Node3D"] [node name="UI" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = SubResource("Theme_hkcet") [node name="TextBox" type="MarginContainer" parent="UI"] visible = false 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 script = ExtResource("4_gpkq6") [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 = ExtResource("3_27tel") expand_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="UI/TextBox/Panel/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 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="RichTextLabel" type="RichTextLabel" parent="UI/TextBox/Panel/HBoxContainer/MarginContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/normal_font_size = 32 bbcode_enabled = true text = "[center]garasauto[/center]" [node name="Timer" type="Timer" parent="UI/TextBox"] wait_time = 5.0 one_shot = true [node name="TimerBox" type="MarginContainer" parent="UI"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -81.0 offset_bottom = 40.0 grow_horizontal = 0 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 theme_override_fonts/font = ExtResource("5_yvnu2") theme_override_font_sizes/font_size = 32 text = "Garasauto" horizontal_alignment = 2 [node name="GameTimer" type="Node" parent="UI/TimerBox/Label"] script = ExtResource("3_y362g") [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 jump_impulse = Vector3(0, 10, 0) friction = 0.98 [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="cinno" parent="Player/Man" instance=ExtResource("8_32hx2")] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.253272, 0) [node name="Board" type="Node3D" parent="Player"] [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 [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"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0) shape = SubResource("BoxShape3D_2bm1d") [node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("target")] transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 21.3066, 18.1673) script = ExtResource("8_auifr") target = NodePath("../Player") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(0.886591, 0.349146, -0.303401, 0.462553, -0.669221, 0.581539, 0, -0.655927, -0.754824, 4.33804, 4.6698, -3.35676) light_color = Color(1, 1, 0.678431, 1) light_energy = 2.026 shadow_enabled = true [node name="HouseC" parent="." instance=ExtResource("9_xyam4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.9482, 0, -6.46428) [node name="HouseC2" parent="." instance=ExtResource("9_xyam4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.94815, 0, 15.5357) [node name="HouseC3" parent="." instance=ExtResource("9_xyam4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.0518, 0, -18.4643) [node name="HouseC4" parent="." instance=ExtResource("9_xyam4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.0518, 0, 8.53572) [node name="Dialog" parent="." instance=ExtResource("10_6ihn6")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -7) text = "uno" duration = 1.0 [node name="Dialog2" parent="." instance=ExtResource("10_6ihn6")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -16) text = "due" duration = 1.0 [node name="Dialog3" parent="." instance=ExtResource("10_6ihn6")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -25) text = "tre" duration = 1.0 [node name="Buccia" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.76751, 1.11292, -6.57832) script = ExtResource("12_7dfpx") [node name="banana" parent="Buccia" instance=ExtResource("13_ecp45")] [node name="CollisionShape3D" type="CollisionShape3D" parent="Buccia"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("BoxShape3D_p1ebg") [node name="Buccia2" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.1426, 0, -14.8313) script = ExtResource("12_7dfpx") [node name="banana" parent="Buccia2" instance=ExtResource("13_ecp45")] [node name="CollisionShape3D" type="CollisionShape3D" parent="Buccia2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("BoxShape3D_p1ebg") [node name="Buccia3" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.80737, 0, -21.5372) script = ExtResource("12_7dfpx") [node name="banana" parent="Buccia3" instance=ExtResource("13_ecp45")] [node name="CollisionShape3D" type="CollisionShape3D" parent="Buccia3"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("BoxShape3D_p1ebg") [node name="Buccia4" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.1818, 0, -31.1759) script = ExtResource("12_7dfpx") [node name="banana" parent="Buccia4" instance=ExtResource("13_ecp45")] [node name="CollisionShape3D" type="CollisionShape3D" parent="Buccia4"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("BoxShape3D_p1ebg") [connection signal="timeout" from="UI/TextBox/Timer" to="UI/TextBox" method="_on_timer_timeout"] [connection signal="body_entered" from="Buccia" to="Buccia" method="_on_body_entered"] [connection signal="body_entered" from="Buccia2" to="Buccia2" method="_on_body_entered"] [connection signal="body_entered" from="Buccia3" to="Buccia3" method="_on_body_entered"] [connection signal="body_entered" from="Buccia4" to="Buccia4" method="_on_body_entered"]