Now About Social Code
summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2023-09-17 22:00:55 -0400
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2023-09-17 22:00:55 -0400
commit7bfa7fcf02124a4508dffa9d78e8ef921b86a315 (patch)
treeed800e13df324341d8d1e5cead44f95e69718869 /scenes/main.tscn
parentf2b1bba5a9fe2b0bede6792a34965987902c41aa (diff)
Setup basic player controller
Diffstat (limited to 'scenes/main.tscn')
-rw-r--r--scenes/main.tscn11
1 files changed, 5 insertions, 6 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn
index fb249bc..cf072fa 100644
--- a/scenes/main.tscn
+++ b/scenes/main.tscn
@@ -1,14 +1,14 @@
[gd_scene load_steps=8 format=3 uid="uid://bb55ocpenupao"]
[ext_resource type="Script" path="res://scripts/level_gen.gd" id="1_sfx65"]
-[ext_resource type="Script" path="res://scripts/fly_camera.gd" id="2_ba28s"]
+[ext_resource type="PackedScene" uid="uid://dsq68sqy2ldjm" path="res://prefab/player.tscn" id="3_8dect"]
[ext_resource type="Material" uid="uid://uiwp0gpofjrx" path="res://materials/terrain.tres" id="3_nsy4g"]
[sub_resource type="BoxMesh" id="BoxMesh_2l1xl"]
material = ExtResource("3_nsy4g")
[sub_resource type="Environment" id="Environment_w27kj"]
-background_color = Color(0.658824, 0.658824, 0.658824, 1)
+background_color = Color(0.792157, 0.792157, 0.792157, 1)
ambient_light_source = 2
ambient_light_color = Color(1, 1, 1, 1)
@@ -21,10 +21,6 @@ size = Vector2(200, 200)
[node name="Node3D" type="Node3D"]
script = ExtResource("1_sfx65")
-[node name="Camera3D" type="Camera3D" parent="."]
-transform = Transform3D(1, 0, 0, 0, 0.805763, 0.592238, 0, -0.592238, 0.805763, 1.365, 30, 6.859)
-script = ExtResource("2_ba28s")
-
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.878192, 0.478309, 0, -0.478309, -0.878192, 0, 50, 0)
light_energy = 2.0
@@ -45,3 +41,6 @@ shape = SubResource("BoxShape3D_gtg8d")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Water"]
mesh = SubResource("PlaneMesh_ypd0i")
skeleton = NodePath("../..")
+
+[node name="Player" parent="." instance=ExtResource("3_8dect")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.7109, 0, 0)