FebGame/febfabgame/Scenes/feb_fab_game.tscn

116 lines
4.0 KiB
Plaintext
Raw Normal View History

2025-03-04 01:40:24 +00:00
[gd_scene load_steps=10 format=3 uid="uid://cpuc12n61qg6b"]
2025-02-25 02:10:45 +00:00
[ext_resource type="Script" path="res://Scripts/trigger.gd" id="1_a0h8u"]
[ext_resource type="Script" path="res://Scripts/gamecontroller.gd" id="1_amnm6"]
2025-03-04 01:40:24 +00:00
[ext_resource type="PackedScene" uid="uid://b0snboj7mbad5" path="res://Scenes/player.tscn" id="3_3yq6m"]
[ext_resource type="PackedScene" uid="uid://cy7x36mdb5oxu" path="res://Scenes/bullet.tscn" id="4_bk63h"]
[ext_resource type="Script" path="res://Scripts/scene_manager.gd" id="5_4nsas"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_qkap3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_skxer"]
radius = 48.0
2025-02-25 02:10:45 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yfjal"]
size = Vector2(65, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_57esh"]
size = Vector2(52, 56)
2025-03-04 01:40:24 +00:00
[node name="FebFabGame" type="Node2D"]
script = ExtResource("1_amnm6")
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="Floor" type="StaticBody2D" parent="."]
position = Vector2(613, 579)
metadata/_edit_group_ = true
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
shape = SubResource("WorldBoundaryShape2D_qkap3")
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="Trigger" type="Area2D" parent="."]
position = Vector2(727, 529)
script = ExtResource("1_a0h8u")
metadata/_edit_group_ = true
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
shape = SubResource("CircleShape2D_skxer")
debug_color = Color(0.50428, 0.445656, 0.95237, 0.42)
[node name="Level" type="Node2D" parent="."]
[node name="Brick" type="StaticBody2D" parent="Level"]
2025-02-25 02:10:45 +00:00
position = Vector2(606, 379)
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Brick"]
2025-02-25 02:10:45 +00:00
position = Vector2(-0.5, 0)
shape = SubResource("RectangleShape2D_yfjal")
2025-03-04 01:40:24 +00:00
[node name="Brick3" type="StaticBody2D" parent="Level"]
2025-02-25 02:10:45 +00:00
position = Vector2(353, 385)
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Brick3"]
2025-02-25 02:10:45 +00:00
position = Vector2(-0.5, 0)
shape = SubResource("RectangleShape2D_yfjal")
2025-03-04 01:40:24 +00:00
[node name="Brick2" type="StaticBody2D" parent="Level"]
2025-02-25 02:10:45 +00:00
position = Vector2(478, 490)
rotation = 0.699225
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Brick2"]
2025-02-25 02:10:45 +00:00
position = Vector2(-0.5, 0)
shape = SubResource("RectangleShape2D_yfjal")
2025-03-04 01:40:24 +00:00
[node name="Crates" type="Node2D" parent="."]
[node name="Crate1" type="RigidBody2D" parent="Crates"]
2025-02-25 02:10:45 +00:00
position = Vector2(642, 251)
rotation = -0.585206
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Crates/Crate1"]
2025-02-25 02:10:45 +00:00
shape = SubResource("RectangleShape2D_57esh")
debug_color = Color(0.812962, 0.406946, 0.115236, 0.42)
2025-03-04 01:40:24 +00:00
[node name="Crate4" type="RigidBody2D" parent="Crates"]
2025-02-25 02:10:45 +00:00
position = Vector2(353, 97)
rotation = 1.62165
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Crates/Crate4"]
2025-02-25 02:10:45 +00:00
shape = SubResource("RectangleShape2D_57esh")
debug_color = Color(0.812962, 0.406946, 0.115236, 0.42)
2025-03-04 01:40:24 +00:00
[node name="Crate2" type="RigidBody2D" parent="Crates"]
2025-02-25 02:10:45 +00:00
position = Vector2(664, 155)
rotation = 0.531432
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Crates/Crate2"]
2025-02-25 02:10:45 +00:00
shape = SubResource("RectangleShape2D_57esh")
debug_color = Color(0.812962, 0.406946, 0.115236, 0.42)
2025-03-04 01:40:24 +00:00
[node name="Crate3" type="RigidBody2D" parent="Crates"]
2025-02-25 02:10:45 +00:00
position = Vector2(843, 88)
rotation = 0.531432
metadata/_edit_group_ = true
2025-03-04 01:40:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Crates/Crate3"]
2025-02-25 02:10:45 +00:00
shape = SubResource("RectangleShape2D_57esh")
debug_color = Color(0.812962, 0.406946, 0.115236, 0.42)
2025-03-04 01:40:24 +00:00
[node name="CharacterBody2D" parent="." instance=ExtResource("3_3yq6m")]
position = Vector2(440, 243)
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="Area2D" parent="." instance=ExtResource("4_bk63h")]
position = Vector2(236, 307)
2025-02-25 02:10:45 +00:00
2025-03-04 01:40:24 +00:00
[node name="SceneManager" type="Node" parent="."]
unique_name_in_owner = true
script = ExtResource("5_4nsas")
2025-02-25 02:10:45 +00:00
[connection signal="areaTrigger" from="Trigger" to="." method="_on_trigger_area_trigger"]
[connection signal="body_entered" from="Trigger" to="Trigger" method="_on_body_entered"]