97 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[gd_scene load_steps=11 format=3 uid="uid://cy1i6ucex6m0d"]
 | 
						|
 | 
						|
[ext_resource type="Script" uid="uid://crhflh7kooolf" path="res://scripts/gamecontroller.gd" id="1_lbhrr"]
 | 
						|
[ext_resource type="PackedScene" uid="uid://qv8blu8wkqvq" path="res://scenes/crate.tscn" id="1_uwrxv"]
 | 
						|
[ext_resource type="Script" uid="uid://co43e72devw6g" path="res://scripts/scene_manager.gd" id="2_p57ef"]
 | 
						|
[ext_resource type="PackedScene" uid="uid://dmrrbiwqptrho" path="res://scenes/trigger.tscn" id="2_yqjtg"]
 | 
						|
[ext_resource type="PackedScene" uid="uid://b1yy0sybg66hh" path="res://scenes/player.tscn" id="3_lnu2h"]
 | 
						|
[ext_resource type="PackedScene" uid="uid://daa6idpu4gkat" path="res://scenes/bullet.tscn" id="5_iywne"]
 | 
						|
[ext_resource type="PackedScene" uid="uid://b5n0lwes8qpu5" path="res://scenes/grenade.tscn" id="7_u5sy4"]
 | 
						|
 | 
						|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
 | 
						|
size = Vector2(68, 35)
 | 
						|
 | 
						|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
 | 
						|
 | 
						|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_8cj0n"]
 | 
						|
 | 
						|
[node name="Game" type="Node2D"]
 | 
						|
script = ExtResource("1_lbhrr")
 | 
						|
 | 
						|
[node name="SceneManager" type="Node2D" parent="."]
 | 
						|
unique_name_in_owner = true
 | 
						|
script = ExtResource("2_p57ef")
 | 
						|
 | 
						|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
 | 
						|
position = Vector2(394, 353)
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
 | 
						|
position = Vector2(0, 7.5)
 | 
						|
shape = SubResource("RectangleShape2D_8cj0n")
 | 
						|
 | 
						|
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
 | 
						|
position = Vector2(312, 412)
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
 | 
						|
position = Vector2(0, 7.5)
 | 
						|
shape = SubResource("RectangleShape2D_8cj0n")
 | 
						|
 | 
						|
[node name="StaticBody2D3" type="StaticBody2D" parent="."]
 | 
						|
position = Vector2(509, 287)
 | 
						|
rotation = -0.79570585
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
 | 
						|
position = Vector2(0, 7.5)
 | 
						|
shape = SubResource("RectangleShape2D_8cj0n")
 | 
						|
 | 
						|
[node name="Crate" parent="." groups=["pushable", "splodable"] instance=ExtResource("1_uwrxv")]
 | 
						|
position = Vector2(406.00003, 327)
 | 
						|
 | 
						|
[node name="RigidBody2D2" type="RigidBody2D" parent="." groups=["pushable", "splodable"]]
 | 
						|
position = Vector2(243, 371)
 | 
						|
rotation = -1.099222
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2"]
 | 
						|
shape = SubResource("RectangleShape2D_uwrxv")
 | 
						|
debug_color = Color(0.84557056, 0.3727497, 0.1753774, 0.41960785)
 | 
						|
 | 
						|
[node name="RigidBody2D3" type="RigidBody2D" parent="." groups=["pushable", "splodable"]]
 | 
						|
position = Vector2(502, 230)
 | 
						|
rotation = -1.099222
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D3"]
 | 
						|
shape = SubResource("RectangleShape2D_uwrxv")
 | 
						|
debug_color = Color(0.84557056, 0.3727497, 0.1753774, 0.41960785)
 | 
						|
 | 
						|
[node name="Boundary" type="StaticBody2D" parent="."]
 | 
						|
position = Vector2(389, 542)
 | 
						|
metadata/_edit_group_ = true
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundary"]
 | 
						|
shape = SubResource("WorldBoundaryShape2D_8cj0n")
 | 
						|
 | 
						|
[node name="Trigger" parent="." instance=ExtResource("2_yqjtg")]
 | 
						|
position = Vector2(434, 409)
 | 
						|
 | 
						|
[node name="Trigger2" parent="." instance=ExtResource("2_yqjtg")]
 | 
						|
position = Vector2(255.00002, 460.99997)
 | 
						|
intent = "powerup"
 | 
						|
 | 
						|
[node name="CharacterBody2D" parent="." instance=ExtResource("3_lnu2h")]
 | 
						|
position = Vector2(379, 331)
 | 
						|
BUMP_POWER = 50
 | 
						|
 | 
						|
[node name="Bullet" parent="." instance=ExtResource("5_iywne")]
 | 
						|
position = Vector2(293, 329)
 | 
						|
 | 
						|
[node name="Grenade" parent="." instance=ExtResource("7_u5sy4")]
 | 
						|
position = Vector2(380, 307)
 | 
						|
 | 
						|
[connection signal="triggerFiredSignal" from="Trigger" to="." method="_on_trigger_fired"]
 | 
						|
[connection signal="triggerFiredSignal" from="Trigger2" to="." method="_on_trigger_fired"]
 |