MP sync working, redoing all menus now
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ca4ghctk5gllj"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ca4ghctk5gllj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cgtkkroa583fo" path="res://TileSets/Stuff.png" id="1_462gd"]
|
||||
[ext_resource type="Script" path="res://PhysicsObjects/HandStatue/HandStatue.gd" id="1_ap0lt"]
|
||||
@@ -12,12 +12,21 @@ bounce = 0.76
|
||||
radius = 9.0
|
||||
height = 34.0
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_14ixl"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = false
|
||||
properties/0/sync = false
|
||||
properties/1/path = NodePath(".:linear_velocity")
|
||||
properties/1/spawn = false
|
||||
properties/1/sync = true
|
||||
|
||||
[node name="HandStatue" type="RigidBody2D" groups=["moveable"]]
|
||||
physics_material_override = SubResource("PhysicsMaterial_ho34d")
|
||||
max_contacts_reported = 3
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
lock_rotation = true
|
||||
script = ExtResource("1_ap0lt")
|
||||
initial_impulse = Vector2(200, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -4)
|
||||
@@ -29,4 +38,7 @@ texture = ExtResource("1_462gd")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(48, 36, 16, 28)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_14ixl")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
Reference in New Issue
Block a user