67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://21dnwl0rfjcd"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c3w3n7ysd02bd" path="res://scenes/Player.tscn" id="1_go701"]
|
|
[ext_resource type="Script" uid="uid://d2jx8gdq5o5d7" path="res://scripts/player.gd" id="2_5a7ea"]
|
|
[ext_resource type="PackedScene" uid="uid://bnaknh1h8isk0" path="res://scenes/box.tscn" id="3_4wyf3"]
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_go701"]
|
|
size = Vector2(1000, 100)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_go701"]
|
|
size = Vector2(1001, 98)
|
|
|
|
[node name="World" type="Node2D"]
|
|
|
|
[node name="Player" parent="." instance=ExtResource("1_go701")]
|
|
position = Vector2(601, 137)
|
|
script = ExtResource("2_5a7ea")
|
|
speed = 350
|
|
gravity = 40
|
|
jump_force = 800
|
|
fallvelocity_cap = 1000
|
|
max_air_jumps = 1
|
|
crouch_mult = 1
|
|
sprint_mult = 1
|
|
|
|
[node name="Platform" type="StaticBody2D" parent="."]
|
|
position = Vector2(604, 135)
|
|
|
|
[node name="MeshInstance2D" type="MeshInstance2D" parent="Platform"]
|
|
position = Vector2(-35, 194)
|
|
mesh = SubResource("QuadMesh_go701")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
|
|
position = Vector2(-35.5, 194)
|
|
shape = SubResource("RectangleShape2D_go701")
|
|
|
|
[node name="Platform2" type="StaticBody2D" parent="."]
|
|
position = Vector2(2118, 133)
|
|
|
|
[node name="MeshInstance2D" type="MeshInstance2D" parent="Platform2"]
|
|
position = Vector2(-35, 194)
|
|
mesh = SubResource("QuadMesh_go701")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
|
|
position = Vector2(-35.5, 194)
|
|
shape = SubResource("RectangleShape2D_go701")
|
|
|
|
[node name="Platform3" type="StaticBody2D" parent="."]
|
|
position = Vector2(1385, 233)
|
|
|
|
[node name="MeshInstance2D" type="MeshInstance2D" parent="Platform3"]
|
|
position = Vector2(-35, 194)
|
|
mesh = SubResource("QuadMesh_go701")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
|
|
position = Vector2(-35.5, 194)
|
|
shape = SubResource("RectangleShape2D_go701")
|
|
|
|
[node name="Box" parent="." instance=ExtResource("3_4wyf3")]
|
|
position = Vector2(1808, 48)
|
|
|
|
[node name="Box2" parent="." instance=ExtResource("3_4wyf3")]
|
|
position = Vector2(2500, 121)
|
|
|
|
[node name="Box3" parent="." instance=ExtResource("3_4wyf3")]
|
|
position = Vector2(2500, -108)
|