[gd_scene load_steps=8 format=3 uid="uid://ckph60svia3xr"] [ext_resource type="Script" path="res://component/entity/jumper/jumper.gd" id="1_smoki"] [ext_resource type="Texture2D" uid="uid://cojbjngjjhoe0" path="res://component/entity/jumper/green_astronaut.png" id="2_xm8at"] [ext_resource type="Script" path="res://component/entity/jumper/jumper_input.gd" id="3_trrhr"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vgl4i"] friction = 0.5 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_raoy1"] radius = 18.0 height = 50.0 [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_wnop5"] 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 [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_74ldf"] properties/0/path = NodePath("JumperInput:direction") properties/0/spawn = false properties/0/sync = true [node name="Jumper" type="RigidBody2D"] physics_material_override = SubResource("PhysicsMaterial_vgl4i") lock_rotation = true linear_damp = 1.0 script = ExtResource("1_smoki") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -2) shape = SubResource("CapsuleShape2D_raoy1") [node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource("2_xm8at") [node name="ServerSynchronizer" type="MultiplayerSynchronizer" parent="."] replication_config = SubResource("SceneReplicationConfig_wnop5") [node name="JumperInput" type="MultiplayerSynchronizer" parent="."] replication_config = SubResource("SceneReplicationConfig_74ldf") script = ExtResource("3_trrhr")