-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.tscn
43 lines (33 loc) · 1.85 KB
/
game.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=10 format=3 uid="uid://cgrq37cgfhbp5"]
[ext_resource type="Script" path="res://game.gd" id="1_oijq2"]
[ext_resource type="VoxelGeneratorScript" uid="uid://jdbcaobc6lwu" path="res://generator/terrain_generator.tres" id="1_pq5bh"]
[ext_resource type="VoxelBlockyLibrary" uid="uid://dsmaa8blhcpue" path="res://blocks/library.tres" id="2_r7uav"]
[ext_resource type="PackedScene" uid="uid://di0ajml82pym3" path="res://character/character.tscn" id="3_45uwf"]
[ext_resource type="Texture2D" uid="uid://dejwk4vuacluw" path="res://generator/Epic_BlueSunset_EquiRect_flat.png" id="4_wcwyy"]
[sub_resource type="VoxelMesherBlocky" id="VoxelMesherBlocky_efljv"]
library = ExtResource("2_r7uav")
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yuk8l"]
panorama = ExtResource("4_wcwyy")
[sub_resource type="Sky" id="Sky_tcu27"]
sky_material = SubResource("PanoramaSkyMaterial_yuk8l")
[sub_resource type="Environment" id="Environment_oux0s"]
background_mode = 2
sky = SubResource("Sky_tcu27")
[node name="Game" type="Node"]
script = ExtResource("1_oijq2")
[node name="VoxelTerrain" type="VoxelTerrain" parent="."]
generator = ExtResource("1_pq5bh")
mesher = SubResource("VoxelMesherBlocky_efljv")
run_stream_in_editor = false
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.781716, -0.599729, 0.17101, 0.17101, 0.469846, 0.866025, -0.599729, -0.647742, 0.469846, 0, 0, 0)
light_color = Color(1, 0.917647, 0.811765, 1)
shadow_enabled = true
shadow_opacity = 0.9
[node name="character" parent="." node_paths=PackedStringArray("_terrain") instance=ExtResource("3_45uwf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 50, 0)
_speed = 8.0
_max_speed = 50.0
_terrain = NodePath("../VoxelTerrain")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_oux0s")