first iteration with authorative movement

This commit is contained in:
2025-02-01 19:41:38 +09:00
parent 3ef5254792
commit c8c5c08b4d
49 changed files with 1364 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
[gd_scene load_steps=7 format=3 uid="uid://d22gcvp7p2sfr"]
[ext_resource type="Script" path="res://scripts/in_game.gd" id="1_0lma2"]
[ext_resource type="PlaneMesh" uid="uid://dwpvym2kc4gd8" path="res://meshes/ground.tres" id="1_7j0qh"]
[ext_resource type="Material" uid="uid://chp3rogcgumau" path="res://materials/ground.tres" id="2_f8uto"]
[ext_resource type="PackedScene" uid="uid://cw0ho53ruh87m" path="res://scenes/house.tscn" id="4_38bom"]
[sub_resource type="Environment" id="Environment_2c67a"]
background_mode = 1
ambient_light_source = 2
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.01
sdfgi_read_sky_light = false
glow_enabled = true
glow_normalized = true
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_1l61b"]
[node name="InGame" type="Node3D"]
script = ExtResource("1_0lma2")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_2c67a")
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("res://scenes/runner.tscn")
spawn_path = NodePath("../RunnersNode")
[node name="GroundStaticBody3D" type="StaticBody3D" parent="."]
[node name="GroundCollisionShape3D" type="CollisionShape3D" parent="GroundStaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_1l61b")
[node name="GroundMeshInstance3D" type="MeshInstance3D" parent="GroundStaticBody3D"]
mesh = ExtResource("1_7j0qh")
surface_material_override/0 = ExtResource("2_f8uto")
[node name="House" parent="." instance=ExtResource("4_38bom")]
[node name="RunnersNode" type="Node3D" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer/Control"]
unique_name_in_owner = true
layout_mode = 0
offset_right = 200.0
offset_bottom = 50.0
[node name="PingTimer" type="Timer" parent="."]
unique_name_in_owner = true
wait_time = 0.5
autostart = true
[connection signal="timeout" from="PingTimer" to="." method="_on_ping_timer_timeout"]