From 04be345abac64c315f80136bf344e4833a8db22c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 8 Jan 2023 12:52:11 +0100 Subject: [PATCH] Not sure of what's going on --- island/CropTile.tscn | 8 ++++---- island/Island.tscn | 18 ------------------ 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/island/CropTile.tscn b/island/CropTile.tscn index 9c99eda..d5ebed5 100644 --- a/island/CropTile.tscn +++ b/island/CropTile.tscn @@ -6,10 +6,10 @@ [ext_resource type="AudioStream" uid="uid://lkftwgdun745" path="res://assets/pop.wav" id="3_gur2a"] [ext_resource type="Script" path="res://island/Pop.gd" id="4_5e7wk"] -[sub_resource type="BoxShape3D" id="BoxShape3D_6ja5h"] +[sub_resource type="BoxShape3D" id="BoxShape3D_xsd7y"] size = Vector3(1, 0.1, 1) -[sub_resource type="ArrayMesh" id="ArrayMesh_28cd1"] +[sub_resource type="ArrayMesh" id="ArrayMesh_gwmmn"] _surfaces = [{ "aabb": AABB(-0.5, 0, -0.5, 1.00001, 1.00001, 1), "attribute_data": PackedByteArray(143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 31, 133, 107, 63, 183, 109, 91, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63), @@ -35,11 +35,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0.5) [node name="PlantableArea" type="CollisionShape3D" parent="Plant"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0) -shape = SubResource("BoxShape3D_6ja5h") +shape = SubResource("BoxShape3D_xsd7y") [node name="Sprout" type="MeshInstance3D" parent="Plant"] transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) -mesh = SubResource("ArrayMesh_28cd1") +mesh = SubResource("ArrayMesh_gwmmn") skeleton = NodePath("../../..") [node name="GrowthTimer" type="Timer" parent="."] diff --git a/island/Island.tscn b/island/Island.tscn index dc24836..17a3ee8 100644 --- a/island/Island.tscn +++ b/island/Island.tscn @@ -8,7 +8,6 @@ [ext_resource type="PackedScene" uid="uid://cxa5irr1atgke" path="res://island/PyramidSmallMesh.tscn" id="5_uf8hd"] [ext_resource type="PackedScene" uid="uid://bknwefv5ycc3u" path="res://island/PyramidSmolMesh.tscn" id="6_klmt8"] [ext_resource type="PackedScene" uid="uid://boxtb3trgcy8c" path="res://island/PillarMesh.tscn" id="7_grmwj"] -[ext_resource type="PackedScene" uid="uid://cf35yl04qtru3" path="res://island/CropTile.tscn" id="8_4ooup"] [ext_resource type="PackedScene" uid="uid://cwf11kdk7t64k" path="res://island/HoppityMesh.tscn" id="8_5pio0"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_3uyyi"] @@ -96,21 +95,4 @@ transform = Transform3D(-1, 3.48787e-16, -8.74228e-08, 3.48787e-16, 1, -3.48787e [node name="CropTiles" type="Node3D" parent="."] -[node name="CropTile" parent="CropTiles" instance=ExtResource("8_4ooup")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 8) - -[node name="CropTile2" parent="CropTiles" instance=ExtResource("8_4ooup")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 8) -debug_growth_offset = 0.5 - -[node name="CropTile3" parent="CropTiles" instance=ExtResource("8_4ooup")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 8) -debug_growth = true -debug_growth_offset = 0.6 - -[node name="CropTile4" parent="CropTiles" instance=ExtResource("8_4ooup")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -2) -debug_growth = true -debug_growth_offset = 0.6 - [node name="Produce" type="Node3D" parent="."]