78 lines
3.6 KiB
Plaintext
78 lines
3.6 KiB
Plaintext
[gd_scene format=3 uid="uid://d3jfn55lhv658"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bwb5tbqutixgn" path="res://anime_skybox.jpg" id="1_ui7ud"]
|
|
[ext_resource type="PackedScene" uid="uid://b0qtyhhrmbg6s" path="res://Assets/Models/Prefabs/block_grass.tscn" id="4_v3d7h"]
|
|
[ext_resource type="PackedScene" uid="uid://dis4m18yyeqww" path="res://Assets/Models/Actors/player.tscn" id="4_ws1nr"]
|
|
[ext_resource type="Script" uid="uid://ciatq4g0mefhf" path="res://Assets/Scripts/camera_pivot.gd" id="5_vjabh"]
|
|
|
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_m25cl"]
|
|
panorama = ExtResource("1_ui7ud")
|
|
|
|
[sub_resource type="Sky" id="Sky_hgc2c"]
|
|
sky_material = SubResource("PanoramaSkyMaterial_m25cl")
|
|
|
|
[sub_resource type="Environment" id="Environment_ui7ud"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_hgc2c")
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_ui7ud"]
|
|
size = Vector2(150, 150)
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_m25cl"]
|
|
data = PackedVector3Array(10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0, -10, 10, 0, -10)
|
|
|
|
[node name="World" type="Node3D" unique_id=285393791]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1973691804]
|
|
environment = SubResource("Environment_ui7ud")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1264939534]
|
|
transform = Transform3D(1, 0, 0, 0, 0.18972956, 0.9818364, 0, -0.9818364, 0.18972956, 0, 3.593497, 5.381867)
|
|
shadow_enabled = true
|
|
sky_mode = 1
|
|
|
|
[node name="GridMap" type="GridMap" parent="." unique_id=160102241]
|
|
|
|
[node name="Ground" type="MeshInstance3D" parent="." unique_id=199371756]
|
|
mesh = SubResource("PlaneMesh_ui7ud")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Ground" unique_id=568384717]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D" unique_id=1543668192]
|
|
shape = SubResource("ConcavePolygonShape3D_m25cl")
|
|
|
|
[node name="Camera_pivot" type="Node3D" parent="." unique_id=1773563946 node_paths=PackedStringArray("target")]
|
|
script = ExtResource("5_vjabh")
|
|
target = NodePath("../Player")
|
|
|
|
[node name="Camera" type="Camera3D" parent="Camera_pivot" unique_id=205599850]
|
|
|
|
[node name="Player" parent="." unique_id=1103279396 node_paths=PackedStringArray("view", "timer") instance=ExtResource("4_ws1nr")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27383035, 0.003461957, -3.6754417)
|
|
view = NodePath("../Camera_pivot")
|
|
timer = NodePath("Timer")
|
|
|
|
[node name="Timer" type="Timer" parent="Player" unique_id=787181895]
|
|
wait_time = 0.3
|
|
one_shot = true
|
|
|
|
[node name="block-grass2" parent="." unique_id=1963880729 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.8063726, 1.880791e-37, -3.5159442)
|
|
|
|
[node name="block-grass3" parent="." unique_id=574078967 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.2028437, 1.880791e-37, -7.068507)
|
|
|
|
[node name="block-grass4" parent="." unique_id=1879882826 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.0017414, 1.1920929e-07, -6.181142)
|
|
|
|
[node name="block-grass5" parent="." unique_id=787080299 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.811377, 1.1096659, -3.6591759)
|
|
|
|
[node name="block-grass6" parent="." unique_id=1341235001 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.9334083, 2.3500347, -3.9486947)
|
|
|
|
[node name="block-grass7" parent="." unique_id=1614115200 instance=ExtResource("4_v3d7h")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.555201, 3.5995975, -3.9474897)
|
|
|
|
[connection signal="timeout" from="Player/Timer" to="Player" method="_on_timer_timeout"]
|