81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
|
[gd_scene load_steps=7 format=3 uid="uid://diss5ty7548p3"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://0j0320rcnxo7" path="res://scenes/crate.tscn" id="1_8ekmb"]
|
||
|
[ext_resource type="Script" path="res://scripts/player.gd" id="2_8vtyd"]
|
||
|
[ext_resource type="PackedScene" uid="uid://csewven6s5npw" path="res://scenes/trigger.tscn" id="3_t3xge"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_byea1"]
|
||
|
|
||
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_nl2iw"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_mcosy"]
|
||
|
|
||
|
[node name="World" type="Node2D"]
|
||
|
|
||
|
[node name="Platform" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(537, 386)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
|
||
|
shape = SubResource("RectangleShape2D_byea1")
|
||
|
|
||
|
[node name="Platform4" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(494, 449)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform4"]
|
||
|
shape = SubResource("RectangleShape2D_byea1")
|
||
|
|
||
|
[node name="Platform5" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(452, 489)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform5"]
|
||
|
shape = SubResource("RectangleShape2D_byea1")
|
||
|
|
||
|
[node name="Platform2" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(623, 386)
|
||
|
scale = Vector2(3.16, 1)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
|
||
|
shape = SubResource("RectangleShape2D_byea1")
|
||
|
|
||
|
[node name="Platform3" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(728, 383)
|
||
|
rotation = -0.701015
|
||
|
scale = Vector2(3.16, 1)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
|
||
|
shape = SubResource("RectangleShape2D_byea1")
|
||
|
|
||
|
[node name="Floor" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(535, 511)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
|
||
|
shape = SubResource("WorldBoundaryShape2D_nl2iw")
|
||
|
|
||
|
[node name="RigidBody2D" parent="." instance=ExtResource("1_8ekmb")]
|
||
|
|
||
|
[node name="RigidBody2D2" parent="." instance=ExtResource("1_8ekmb")]
|
||
|
position = Vector2(540, 175)
|
||
|
rotation = -0.0302685
|
||
|
|
||
|
[node name="RigidBody2D3" parent="." instance=ExtResource("1_8ekmb")]
|
||
|
position = Vector2(626, 349)
|
||
|
rotation = 0.872828
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||
|
position = Vector2(537, 362)
|
||
|
script = ExtResource("2_8vtyd")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||
|
shape = SubResource("CircleShape2D_mcosy")
|
||
|
debug_color = Color(0.826895, 0.282133, 0.703752, 0.42)
|
||
|
|
||
|
[node name="Area2D" parent="." instance=ExtResource("3_t3xge")]
|
||
|
position = Vector2(739, 500)
|