From d02f15ea4a217c11aec0a735abec79ce43269a06 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 8 Jan 2023 21:47:29 +0100 Subject: [PATCH] Add some seeds to the island (and possibly something more? i must have forgot to commit :skull:) --- island/Island.tscn | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/island/Island.tscn b/island/Island.tscn index caaded6..7b7017f 100644 --- a/island/Island.tscn +++ b/island/Island.tscn @@ -1,26 +1,14 @@ -[gd_scene load_steps=17 format=3 uid="uid://bg88gc1w1gw5m"] +[gd_scene load_steps=15 format=3 uid="uid://bg88gc1w1gw5m"] -[ext_resource type="Shader" path="res://island/Sea.gdshader" id="1_agjfy"] -[ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tile.png" id="1_w6ara"] +[ext_resource type="PackedScene" uid="uid://dh5blytk6vmdu" path="res://island/Sea.tscn" id="1_e0hpm"] [ext_resource type="PackedScene" uid="uid://b5i1sqd88wlle" path="res://player/Player.tscn" id="3_5378m"] [ext_resource type="PackedScene" uid="uid://cyuqnp5bfan4y" path="res://island/IslandMesh.tscn" id="3_g5ug0"] [ext_resource type="PackedScene" uid="uid://tahdk48hqxis" path="res://island/HillMesh.tscn" id="4_5ll24"] [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" path="res://island/HoppityMesh.tscn" id="8_5pio0"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_3uyyi"] -render_priority = 0 -shader = ExtResource("1_agjfy") -shader_parameter/speed_x = 1.0 -shader_parameter/speed_y = 0.1 -shader_parameter/size = 1000.0 -shader_parameter/sea = ExtResource("1_w6ara") - -[sub_resource type="PlaneMesh" id="PlaneMesh_4ibso"] -material = SubResource("ShaderMaterial_3uyyi") -size = Vector2(1000, 1000) +[ext_resource type="PackedScene" uid="uid://cwf11kdk7t64k" path="res://island/HoppityMesh.tscn" id="8_5pio0"] +[ext_resource type="PackedScene" uid="uid://cm0apcnq0f26s" path="res://island/Seeds.tscn" id="10_l32rj"] [sub_resource type="Gradient" id="Gradient_shcpx"] interpolation_mode = 2 @@ -48,9 +36,7 @@ sky = SubResource("Sky_j6hso") [node name="World" type="Node3D" parent="."] -[node name="Sea" type="MeshInstance3D" parent="World"] -mesh = SubResource("PlaneMesh_4ibso") -skeleton = NodePath("../..") +[node name="Sea" parent="World" instance=ExtResource("1_e0hpm")] [node name="IslandMesh" parent="World" instance=ExtResource("3_g5ug0")] @@ -97,3 +83,9 @@ transform = Transform3D(-1, 3.48787e-16, -8.74228e-08, 3.48787e-16, 1, -3.48787e [node name="CropTiles" type="Node3D" parent="."] [node name="Produce" type="Node3D" parent="."] + +[node name="Seeds" parent="Produce" instance=ExtResource("10_l32rj")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 4, 22) + +[node name="Seeds2" parent="Produce" instance=ExtResource("10_l32rj")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 4, 22)