52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
|
[gd_scene load_steps=7 format=3 uid="uid://bqhrdmmqohi0n"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://dpd3j1180cf7a" path="res://scripts/gameController.gd" id="1_lnu2h"]
|
||
|
[ext_resource type="Script" uid="uid://ce1dyrh5wvtc2" path="res://scripts/playerBody.gd" id="1_uwrxv"]
|
||
|
[ext_resource type="PackedScene" uid="uid://cwkxvudu2hvld" path="res://scenes/crate.tscn" id="2_lbhrr"]
|
||
|
[ext_resource type="PackedScene" uid="uid://4av2mmfp5ofy" path="res://scenes/areaTrigger.tscn" id="3_lnu2h"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
|
||
|
size = Vector2(1096, 55.5)
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_8cj0n"]
|
||
|
|
||
|
[node name="game" type="Node2D"]
|
||
|
script = ExtResource("1_lnu2h")
|
||
|
|
||
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||
|
position = Vector2(580, 583)
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||
|
shape = SubResource("RectangleShape2D_8cj0n")
|
||
|
|
||
|
[node name="RigidBody2D" parent="." instance=ExtResource("2_lbhrr")]
|
||
|
position = Vector2(960, 187)
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||
|
position = Vector2(589, 281)
|
||
|
script = ExtResource("1_uwrxv")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||
|
shape = SubResource("CapsuleShape2D_8cj0n")
|
||
|
debug_color = Color(0.284982, 0.626275, 0.216672, 0.42)
|
||
|
|
||
|
[node name="Area2D" parent="." instance=ExtResource("3_lnu2h")]
|
||
|
position = Vector2(449, 498)
|
||
|
|
||
|
[node name="Area2D2" parent="." instance=ExtResource("3_lnu2h")]
|
||
|
position = Vector2(718, 496)
|
||
|
effect = "powerUp"
|
||
|
|
||
|
[node name="RigidBody2D2" parent="." instance=ExtResource("2_lbhrr")]
|
||
|
position = Vector2(412, 286)
|
||
|
rotation = -0.228399
|
||
|
|
||
|
[node name="RigidBody2D3" parent="." instance=ExtResource("2_lbhrr")]
|
||
|
position = Vector2(788, 246)
|
||
|
rotation = -0.710361
|
||
|
|
||
|
[connection signal="onAreaEntered" from="Area2D" to="." method="onAreaEntered"]
|
||
|
[connection signal="onAreaEntered" from="Area2D2" to="." method="onAreaEntered"]
|