minijam-166/scenes/Map.tscn
2024-09-04 20:04:20 +02:00

88 lines
3.8 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://d3hul8b7hlmj7"]
[ext_resource type="Script" path="res://scripts/map.gd" id="1_3np0o"]
[ext_resource type="PackedScene" uid="uid://6ferubyu2uy1" path="res://scenes/Scanners.tscn" id="1_6mlj0"]
[ext_resource type="PackedScene" uid="uid://cj457q2fx5mim" path="res://objects/Animal.tscn" id="4_pkphc"]
[ext_resource type="Texture2D" uid="uid://ci1oiftbr13ci" path="res://assets/texture/sol_gamejam_marais.png" id="5_fbt74"]
[ext_resource type="Shader" path="res://scripts/shaders/TextureSplit.gdshader" id="5_iqvbx"]
[ext_resource type="Texture2D" uid="uid://6h5ieh6ba7re" path="res://assets/texture/sol_gamejam_mort.png" id="6_wj5l3"]
[ext_resource type="Texture2D" uid="uid://c85s1vwryvngb" path="res://assets/texture/sol_gamejam_normal.png" id="7_iuq0o"]
[ext_resource type="Texture2D" uid="uid://de81tdearo84u" path="res://assets/texture/sol_gamejam_fleurs_transp.png" id="8_6vuay"]
[ext_resource type="Texture2D" uid="uid://c48gqsunv5wv3" path="res://assets/texture/sol_gamejam_pollution_transparent.png" id="9_wuhlx"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_h3thu"]
shader = ExtResource("5_iqvbx")
shader_parameter/data_texture_size = null
shader_parameter/texture_low_threshold = 0.3
shader_parameter/texture_high_threshold = 0.7
shader_parameter/dimension = null
shader_parameter/texture_size = Vector2(384, 216)
shader_parameter/smooth_change_range = 0.15
shader_parameter/texture_low = ExtResource("6_wj5l3")
shader_parameter/texture_medium = ExtResource("7_iuq0o")
shader_parameter/texture_high = ExtResource("5_fbt74")
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rhtup"]
[sub_resource type="Gradient" id="Gradient_u5wcm"]
offsets = PackedFloat32Array(1)
colors = PackedColorArray(0.481789, 0.481789, 0.481789, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_hwe6p"]
gradient = SubResource("Gradient_u5wcm")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4rqj7"]
shader = ExtResource("5_iqvbx")
shader_parameter/data_texture_size = Vector2(1000, 1000)
shader_parameter/texture_low_threshold = 0.01
shader_parameter/texture_high_threshold = 0.711
shader_parameter/dimension = 1
shader_parameter/texture_size = Vector2(384, 216)
shader_parameter/smooth_change_range = 0.0
shader_parameter/texture_low = ExtResource("9_wuhlx")
shader_parameter/texture_medium = SubResource("GradientTexture1D_hwe6p")
shader_parameter/texture_high = ExtResource("8_6vuay")
[node name="Map" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_3np0o")
[node name="Scanners" parent="." instance=ExtResource("1_6mlj0")]
[node name="OutOfBound" type="Polygon2D" parent="."]
modulate = Color(0.537011, 0.537011, 0.537011, 1)
z_index = -3
texture_repeat = 2
texture = ExtResource("7_iuq0o")
texture_scale = Vector2(5, 5)
[node name="Ground" type="Polygon2D" parent="."]
z_index = -2
texture_repeat = 2
material = SubResource("ShaderMaterial_h3thu")
texture = SubResource("CompressedTexture2D_rhtup")
texture_scale = Vector2(5, 5)
[node name="Fertility" type="Polygon2D" parent="."]
z_index = -1
texture_repeat = 2
material = SubResource("ShaderMaterial_4rqj7")
color = Color(1, 1, 1, 0)
texture_scale = Vector2(5, 5)
[node name="Animals" type="Node2D" parent="."]
y_sort_enabled = true
[node name="Animal" parent="Animals" instance=ExtResource("4_pkphc")]
position = Vector2(1452, 579)
[node name="Animal2" parent="Animals" instance=ExtResource("4_pkphc")]
position = Vector2(364, 1856)
[node name="Animal3" parent="Animals" instance=ExtResource("4_pkphc")]
position = Vector2(1991, 2235)
[connection signal="liberated" from="Animals/Animal" to="." method="_on_animal_liberated"]
[connection signal="liberated" from="Animals/Animal2" to="." method="_on_animal_2_liberated"]
[connection signal="liberated" from="Animals/Animal3" to="." method="_on_animal_3_liberated"]