AprilGodotGame/Scenes/game.tscn

128 lines
4.6 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://dqqdib5anaqda"]
[ext_resource type="Script" uid="uid://ddcndcxphdnbe" path="res://Scripts/gamecontroller.gd" id="1_wrm1d"]
[ext_resource type="Script" uid="uid://c838c4s60bkfg" path="res://Scripts/scene_manager.gd" id="2_3dryh"]
[ext_resource type="PackedScene" uid="uid://5swv3kd5joaj" path="res://Scenes/Lil_Guy.tscn" id="2_wrm1d"]
[ext_resource type="PackedScene" uid="uid://u7ewyn4lu0fd" path="res://Scenes/trigger.tscn" id="3_wrm1d"]
[ext_resource type="PackedScene" uid="uid://dx5m8x6vkbmfm" path="res://Scenes/Crate.tscn" id="4_wowpa"]
[ext_resource type="PackedScene" uid="uid://344i7lt7xohd" path="res://Scenes/Bullet.tscn" id="5_i6g32"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
size = Vector2(76, 10)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ebmjs"]
[node name="Game" type="Node2D"]
script = ExtResource("1_wrm1d")
[node name="SceneManager" type="Node" parent="."]
unique_name_in_owner = true
script = ExtResource("2_3dryh")
[node name="CharacterBody2D" parent="." instance=ExtResource("2_wrm1d")]
position = Vector2(487, 204)
[node name="Level" type="Node2D" parent="."]
[node name="StaticBody2D3" type="StaticBody2D" parent="Level"]
position = Vector2(298, 317)
rotation = -1.58728
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/StaticBody2D3"]
shape = SubResource("RectangleShape2D_2poj3")
[node name="StaticBody2D2" type="StaticBody2D" parent="Level"]
position = Vector2(271, 406)
rotation = -0.727525
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/StaticBody2D2"]
shape = SubResource("RectangleShape2D_2poj3")
[node name="StaticBody2D" type="StaticBody2D" parent="Level"]
position = Vector2(98, 265)
rotation = 0.569025
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/StaticBody2D"]
shape = SubResource("RectangleShape2D_2poj3")
[node name="StaticBody2D4" type="StaticBody2D" parent="Level"]
position = Vector2(75, 352)
rotation = 0.569025
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/StaticBody2D4"]
shape = SubResource("RectangleShape2D_2poj3")
[node name="StaticBody2D5" type="StaticBody2D" parent="Level"]
position = Vector2(128, 429)
rotation = 3.87039
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/StaticBody2D5"]
shape = SubResource("RectangleShape2D_2poj3")
[node name="Floor" type="StaticBody2D" parent="Level"]
position = Vector2(349, 592)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Floor"]
shape = SubResource("WorldBoundaryShape2D_ebmjs")
[node name="Wall Right" type="StaticBody2D" parent="Level"]
position = Vector2(731, 413)
rotation = -1.5822
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Wall Right"]
shape = SubResource("WorldBoundaryShape2D_ebmjs")
[node name="Wall Left" type="StaticBody2D" parent="Level"]
position = Vector2(40, 429)
rotation = 1.55732
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Wall Left"]
shape = SubResource("WorldBoundaryShape2D_ebmjs")
[node name="Crates" type="Node2D" parent="."]
position = Vector2(275, 437)
rotation = 0.569025
[node name="RigidBody2D" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-315.914, -133.877)
[node name="RigidBody2D2" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-111.145, -4.88353)
[node name="RigidBody2D3" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-97.3452, -74.249)
[node name="RigidBody2D4" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-148.609, -120.993)
[node name="RigidBody2D5" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-267.387, -176.786)
[node name="RigidBody2D6" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-176.542, -227.767)
[node name="RigidBody2D7" parent="Crates" instance=ExtResource("4_wowpa")]
position = Vector2(-89.7804, -253.583)
rotation = -3.50034
[node name="Area2D" parent="Crates" instance=ExtResource("5_i6g32")]
position = Vector2(-330.757, -184.923)
[node name="Trigger" parent="." instance=ExtResource("3_wrm1d")]
position = Vector2(112, 516)
[node name="Trigger2" parent="." instance=ExtResource("3_wrm1d")]
position = Vector2(654, 121)
effect = "teleport"
[connection signal="triggerFired" from="Trigger" to="." method="_on_trigger_fired"]
[connection signal="triggerFired" from="Trigger2" to="." method="_on_trigger_fired"]