lighting and very basic mvement, need camera control

This commit is contained in:
Clevertop 2024-08-10 14:03:49 +10:00
parent 0f4e6bda9a
commit 7b32beeff6
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://bojbawyoy11i4"]
[gd_scene load_steps=8 format=3 uid="uid://bojbawyoy11i4"]
[ext_resource type="Texture2D" uid="uid://contqwyu7r114" path="res://icon.svg" id="1_gnwph"]
[ext_resource type="Script" path="res://Scripts/Player.gd" id="2_0sf88"]
@ -14,6 +14,8 @@ data = PackedVector3Array(-5, 0.5, 5, 5, 0.5, 5, -5, -0.5, 5, 5, 0.5, 5, 5, -0.5
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5q2rg"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a6eig"]
[node name="TestZone" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
@ -37,3 +39,9 @@ skeleton = NodePath("../..")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.621505, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
shape = SubResource("CapsuleShape3D_a6eig")
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.94042, 0)
omni_range = 15.748
omni_attenuation = 0.210224

View file

@ -11,5 +11,6 @@ config_version=5
[application]
config/name="Chrono Chamber"
run/main_scene="res://Levels/TestZone.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"