[gd_scene load_steps=11 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"] [ext_resource type="Texture2D" uid="uid://mk8mv84rjsu" path="res://component/entity/jumper/blue_astronaut.png" id="3_wegaa"] [ext_resource type="Texture2D" uid="uid://c07f5mop1rm1m" path="res://component/entity/jumper/pink_astronaut.png" id="4_v2rk1"] [ext_resource type="Texture2D" uid="uid://b0fdcrrluprxp" path="res://component/entity/jumper/yellow_astronaut.png" id="5_04xut"] [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/0/watch = false properties/1/path = NodePath(".:player") properties/1/spawn = true properties/1/sync = false properties/1/watch = false [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_74ldf"] properties/0/path = NodePath("JumperInput:direction") properties/0/spawn = false properties/0/sync = true properties/0/watch = false [node name="Jumper" type="RigidBody2D"] physics_material_override = SubResource("PhysicsMaterial_vgl4i") lock_rotation = true linear_damp = 1.0 script = ExtResource("1_smoki") skins = Array[Texture2D]([ExtResource("2_xm8at"), ExtResource("3_wegaa"), ExtResource("4_v2rk1"), ExtResource("5_04xut")]) [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")