🐛 Fix buges
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://nu34biv4xo5k"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://nu34biv4xo5k"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c2qpm7mcrvq57" path="res://Sprites/Brick.png" id="1_tqbee"]
|
||||
[ext_resource type="Script" path="res://Scripts/Brick.cs" id="1_u0jqj"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5wmf4"]
|
||||
size = Vector2(51.2, 51.2)
|
||||
@ -8,9 +9,16 @@ size = Vector2(51.2, 51.2)
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_r3565"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 1
|
||||
properties/0/replication_mode = 0
|
||||
properties/1/path = NodePath(".:DecayProgress")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 0
|
||||
properties/2/path = NodePath(".:MaxDecayProgress")
|
||||
properties/2/spawn = true
|
||||
properties/2/replication_mode = 0
|
||||
|
||||
[node name="Brick" type="StaticBody2D"]
|
||||
script = ExtResource("1_u0jqj")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(2.08165e-12, 2.08165e-12)
|
||||
@ -21,7 +29,7 @@ texture = ExtResource("1_tqbee")
|
||||
shape = SubResource("RectangleShape2D_5wmf4")
|
||||
|
||||
[node name="DecayTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
wait_time = 0.1
|
||||
autostart = true
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
|
@ -25,6 +25,6 @@ World = NodePath("../../World")
|
||||
script = ExtResource("3_xwguj")
|
||||
PlayerScene = ExtResource("1_vby0g")
|
||||
|
||||
[node name="WorldSpawner" type="MultiplayerSpawner" parent="."]
|
||||
_spawnable_scenes = PackedStringArray("res://Scenes/Player.tscn", "res://Scenes/Brick.tscn")
|
||||
[node name="PlayerSpawner" type="MultiplayerSpawner" parent="."]
|
||||
_spawnable_scenes = PackedStringArray("res://Scenes/Player.tscn")
|
||||
spawn_path = NodePath("../World")
|
||||
|
Reference in New Issue
Block a user