added realtime day night cycle based on system time
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=29 format=3 uid="uid://uo43j7bomkf3"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://uo43j7bomkf3"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bkii8jwf0k7tq" path="res://scripts/LevelManager.gd" id="1_8o3mm"]
|
||||
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="2_knkyv"]
|
||||
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="3_sn6s8"]
|
||||
[ext_resource type="PackedScene" uid="uid://cwy8iv8nlwqrc" path="res://assets/realtime_day_night_cycle.tscn" id="3_uc3ig"]
|
||||
[ext_resource type="Script" uid="uid://12l74jckdnpl" path="res://scripts/room_manager.gd" id="4_iqtg8"]
|
||||
[ext_resource type="PackedScene" uid="uid://djr7vnr1hcx82" path="res://assets/spider2.tscn" id="5_vb31s"]
|
||||
[ext_resource type="Script" uid="uid://bw1uh8yc13tjy" path="res://scripts/switch_door.gd" id="6_xph2x"]
|
||||
@@ -19,23 +20,6 @@
|
||||
[ext_resource type="Material" uid="uid://b6hhomp4kcjvb" path="res://assets/materials/prototype/tadaoando.tres" id="21_s6xxg"]
|
||||
[ext_resource type="PackedScene" uid="uid://dgapcuvg0gtmm" path="res://assets/scene_changer.tscn" id="22_6kw07"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_w6vpl"]
|
||||
sky_top_color = Color(0.623488, 0.812575, 0.900791, 1)
|
||||
sky_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
|
||||
ground_bottom_color = Color(0.5, 0.5, 0.5, 1)
|
||||
ground_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_6g0ku"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_w6vpl")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_klp4b"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_6g0ku")
|
||||
tonemap_mode = 2
|
||||
glow_enabled = true
|
||||
fog_mode = 1
|
||||
fog_density = 1.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3e03q"]
|
||||
length = 0.001
|
||||
tracks/0/type = "position_3d"
|
||||
@@ -89,24 +73,13 @@ map_name = "Wall Runnin"
|
||||
gamemode = ExtResource("2_knkyv")
|
||||
player = NodePath("Player")
|
||||
MAX_PARTICLES = 75
|
||||
expected_ammo = {
|
||||
"heavy": 25,
|
||||
"light": 500,
|
||||
"medium": 50,
|
||||
"rocket": 3,
|
||||
"shotgun": 20
|
||||
}
|
||||
|
||||
[node name="Realtime Day Night Cycle" parent="." instance=ExtResource("3_uc3ig")]
|
||||
transform = Transform3D(0.510503, -0.00501647, 0.859861, 0.00982605, 0.999952, 3.48377e-10, -0.85982, 0.00844904, 0.510528, 0, 0, 0)
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("3_sn6s8")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.4194, 277.483, -34.6215)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_klp4b")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.78152, -0.330606, 0.52908, 0, 0.848048, 0.529919, -0.62388, 0.414143, -0.662767, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Level" type="Node3D" parent="." groups=["enemy_hivemind"]]
|
||||
script = ExtResource("4_iqtg8")
|
||||
room_lockdown = true
|
||||
@@ -165,7 +138,7 @@ door_open_start = true
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Level/Door"]
|
||||
root_node = NodePath("../..")
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_s1qpx")
|
||||
&"": SubResource("AnimationLibrary_s1qpx")
|
||||
}
|
||||
|
||||
[node name="RoomCheck" type="Area3D" parent="Level"]
|
||||
|
||||
Reference in New Issue
Block a user