test
This commit is contained in:
parent
1cb4b96daa
commit
4cb3d4a56d
15 changed files with 291 additions and 16 deletions
58
scenes/main.tscn
Normal file
58
scenes/main.tscn
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://7ft61imdn5m8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cit0n24bxqa4m" path="res://scenes/player.gd" id="1_0wfyh"]
|
||||
[ext_resource type="PackedScene" uid="uid://bx2mv7jak76rx" path="res://scenes/tile.tscn" id="2_0wfyh"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_0wfyh"]
|
||||
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_sugp2"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_0wfyh")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_jyhfs"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_sugp2")
|
||||
tonemap_mode = 2
|
||||
glow_enabled = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_0wfyh"]
|
||||
|
||||
[node name="Main" type="Node3D"]
|
||||
|
||||
[node name="Player" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 13, 7)
|
||||
script = ExtResource("1_0wfyh")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="Player"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, 0, 0, 0)
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="Player"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 0, 0)
|
||||
target_position = Vector3(0, -20, 0)
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Control" type="Control" parent="UI"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LevelManager" type="Node3D" parent="."]
|
||||
|
||||
[node name="CurrentLevel" type="Node3D" parent="LevelManager"]
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="LevelManager/CurrentLevel"]
|
||||
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="LevelManager/CurrentLevel"]
|
||||
environment = SubResource("Environment_jyhfs")
|
||||
|
||||
[node name="TileList" type="Node3D" parent="LevelManager/CurrentLevel"]
|
||||
|
||||
[node name="Tile" parent="LevelManager/CurrentLevel/TileList" instance=ExtResource("2_0wfyh")]
|
||||
mesh = SubResource("PlaneMesh_0wfyh")
|
||||
Loading…
Add table
Add a link
Reference in a new issue