123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- [gd_scene load_steps=21 format=3 uid="uid://cib2lh0nbkel5"]
- [ext_resource type="Script" path="res://scenes/room/room.gd" id="1_ewobw"]
- [ext_resource type="PackedScene" uid="uid://jk378m6wfrd0" path="res://scenes/color_barrier/colors/blue_color_barrier.tscn" id="2_lo0s8"]
- [ext_resource type="TileSet" uid="uid://d0l7mmmpe3p41" path="res://resources/background_tileset.tres" id="2_yk6re"]
- [ext_resource type="PackedScene" uid="uid://bq36wrgryacjm" path="res://scenes/color_barrier/colors/cyan_color_barrier.tscn" id="3_4am6j"]
- [ext_resource type="PackedScene" uid="uid://bwg7aa48kcn6s" path="res://scenes/color_barrier/colors/green_color_barrier.tscn" id="4_k2mvg"]
- [ext_resource type="PackedScene" uid="uid://cqigad7nmrgyh" path="res://scenes/color_barrier/colors/magenta_color_barrier.tscn" id="5_gmpkv"]
- [ext_resource type="PackedScene" uid="uid://1n7oll70icgp" path="res://scenes/color_barrier/colors/red_color_barrier.tscn" id="6_s55nc"]
- [ext_resource type="PackedScene" uid="uid://cxfrp3t0ocx3b" path="res://scenes/color_barrier/colors/yellow_color_barrier.tscn" id="7_duco0"]
- [ext_resource type="PackedScene" uid="uid://bmhxiii4f0l5b" path="res://scenes/color_barrier/colors/blue_inverted_color_barrier.tscn" id="9_jkeh3"]
- [ext_resource type="PackedScene" uid="uid://5spkoabsxi7f" path="res://scenes/color_barrier/colors/cyan_inverted_color_barrier.tscn" id="10_a64ot"]
- [ext_resource type="PackedScene" uid="uid://cs7ajs4jsyyji" path="res://scenes/color_barrier/colors/green_inverted_color_barrier.tscn" id="11_n5knq"]
- [ext_resource type="PackedScene" uid="uid://cw80nf1cvqusa" path="res://scenes/color_barrier/colors/magenta_inverted_color_barrier.tscn" id="12_sa3wg"]
- [ext_resource type="PackedScene" uid="uid://l301tbwx7n7o" path="res://scenes/color_barrier/colors/red_inverted_color_barrier.tscn" id="13_8wj5w"]
- [ext_resource type="PackedScene" uid="uid://dy3bimalhnw4" path="res://scenes/color_barrier/colors/yellow_inverted_color_barrier.tscn" id="14_0meii"]
- [ext_resource type="Texture2D" uid="uid://cf6njggg5oeal" path="res://assets/tileset/environment.svg" id="16_7ooho"]
- [sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_upnxp"]
- resource_name = "Color Barriers"
- scenes/2/scene = ExtResource("2_lo0s8")
- scenes/3/scene = ExtResource("3_4am6j")
- scenes/4/scene = ExtResource("4_k2mvg")
- scenes/5/scene = ExtResource("5_gmpkv")
- scenes/6/scene = ExtResource("6_s55nc")
- scenes/7/scene = ExtResource("7_duco0")
- [sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_wnrp6"]
- resource_name = "Inverted Color Barriers"
- scenes/1/scene = ExtResource("9_jkeh3")
- scenes/2/scene = ExtResource("10_a64ot")
- scenes/3/scene = ExtResource("11_n5knq")
- scenes/4/scene = ExtResource("12_sa3wg")
- scenes/5/scene = ExtResource("13_8wj5w")
- scenes/6/scene = ExtResource("14_0meii")
- [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_uf1x6"]
- texture = ExtResource("16_7ooho")
- texture_region_size = Vector2i(32, 32)
- 0:0/0 = 0
- 0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 0:0/0/physics_layer_0/angular_velocity = 0.0
- 0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 1:0/0 = 0
- 1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 1:0/0/physics_layer_0/angular_velocity = 0.0
- 1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 2:0/0 = 0
- 2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 2:0/0/physics_layer_0/angular_velocity = 0.0
- 2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 3:0/0 = 0
- 3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 3:0/0/physics_layer_0/angular_velocity = 0.0
- 3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 4:0/0 = 0
- 4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 4:0/0/physics_layer_0/angular_velocity = 0.0
- 4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 0:1/0 = 0
- 0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 0:1/0/physics_layer_0/angular_velocity = 0.0
- 0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 1:1/0 = 0
- 1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 1:1/0/physics_layer_0/angular_velocity = 0.0
- 1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 2:1/0 = 0
- 2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 2:1/0/physics_layer_0/angular_velocity = 0.0
- 2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 3:1/0 = 0
- 3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 3:1/0/physics_layer_0/angular_velocity = 0.0
- 3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 4:1/0 = 0
- 4:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 4:1/0/physics_layer_0/angular_velocity = 0.0
- 4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 0:2/0 = 0
- 0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 0:2/0/physics_layer_0/angular_velocity = 0.0
- 0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 1:2/0 = 0
- 1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 1:2/0/physics_layer_0/angular_velocity = 0.0
- 1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- 2:2/0 = 0
- 2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
- 2:2/0/physics_layer_0/angular_velocity = 0.0
- 2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
- [sub_resource type="TileSet" id="TileSet_fjfjm"]
- tile_size = Vector2i(32, 32)
- physics_layer_0/collision_layer = 1
- sources/1 = SubResource("TileSetScenesCollectionSource_upnxp")
- sources/2 = SubResource("TileSetScenesCollectionSource_wnrp6")
- sources/3 = SubResource("TileSetAtlasSource_uf1x6")
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_7ggjo"]
- size = Vector2(1088, 512)
- [node name="Room" type="Node2D"]
- script = ExtResource("1_ewobw")
- [node name="Background" type="TileMap" parent="."]
- scale = Vector2(0.375, 0.375)
- tile_set = ExtResource("2_yk6re")
- rendering_quadrant_size = 128
- format = 2
- layer_0/tile_data = PackedInt32Array(0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 262144, 0, 0, 327680, 0, 0, 393216, 0, 0, 458752, 0, 0, 524288, 0, 0, 589824, 0, 0, 655360, 0, 0, 720896, 0, 0, 1, 0, 0, 65537, 0, 0, 131073, 0, 0, 196609, 0, 0, 262145, 0, 0, 327681, 0, 0, 393217, 0, 0, 458753, 0, 0, 524289, 0, 0, 589825, 0, 0, 655361, 0, 0, 720897, 0, 0, 2, 0, 0, 65538, 0, 0, 131074, 0, 0, 196610, 0, 0, 262146, 0, 0, 327682, 0, 0, 393218, 0, 0, 458754, 0, 0, 524290, 0, 0, 589826, 0, 0, 655362, 0, 0, 720898, 0, 0, 3, 0, 0, 65539, 0, 0, 131075, 0, 0, 196611, 0, 0, 262147, 0, 0, 327683, 0, 0, 393219, 0, 0, 458755, 0, 0, 524291, 0, 0, 589827, 0, 0, 655363, 0, 0, 720899, 0, 0, 4, 0, 0, 65540, 0, 0, 131076, 0, 0, 196612, 0, 0, 262148, 0, 0, 327684, 0, 0, 393220, 0, 0, 458756, 0, 0, 524292, 0, 0, 589828, 0, 0, 655364, 0, 0, 720900, 0, 0, 5, 0, 0, 65541, 0, 0, 131077, 0, 0, 196613, 0, 0, 262149, 0, 0, 327685, 0, 0, 393221, 0, 0, 458757, 0, 0, 524293, 0, 0, 589829, 0, 0, 655365, 0, 0, 720901, 0, 0, 6, 0, 0, 65542, 0, 0, 131078, 0, 0, 196614, 0, 0, 262150, 0, 0, 327686, 0, 0, 393222, 0, 0, 458758, 0, 0, 524294, 0, 0, 589830, 0, 0, 655366, 0, 0, 720902, 0, 0, 7, 0, 0, 65543, 0, 0, 131079, 0, 0, 196615, 0, 0, 262151, 0, 0, 327687, 0, 0, 393223, 0, 0, 458759, 0, 0, 524295, 0, 0, 589831, 0, 0, 655367, 0, 0, 720903, 0, 0, 8, 0, 0, 65544, 0, 0, 131080, 0, 0, 196616, 0, 0, 262152, 0, 0, 327688, 0, 0, 393224, 0, 0, 458760, 0, 0, 524296, 0, 0, 589832, 0, 0, 655368, 0, 0, 720904, 0, 0, 9, 0, 0, 65545, 0, 0, 131081, 0, 0, 196617, 0, 0, 262153, 0, 0, 327689, 0, 0, 393225, 0, 0, 458761, 0, 0, 524297, 0, 0, 589833, 0, 0, 655369, 0, 0, 720905, 0, 0, 10, 0, 0, 65546, 0, 0, 131082, 0, 0, 196618, 0, 0, 262154, 0, 0, 327690, 0, 0, 393226, 0, 0, 458762, 0, 0, 524298, 0, 0, 589834, 0, 0, 655370, 0, 0, 720906, 0, 0, 11, 0, 0, 65547, 0, 0, 131083, 0, 0, 196619, 0, 0, 262155, 0, 0, 327691, 0, 0, 393227, 0, 0, 458763, 0, 0, 524299, 0, 0, 589835, 0, 0, 655371, 0, 0, 720907, 0, 0, 131071, 0, 0, 262143, 0, 0, 393215, 0, 0, 524287, 0, 0, 655359, 0, 0, 786431, 0, 0)
- [node name="TileMap" type="TileMap" parent="."]
- tile_set = SubResource("TileSet_fjfjm")
- rendering_quadrant_size = 32
- format = 2
- layer_0/name = "Environment"
- layer_0/tile_data = PackedInt32Array(983040, 131075, 1, 917504, 131075, 1, 851968, 131075, 1, 786432, 131075, 1, 720896, 131075, 1, 655360, 131075, 1, 589824, 131075, 1, 524288, 131075, 1, 458752, 131075, 1, 393216, 131075, 1, 327680, 131075, 1, 262144, 131075, 1, 196608, 131075, 1, 131072, 131075, 1, 65536, 131075, 1, 0, 65539, 1, 1, 65539, 2, 2, 65539, 2, 3, 65539, 2, 4, 65539, 2, 5, 65539, 2, 6, 65539, 2, 7, 65539, 2, 8, 65539, 2, 9, 65539, 2, 10, 65539, 2, 11, 65539, 2, 12, 65539, 2, 13, 65539, 2, 14, 65539, 2, 15, 65539, 2, 16, 65539, 2, 17, 65539, 2, 18, 65539, 2, 19, 65539, 2, 20, 65539, 2, 21, 65539, 2, 22, 65539, 2, 23, 65539, 2, 24, 65539, 2, 25, 65539, 2, 26, 65539, 2, 27, 65539, 2, 28, 65539, 2, 29, 65539, 2, 30, 65539, 2, 31, 65539, 2, 32, 65539, 2, 33, 65539, 2, 34, 65539, 2, 35, 262147, 0, 65571, 3, 1, 131107, 3, 1, 196643, 3, 1, 262179, 3, 1, 327715, 3, 1, 393251, 3, 1, 458787, 3, 1, 524323, 3, 1, 589859, 3, 1, 655395, 3, 1, 720931, 3, 1, 786467, 3, 1, 852003, 3, 1, 917539, 3, 1, 983075, 3, 1, 1114112, 196611, 1, 1114113, 65539, 0, 1114114, 65539, 0, 1114115, 65539, 0, 1114116, 65539, 0, 1114117, 65539, 0, 1114118, 65539, 0, 1114119, 65539, 0, 1114120, 65539, 0, 1114121, 65539, 0, 1114122, 65539, 0, 1114123, 65539, 0, 1114124, 65539, 0, 1114125, 65539, 0, 1114126, 65539, 0, 1114127, 65539, 0, 1114128, 65539, 0, 1114129, 65539, 0, 1114130, 65539, 0, 1114131, 65539, 0, 1114132, 65539, 0, 1114133, 65539, 0, 1114134, 65539, 0, 1114135, 65539, 0, 1114136, 65539, 0, 1114137, 65539, 0, 1114138, 65539, 0, 1114139, 65539, 0, 1114140, 65539, 0, 1114141, 65539, 0, 1114142, 65539, 0, 1114143, 65539, 0, 1114144, 65539, 0, 1114145, 65539, 0, 1114146, 65539, 0, 1114147, 262147, 1, 1048576, 131075, 1, 1048611, 3, 1)
- [node name="PlayerDetector" type="Area2D" parent="."]
- position = Vector2(576, 288)
- collision_layer = 0
- collision_mask = 4
- [node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerDetector"]
- shape = SubResource("RectangleShape2D_7ggjo")
- [connection signal="area_entered" from="PlayerDetector" to="." method="_on_player_detector_area_entered"]
|