Add Sway and Bob

This commit is contained in:
2022-12-06 00:48:50 +01:00
parent 04a4ebc899
commit 825d86f271
26 changed files with 1513 additions and 116 deletions

View File

@@ -1,22 +1,51 @@
[gd_scene load_steps=4 format=3 uid="uid://chf6bnj13f744"]
[gd_scene load_steps=8 format=3 uid="uid://cqutof7bvocqc"]
[ext_resource type="PackedScene" uid="uid://c65plp2c8ms4" path="res://player_q3/PlayerQ3.tscn" id="1"]
[ext_resource type="LightmapGIData" uid="uid://k5haifo34pp6" path="res://Game.lmbake" id="2_3k1jt"]
[ext_resource type="PackedScene" uid="uid://bl7jynld7s25o" path="res://scenes/player/PlayerQ3.tscn" id="2_dhifo"]
[ext_resource type="Script" path="res://Game.gd" id="3"]
[ext_resource type="PackedScene" uid="uid://bke5cip8sjpoq" path="res://map/entity_0_worldspawn.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://bke5cip8sjpoq" path="res://scenes/map/entity_0_worldspawn.tscn" id="3_3r3q4"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_mv01y"]
[sub_resource type="Sky" id="Sky_ybtis"]
sky_material = SubResource("PhysicalSkyMaterial_mv01y")
[sub_resource type="Environment" id="Environment_ul6y4"]
background_mode = 2
sky = SubResource("Sky_ybtis")
ambient_light_source = 3
reflected_light_source = 2
tonemap_mode = 2
tonemap_exposure = 2.0
[node name="Game" type="Node3D"]
script = ExtResource("3")
[node name="LightmapGI" type="LightmapGI" parent="."]
visible = false
quality = 2
bounces = 6
light_data = ExtResource("2_3k1jt")
[node name="LightmapProbe" type="LightmapProbe" parent="."]
visible = false
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ul6y4")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.77938, 0.395123, -0.486256, 0.383799, 0.312364, 0.86898, 0.495243, -0.86389, 0.0918022, 0, 22.9909, 0)
light_indirect_energy = 1.5
light_bake_mode = 1
shadow_enabled = true
[node name="entity_0_worldspawn" parent="." instance=ExtResource("3_3r3q4")]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Label" type="Label" parent="CanvasLayer"]
offset_right = 40.0
offset_bottom = 14.0
[node name="entity_0_worldspawn" parent="." instance=ExtResource("4")]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.0303989, 0.999538, 0, -0.999538, -0.0303989, 0, 25.1267, 0)
[node name="PlayerQ3" parent="." instance=ExtResource("1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.0882, 1, -0.869213)
[node name="PlayerQ3" parent="." instance=ExtResource("2_dhifo")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.6672, 11.2181)