mirror of
https://github.com/Steffo99/cinnos.git
synced 2024-11-21 15:44:21 +00:00
wat
This commit is contained in:
commit
a0dcd60bfb
10 changed files with 60 additions and 77 deletions
74
Root.tscn
74
Root.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=29 format=3 uid="uid://4whij2hmts0t"]
|
||||
[gd_scene load_steps=25 format=3 uid="uid://4whij2hmts0t"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player.gd" id="1_wt4gx"]
|
||||
[ext_resource type="Material" uid="uid://dondfiavgo2ws" path="res://Unshaded.material" id="2_upp15"]
|
||||
|
@ -10,12 +10,11 @@
|
|||
[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="Texture2D" uid="uid://ct6sngef76p35" path="res://addons/grass.png" id="9_i8cb1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dp7p16vtxd1xr" path="res://obstacles/house_c.tscn" id="9_xyam4"]
|
||||
[ext_resource type="PackedScene" uid="uid://bxj354o6rycsf" path="res://obstacles/house_c.tscn" id="9_xyam4"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccs202pcy4pce" path="res://obstacles/dialog.tscn" id="10_6ihn6"]
|
||||
[ext_resource type="PlaneMesh" uid="uid://b2jhvncq5j8pe" path="res://road_mesh_something.tres" id="10_7jwjs"]
|
||||
[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"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0hvok3thbj6l" path="res://addons/goal.png" id="14_apr3d"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3ikq1a6muafo" path="res://obstacles/goal_billboard.tscn" id="14_0ikhl"]
|
||||
[ext_resource type="PackedScene" uid="uid://crbal5m8uhcd5" path="res://models/vent.tscn" id="15_hwvsi"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_hkcet"]
|
||||
Label/fonts/font = ExtResource("3_p3wyc")
|
||||
|
@ -57,24 +56,6 @@ item/1/shapes = []
|
|||
item/1/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
item/1/navigation_layers = 1
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hhace"]
|
||||
render_priority = 100
|
||||
transparency = 1
|
||||
no_depth_test = true
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("14_apr3d")
|
||||
texture_filter = 0
|
||||
billboard_mode = 1
|
||||
billboard_keep_scale = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_i87og"]
|
||||
material = SubResource("StandardMaterial3D_hhace")
|
||||
size = Vector2(0.5, 0.5)
|
||||
orientation = 2
|
||||
|
||||
[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="."]
|
||||
|
@ -238,8 +219,7 @@ transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -7)
|
|||
text = "uno"
|
||||
duration = 1.0
|
||||
|
||||
[node name="GoalBillboard" type="MeshInstance3D" parent="Dialog"]
|
||||
mesh = SubResource("PlaneMesh_i87og")
|
||||
[node name="GoalBillboard" parent="Dialog" instance=ExtResource("14_0ikhl")]
|
||||
|
||||
[node name="Dialog2" parent="." instance=ExtResource("10_6ihn6")]
|
||||
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -16)
|
||||
|
@ -251,48 +231,6 @@ 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, -6.41567, 0, -6.54346)
|
||||
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")
|
||||
[node name="Vent" parent="." instance=ExtResource("15_hwvsi")]
|
||||
|
||||
[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"]
|
||||
|
|
11
Trampolino.gd
Normal file
11
Trampolino.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends Area3D
|
||||
class_name Trampolino
|
||||
|
||||
|
||||
@export var power: float = 60
|
||||
|
||||
|
||||
func _on_body_entered(body):
|
||||
if body is Player:
|
||||
body.velocity.y += power
|
||||
queue_free()
|
|
@ -16,7 +16,7 @@ dest_files=["res://.godot/imported/house1.glb-d8a9dfacda96bd9f0626f3ec531569ba.s
|
|||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/root_scale=4.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
|
|
|
@ -16,7 +16,7 @@ dest_files=["res://.godot/imported/house2.glb-6e22127dbb861a6239d11a50574fccf5.s
|
|||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/root_scale=4.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
|
|
|
@ -16,7 +16,7 @@ dest_files=["res://.godot/imported/house3.glb-e1742caa9404f392e328f9ca135ee769.s
|
|||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/root_scale=4.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
|
|
15
models/vent.tscn
Normal file
15
models/vent.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://crbal5m8uhcd5"]
|
||||
|
||||
[ext_resource type="Script" path="res://Buccia.gd" id="1_v0c7a"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_p1ebg"]
|
||||
size = Vector3(1.5, 0.5, 1.5)
|
||||
|
||||
[node name="Vent" type="Area3D"]
|
||||
script = ExtResource("1_v0c7a")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
||||
shape = SubResource("BoxShape3D_p1ebg")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
21
obstacles/goal_billboard.tscn
Normal file
21
obstacles/goal_billboard.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://d3ikq1a6muafo"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d0hvok3thbj6l" path="res://addons/goal.png" id="1_vpkde"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hhace"]
|
||||
render_priority = 100
|
||||
transparency = 1
|
||||
no_depth_test = true
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("1_vpkde")
|
||||
texture_filter = 0
|
||||
billboard_mode = 1
|
||||
billboard_keep_scale = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_i87og"]
|
||||
material = SubResource("StandardMaterial3D_hhace")
|
||||
size = Vector2(0.5, 0.5)
|
||||
orientation = 2
|
||||
|
||||
[node name="GoalBillboard" type="MeshInstance3D"]
|
||||
mesh = SubResource("PlaneMesh_i87og")
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://ck1im1d6yhv84"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b03t3lbwlddqm"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0v72ewtji1ga" path="res://models/house1.glb" id="1_6lk2f"]
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
|||
[node name="HouseA" type="StaticBody3D"]
|
||||
|
||||
[node name="house1" parent="." instance=ExtResource("1_6lk2f")]
|
||||
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(8, 0, 0, 0, 10, 0, 0, 0, 8, 0, 5, 0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dpm1n7fku8ypr"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://blc38wif555cb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b61483mtne85g" path="res://models/house2.glb" id="1_fuiwk"]
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
|||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.14025, 0, -9.44414)
|
||||
|
||||
[node name="house2" parent="." instance=ExtResource("1_fuiwk")]
|
||||
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(8, 0, 0, 0, 10, 0, 0, 0, 8, 0, 5, 0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dp7p16vtxd1xr"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bxj354o6rycsf"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://01cg0ph8uglg" path="res://models/house3.glb" id="1_7obe1"]
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
|||
[node name="HouseC" type="StaticBody3D"]
|
||||
|
||||
[node name="house3" parent="." instance=ExtResource("1_7obe1")]
|
||||
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 4, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(8, 0, 0, 0, 10, 0, 0, 0, 8, 0, 5, 0)
|
||||
|
|
Loading…
Reference in a new issue