[gd_scene format=4 uid="uid://b55w56d4twno1"]

[ext_resource type="Texture2D" uid="uid://bto1pnycvianp" path="res://molecular/assets/background/bg.png" id="3_a5cls"]
[ext_resource type="PackedScene" uid="uid://dxluckxdkpv4f" path="res://molecular/molecular_player.tscn" id="3_b1jr0"]
[ext_resource type="Texture2D" uid="uid://c3cuhrmulyy1s" path="res://molecular/assets/background/bg-near.png" id="4_b1jr0"]
[ext_resource type="Script" uid="uid://ceut2lrvkns75" path="res://debug_label.gd" id="4_mys4o"]
[ext_resource type="Script" uid="uid://umx4w11edif" path="res://molecular/prey_manager.gd" id="5_cthuy"]
[ext_resource type="PackedScene" uid="uid://c3iw2v3x6ngrb" path="res://molecular/prey/nucleotide_prey.tscn" id="6_a5cls"]
[ext_resource type="PackedScene" uid="uid://s4s66oaexava" path="res://molecular/predator/hammerhead_predator.tscn" id="7_b1jr0"]
[ext_resource type="Script" uid="uid://7ua0qgyhphao" path="res://molecular/food/food_manager.gd" id="8_mys4o"]
[ext_resource type="PackedScene" uid="uid://dmvmu218pc0pe" path="res://molecular/food/food_mol.tscn" id="9_ojt85"]

[sub_resource type="TileMapPattern" id="TileMapPattern_a5cls"]
tile_data = PackedInt32Array(0, 65536, 2, 65536, 65536, 3, 1, 131072, 2, 65537, 131072, 3)

[sub_resource type="TileMapPattern" id="TileMapPattern_b1jr0"]
tile_data = PackedInt32Array(0, 196608, 2, 65536, 196608, 3, 1, 262144, 2, 65537, 262144, 3)

[sub_resource type="TileMapPattern" id="TileMapPattern_mys4o"]
tile_data = PackedInt32Array(0, 196608, 0, 65536, 196608, 1)

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_b1jr0"]
resource_name = "Background tileset"
texture = ExtResource("3_a5cls")
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:0/0 = 0
4:1/0 = 0
4:2/0 = 0
4:3/0 = 0

[sub_resource type="TileSet" id="TileSet_mys4o"]
sources/0 = SubResource("TileSetAtlasSource_b1jr0")
pattern_0 = SubResource("TileMapPattern_a5cls")
pattern_1 = SubResource("TileMapPattern_b1jr0")
pattern_2 = SubResource("TileMapPattern_mys4o")

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_mys4o"]
texture = ExtResource("4_b1jr0")
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0

[sub_resource type="TileSet" id="TileSet_ojt85"]
sources/0 = SubResource("TileSetAtlasSource_mys4o")

[node name="MolecularStage" type="Node2D" unique_id=1172084519]

[node name="Background" type="Node2D" parent="." unique_id=1011666743]

[node name="ParallaxFar" type="Parallax2D" parent="Background" unique_id=84513972]
scroll_scale = Vector2(0.5, 0.5)
repeat_times = 7

[node name="TileMapLayerFar" type="TileMapLayer" parent="Background/ParallaxFar" unique_id=476483210]
position = Vector2(-1, 0)
tile_map_data = PackedByteArray("[encoded data, 55444 characters]")
tile_set = SubResource("TileSet_mys4o")

[node name="ParallaxNear" type="Parallax2D" parent="Background" unique_id=36572070]
z_index = 5
scroll_scale = Vector2(0.9, 0.9)
repeat_times = 7

[node name="TileMapLayerNear" type="TileMapLayer" parent="Background/ParallaxNear" unique_id=1128136404]
tile_map_data = PackedByteArray("[encoded data, 5172 characters]")
tile_set = SubResource("TileSet_ojt85")

[node name="player" parent="." unique_id=862101024 groups=["player"] instance=ExtResource("3_b1jr0")]
position = Vector2(120, 144)
scale = Vector2(0.01, 0.01)

[node name="Camera2D" type="Camera2D" parent="player" unique_id=1614218911]
rotation = 3.1415927
zoom = Vector2(5, 5)
limit_enabled = false
limit_left = 0
limit_top = 0
limit_right = 1152
limit_bottom = 648

[node name="UI" type="Node2D" parent="." unique_id=1500495475]

[node name="CanvasLayer" type="CanvasLayer" parent="UI" unique_id=633018012]

[node name="DebugLabel" type="Label" parent="UI/CanvasLayer" unique_id=449683034]
offset_right = 296.0
offset_bottom = 49.0
text = "Debug: You made it into the game!
This is running from C++:                         "
script = ExtResource("4_mys4o")

[node name="PreyManager" type="Node" parent="." unique_id=1486332229]
script = ExtResource("5_cthuy")
scene = ExtResource("6_a5cls")
minCount = 100
maxCount = 30
metadata/_custom_type_script = "uid://coetidfssb80w"

[node name="PredatorManager" type="Node" parent="." unique_id=1913230046]
script = ExtResource("5_cthuy")
scene = ExtResource("7_b1jr0")
minCount = 10
maxCount = 20
metadata/_custom_type_script = "uid://coetidfssb80w"

[node name="FoodManager" type="Node" parent="." unique_id=449460585]
script = ExtResource("8_mys4o")
foodTypes = Array[PackedScene]([ExtResource("9_ojt85")])
foodProbs = Array[float]([1.0])
metadata/_custom_type_script = "uid://7ua0qgyhphao"
