diff --git a/Root.tscn b/Root.tscn index 0d08ced..97c1c96 100644 --- a/Root.tscn +++ b/Root.tscn @@ -1,20 +1,21 @@ -[gd_scene load_steps=27 format=3 uid="uid://4whij2hmts0t"] +[gd_scene load_steps=28 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="Texture2D" uid="uid://ct6sngef76p35" path="res://addons/grass.png" id="9_i8cb1"] [ext_resource type="PackedScene" uid="uid://bxj354o6rycsf" 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"] +[ext_resource type="PlaneMesh" path="res://road_mesh_something.tres" id="10_7jwjs"] +[ext_resource type="PackedScene" path="res://obstacles/goal_billboard.tscn" id="14_0ikhl"] [ext_resource type="Script" path="res://Torretta.gd" id="15_058li"] +[ext_resource type="PackedScene" path="res://models/vent.tscn" id="15_hwvsi"] [ext_resource type="PackedScene" uid="uid://t0gblqb4yr8m" path="res://models/turret.glb" id="16_upw73"] [sub_resource type="Theme" id="Theme_hkcet"] @@ -34,18 +35,28 @@ size = Vector3(0.3, 0.3, 0.3) 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) +size = Vector3(100000, 4, 100000) -[sub_resource type="BoxShape3D" id="BoxShape3D_p1ebg"] -size = Vector3(1.5, 1.5, 1.5) +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ox173"] +albedo_texture = ExtResource("9_i8cb1") + +[sub_resource type="PlaneMesh" id="PlaneMesh_jacs4"] +material = SubResource("StandardMaterial3D_ox173") + +[sub_resource type="MeshLibrary" id="MeshLibrary_hklma"] +item/0/name = "Grass" +item/0/mesh = SubResource("PlaneMesh_jacs4") +item/0/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) +item/0/shapes = [] +item/0/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) +item/0/navigation_layers = 1 +item/1/name = "AsphaltV" +item/1/mesh = ExtResource("10_7jwjs") +item/1/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) +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="BoxShape3D" id="BoxShape3D_hwxik"] size = Vector3(1.9188, 3.57475, 2.31203) @@ -175,13 +186,19 @@ skeleton = NodePath("../..") collision_layer = 5 collision_mask = 5 -[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="GridMap" type="GridMap" parent="Plane"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0) +mesh_library = SubResource("MeshLibrary_hklma") +cell_size = Vector3(16, 2, 16) +cell_scale = 8.0 +data = { +"cells": PackedInt32Array(65533, 65535, 1, 65533, 0, 1) +} + [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") @@ -214,6 +231,8 @@ transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1, -7) text = "uno" duration = 1.0 +[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) text = "due" @@ -224,45 +243,7 @@ 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") +[node name="Vent" parent="." instance=ExtResource("15_hwvsi")] [node name="Torretta" type="StaticBody3D" parent="."] transform = Transform3D(-0.810819, 0, 0.585297, 0, 1, 0, -0.585297, 0, -0.810819, -11.1919, 0.928251, 6.08668) @@ -277,7 +258,3 @@ shape = SubResource("BoxShape3D_hwxik") [node name="RayCast3D" type="RayCast3D" parent="Torretta"] [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"] diff --git a/Trampolino.gd b/Trampolino.gd new file mode 100644 index 0000000..cdb7252 --- /dev/null +++ b/Trampolino.gd @@ -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() diff --git a/addons/asphalt.png b/addons/asphalt.png new file mode 100644 index 0000000..1604572 Binary files /dev/null and b/addons/asphalt.png differ diff --git a/addons/goal.png b/addons/goal.png new file mode 100644 index 0000000..24e1490 Binary files /dev/null and b/addons/goal.png differ diff --git a/addons/grass.png b/addons/grass.png new file mode 100644 index 0000000..d26487b Binary files /dev/null and b/addons/grass.png differ diff --git a/addons/grass.png.import b/addons/grass.png.import new file mode 100644 index 0000000..969be38 --- /dev/null +++ b/addons/grass.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ct6sngef76p35" +path.s3tc="res://.godot/imported/grass.png-5c99d76235825ded6c6cafea039fd814.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://addons/grass.png" +dest_files=["res://.godot/imported/grass.png-5c99d76235825ded6c6cafea039fd814.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/models/balla.glb b/models/balla.glb new file mode 100644 index 0000000..0843d85 Binary files /dev/null and b/models/balla.glb differ diff --git a/models/balla.glb.import b/models/balla.glb.import new file mode 100644 index 0000000..8012e1c --- /dev/null +++ b/models/balla.glb.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://c3g6lxikgfr7e" +path="res://.godot/imported/balla.glb-465198f4b5271ac6699db3f4eabe0415.scn" + +[deps] + +source_file="res://models/balla.glb" +dest_files=["res://.godot/imported/balla.glb-465198f4b5271ac6699db3f4eabe0415.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/models/balla_palette1.png b/models/balla_palette1.png new file mode 100644 index 0000000..aa0d3b7 Binary files /dev/null and b/models/balla_palette1.png differ diff --git a/models/balla_palette1.png.import b/models/balla_palette1.png.import new file mode 100644 index 0000000..4d995fc --- /dev/null +++ b/models/balla_palette1.png.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6sbmntc83uwn" +path.s3tc="res://.godot/imported/balla_palette1.png-afb6c584f319af7076806c8ab091f351.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={} + +[deps] + +source_file="res://models/balla_palette1.png" +dest_files=["res://.godot/imported/balla_palette1.png-afb6c584f319af7076806c8ab091f351.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/models/banana.glb.import b/models/banana.glb.import index a41d495..24c624c 100644 --- a/models/banana.glb.import +++ b/models/banana.glb.import @@ -16,7 +16,11 @@ dest_files=["res://.godot/imported/banana.glb-19dba9f467c52208a261d869c3fa5d32.s nodes/root_type="Node3D" nodes/root_name="Scene Root" nodes/apply_root_scale=true +<<<<<<< HEAD +nodes/root_scale=1.0 +======= nodes/root_scale=0.15 +>>>>>>> b35d2f377cd4ca3253360662fa3b1b6f890ffdf3 meshes/ensure_tangents=true meshes/generate_lods=true meshes/create_shadow_meshes=true diff --git a/models/can.glb b/models/can.glb new file mode 100644 index 0000000..ad9cc1f Binary files /dev/null and b/models/can.glb differ diff --git a/models/can.glb.import b/models/can.glb.import new file mode 100644 index 0000000..8021135 --- /dev/null +++ b/models/can.glb.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cis3y8bj1x60j" +path="res://.godot/imported/can.glb-c4aa2d9774a137c4560f5b46e7dfbb71.scn" + +[deps] + +source_file="res://models/can.glb" +dest_files=["res://.godot/imported/can.glb-c4aa2d9774a137c4560f5b46e7dfbb71.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/models/can_palette1.png b/models/can_palette1.png new file mode 100644 index 0000000..aa0d3b7 Binary files /dev/null and b/models/can_palette1.png differ diff --git a/models/can_palette1.png.import b/models/can_palette1.png.import new file mode 100644 index 0000000..fd1620c --- /dev/null +++ b/models/can_palette1.png.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://clyeeiei87rbd" +path.s3tc="res://.godot/imported/can_palette1.png-33ad1519bb279369ac865f15594c2738.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={} + +[deps] + +source_file="res://models/can_palette1.png" +dest_files=["res://.godot/imported/can_palette1.png-33ad1519bb279369ac865f15594c2738.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/models/gratta.glb b/models/gratta.glb new file mode 100644 index 0000000..d4e4daf Binary files /dev/null and b/models/gratta.glb differ diff --git a/models/gratta.glb.import b/models/gratta.glb.import new file mode 100644 index 0000000..80db832 --- /dev/null +++ b/models/gratta.glb.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cl6ovgfaqn10a" +path="res://.godot/imported/gratta.glb-2b83ad38defac79425963aac0ab9b05d.scn" + +[deps] + +source_file="res://models/gratta.glb" +dest_files=["res://.godot/imported/gratta.glb-2b83ad38defac79425963aac0ab9b05d.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/models/vaso.glb b/models/vaso.glb new file mode 100644 index 0000000..db8e5e2 Binary files /dev/null and b/models/vaso.glb differ diff --git a/models/vaso.glb.import b/models/vaso.glb.import new file mode 100644 index 0000000..2993c2e --- /dev/null +++ b/models/vaso.glb.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cfnrtajsa25j4" +path="res://.godot/imported/vaso.glb-15fd3fbe57f11284be6328f388795bac.scn" + +[deps] + +source_file="res://models/vaso.glb" +dest_files=["res://.godot/imported/vaso.glb-15fd3fbe57f11284be6328f388795bac.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/models/vaso_palette1.png b/models/vaso_palette1.png new file mode 100644 index 0000000..aa0d3b7 Binary files /dev/null and b/models/vaso_palette1.png differ diff --git a/models/vaso_palette1.png.import b/models/vaso_palette1.png.import new file mode 100644 index 0000000..7e77f1c --- /dev/null +++ b/models/vaso_palette1.png.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cj71efx5clauv" +path.s3tc="res://.godot/imported/vaso_palette1.png-c99f944634f63ce352417e541fa0bc02.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={} + +[deps] + +source_file="res://models/vaso_palette1.png" +dest_files=["res://.godot/imported/vaso_palette1.png-c99f944634f63ce352417e541fa0bc02.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/models/veci.glb b/models/veci.glb new file mode 100644 index 0000000..d287759 Binary files /dev/null and b/models/veci.glb differ diff --git a/models/veci.glb.import b/models/veci.glb.import new file mode 100644 index 0000000..5ad982c --- /dev/null +++ b/models/veci.glb.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://ci3oqjm7d6n5c" +path="res://.godot/imported/veci.glb-28b44f73a9a0465393ec90d9af6d7f1c.scn" + +[deps] + +source_file="res://models/veci.glb" +dest_files=["res://.godot/imported/veci.glb-28b44f73a9a0465393ec90d9af6d7f1c.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/models/veci_palette1.png b/models/veci_palette1.png new file mode 100644 index 0000000..aa0d3b7 Binary files /dev/null and b/models/veci_palette1.png differ diff --git a/models/veci_palette1.png.import b/models/veci_palette1.png.import new file mode 100644 index 0000000..37e0dfc --- /dev/null +++ b/models/veci_palette1.png.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cf5r1qosd018l" +path.s3tc="res://.godot/imported/veci_palette1.png-01eac8c4b4c12f64550f4cf370c634ad.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={} + +[deps] + +source_file="res://models/veci_palette1.png" +dest_files=["res://.godot/imported/veci_palette1.png-01eac8c4b4c12f64550f4cf370c634ad.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/models/vent.tscn b/models/vent.tscn new file mode 100644 index 0000000..300bbd5 --- /dev/null +++ b/models/vent.tscn @@ -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"] diff --git a/obstacles/goal_billboard.tscn b/obstacles/goal_billboard.tscn new file mode 100644 index 0000000..da46258 --- /dev/null +++ b/obstacles/goal_billboard.tscn @@ -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") diff --git a/road_mesh_something.tres b/road_mesh_something.tres new file mode 100644 index 0000000..39aaa47 --- /dev/null +++ b/road_mesh_something.tres @@ -0,0 +1,9 @@ +[gd_resource type="PlaneMesh" load_steps=3 format=3 uid="uid://b2jhvncq5j8pe"] + +[ext_resource type="Texture2D" uid="uid://2cuubqxj75u6" path="res://addons/asphalt.png" id="1_6yda2"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_30fli"] +albedo_texture = ExtResource("1_6yda2") + +[resource] +material = SubResource("StandardMaterial3D_30fli")