You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.7 KiB
58 lines
1.7 KiB
[gd_scene load_steps=6 format=3 uid="uid://b6olswaoek0bw"]
|
|
|
|
[ext_resource type="Script" path="res://player.gd" id="1_0p8o6"]
|
|
|
|
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_2xv6m"]
|
|
load_path = "res://.godot/imported/white.png-d8533361663a5f8fe5200e5b5262a62d.ctex"
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8wbiu"]
|
|
size = Vector2(32, 48)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2cyhj"]
|
|
size = Vector2(38, 48)
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_38o4e"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/sync = true
|
|
properties/0/watch = false
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
collision_layer = 2
|
|
script = ExtResource("1_0p8o6")
|
|
jump_velocity = -700.0
|
|
wall_jump_velocity = 700.0
|
|
fox_time = 100
|
|
limp_gravity_modifier = 3.0
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(1, 1.5)
|
|
texture = SubResource("CompressedTexture2D_2xv6m")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_8wbiu")
|
|
|
|
[node name="WallDetect" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallDetect"]
|
|
shape = SubResource("RectangleShape2D_2cyhj")
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_38o4e")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -24.5
|
|
offset_top = -54.0
|
|
offset_right = 24.5
|
|
offset_bottom = -28.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
text = "Player"
|
|
horizontal_alignment = 1
|