Initial commit
This commit is contained in:
commit
8d5714c215
16 changed files with 594 additions and 0 deletions
57
player.tscn
Normal file
57
player.tscn
Normal file
|
@ -0,0 +1,57 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue