aboutsummaryrefslogtreecommitdiff
path: root/client/scenes/game.tscn
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-21 15:20:17 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:27:04 +0200
commitd6a0899e9641c68b96463669bd655629eb430311 (patch)
treef51fbedad2a303035a414d446b4222b1d997fa6d /client/scenes/game.tscn
parent68a671883983252edcc28fced0279eb37e6ba297 (diff)
downloadhurrycurry-d6a0899e9641c68b96463669bd655629eb430311.tar
hurrycurry-d6a0899e9641c68b96463669bd655629eb430311.tar.bz2
hurrycurry-d6a0899e9641c68b96463669bd655629eb430311.tar.zst
multiplayer movement
Diffstat (limited to 'client/scenes/game.tscn')
-rw-r--r--client/scenes/game.tscn11
1 files changed, 4 insertions, 7 deletions
diff --git a/client/scenes/game.tscn b/client/scenes/game.tscn
index bf93d4d7..998329cb 100644
--- a/client/scenes/game.tscn
+++ b/client/scenes/game.tscn
@@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://clsylbmw7jc0s"]
+[ext_resource type="Script" path="res://scripts/game.gd" id="1_qnslj"]
[ext_resource type="PackedScene" uid="uid://bnqujofthaa4h" path="res://scenes/map.tscn" id="1_qt88a"]
-[ext_resource type="PackedScene" uid="uid://d30bj2cp1m7gd" path="res://scenes/player.tscn" id="2_cdwnc"]
[ext_resource type="PackedScene" uid="uid://b31mlnao6ybt8" path="res://scenes/follow_camera.tscn" id="3_6ot70"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_ko0bu"]
@@ -19,6 +19,7 @@ sdfgi_enabled = true
glow_enabled = true
[node name="Game" type="Node3D"]
+script = ExtResource("1_qnslj")
[node name="Map" parent="." instance=ExtResource("1_qt88a")]
@@ -29,10 +30,6 @@ shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_h880f")
-[node name="Player" parent="." node_paths=PackedStringArray("map", "camera") instance=ExtResource("2_cdwnc")]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 2)
-map = NodePath("../Map")
-camera = NodePath("../FollowCamera")
-
[node name="FollowCamera" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_6ot70")]
-target = NodePath("../Player")
+transform = Transform3D(0.894934, 0.084374, -0.438148, 0, 0.981959, 0.189095, 0.446198, -0.169228, 0.878789, 0, 3.65756, 11.0189)
+target = NodePath("../Map")