[gd_scene load_steps=6 format=3 uid="uid://xp8ll36st20m"] [ext_resource type="Script" path="res://World/PlayerShip.gd" id="1_tcnl2"] [ext_resource type="Script" path="res://World/PlayerInput.gd" id="2_ehys6"] [ext_resource type="Texture2D" uid="uid://gvjj0iavxk67" path="res://Images/ship.png" id="2_tx1m0"] [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_08f0c"] properties/0/path = NodePath(".:position") properties/0/spawn = true properties/0/sync = true properties/1/path = NodePath(".:player") properties/1/spawn = true properties/1/sync = false properties/2/path = NodePath(".:rotation") properties/2/spawn = true properties/2/sync = true [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hbmqt"] properties/0/path = NodePath(".:rotate") properties/0/spawn = false properties/0/sync = true properties/1/path = NodePath(".:thrust") properties/1/spawn = false properties/1/sync = true properties/2/path = NodePath(".:shoot") properties/2/spawn = false properties/2/sync = true [node name="Player ship" type="CharacterBody2D"] script = ExtResource("1_tcnl2") [node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."] replication_config = SubResource("SceneReplicationConfig_08f0c") [node name="PlayerInput" type="MultiplayerSynchronizer" parent="."] root_path = NodePath(".") replication_config = SubResource("SceneReplicationConfig_hbmqt") script = ExtResource("2_ehys6") [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] polygon = PackedVector2Array(31, 0, -29, -28, -29, 28) [node name="Camera2D" type="Camera2D" parent="."] [node name="Muzzle main" type="Marker2D" parent="."] position = Vector2(42, 0) [node name="Ship" type="Sprite2D" parent="."] texture = ExtResource("2_tx1m0")