This commit is contained in:
2025-01-02 13:28:04 -06:00
commit 95b13a7f55
23 changed files with 602 additions and 0 deletions

24
scenes/Maps/test.tscn Normal file

File diff suppressed because one or more lines are too long

37
scenes/NPC/Rosa.tscn Normal file
View File

@@ -0,0 +1,37 @@
[gd_scene load_steps=8 format=3 uid="uid://yhtpoum3eek7"]
[ext_resource type="Script" path="res://scripts/RosaController.gd" id="1_3g383"]
[ext_resource type="Script" path="res://scripts/RosaCamera.gd" id="2_tr66j"]
[ext_resource type="Shader" path="res://shaders/NPC Shader.gdshader" id="3_j5vis"]
[ext_resource type="Texture2D" uid="uid://i34vweii6joy" path="res://textures/rosa.png" id="4_qdjyy"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ls7r8"]
radius = 9.35148
height = 31.3716
[sub_resource type="QuadMesh" id="QuadMesh_dyaax"]
size = Vector2(32, 32)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_fegux"]
render_priority = 0
shader = ExtResource("3_j5vis")
shader_parameter/frame = 0
shader_parameter/direction = 1
shader_parameter/npcTexture = ExtResource("4_qdjyy")
[node name="Rosa" type="CharacterBody3D"]
script = ExtResource("1_3g383")
[node name="Rosa Camera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.130388, 0.991463, 0, -0.991463, 0.130388, 0, 30.9255, 0)
fov = 30.0
script = ExtResource("2_tr66j")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5.93694)
shape = SubResource("CapsuleShape3D_ls7r8")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.173648, 0.984808, 0, -0.984808, 0.173648, 0, 0, 0)
mesh = SubResource("QuadMesh_dyaax")
surface_material_override/0 = SubResource("ShaderMaterial_fegux")

31
scenes/NPC/TestNPC.tscn Normal file
View File

@@ -0,0 +1,31 @@
[gd_scene load_steps=7 format=3 uid="uid://dr4b2pmsknuhc"]
[ext_resource type="Script" path="res://scripts/TestNPCController.gd" id="1_61g2d"]
[ext_resource type="Shader" path="res://shaders/NPC Shader.gdshader" id="1_xgcv1"]
[ext_resource type="Texture2D" uid="uid://i34vweii6joy" path="res://textures/rosa.png" id="2_shls4"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_32cew"]
radius = 9.35148
height = 31.3716
[sub_resource type="QuadMesh" id="QuadMesh_evcrc"]
size = Vector2(32, 32)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mgbpu"]
render_priority = 0
shader = ExtResource("1_xgcv1")
shader_parameter/frame = 0
shader_parameter/direction = 1
shader_parameter/npcTexture = ExtResource("2_shls4")
[node name="TestNpc" type="CharacterBody3D"]
script = ExtResource("1_61g2d")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5.93694)
shape = SubResource("CapsuleShape3D_32cew")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.173648, 0.984808, 0, -0.984808, 0.173648, 0, 0, 0)
mesh = SubResource("QuadMesh_evcrc")
surface_material_override/0 = SubResource("ShaderMaterial_mgbpu")

36
scenes/TestScene.tscn Normal file
View File

@@ -0,0 +1,36 @@
[gd_scene load_steps=7 format=3 uid="uid://bdrpqtbwvtivd"]
[ext_resource type="PackedScene" uid="uid://yhtpoum3eek7" path="res://scenes/NPC/Rosa.tscn" id="1_3u2u0"]
[ext_resource type="PackedScene" uid="uid://dr4b2pmsknuhc" path="res://scenes/NPC/TestNPC.tscn" id="2_6f3lj"]
[ext_resource type="PackedScene" uid="uid://7wjfo6u4dp3h" path="res://scenes/Maps/test.tscn" id="4_18e1y"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1b6it"]
sky_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
sky_energy_multiplier = 0.0
ground_bottom_color = Color(0, 0, 0, 1)
ground_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
[sub_resource type="Sky" id="Sky_weucl"]
sky_material = SubResource("ProceduralSkyMaterial_1b6it")
[sub_resource type="Environment" id="Environment_18twt"]
background_mode = 2
sky = SubResource("Sky_weucl")
[node name="TestSceneRoot" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_18twt")
[node name="Rosa" parent="." instance=ExtResource("1_3u2u0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.3489, 25.4112, -33.4617)
[node name="TestNpc" parent="." instance=ExtResource("2_6f3lj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15.919, 28.7961, 27.6146)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38.1432, 54.7591, -25.7675)
light_energy = 15.315
omni_range = 281.646
[node name="test" parent="." instance=ExtResource("4_18e1y")]