2025-02-03 21:25:04 +01:00

98 lines
3.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c8tur70b73kih"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/light/texture_03.png" id="1_nl15v"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/dark/texture_04.png" id="2_6qqh6"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/red/texture_02.png" id="3_blm5m"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/green/texture_10.png" id="4_ix12c"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/purple/texture_02.png" id="5_pmdlb"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_d0buj"]
resource_local_to_scene = true
polygon = PackedVector2Array(512, -512, -512, -512, -512, 512, 512, 512)
[node name="Level1" type="Level"]
[node name="BackgroundTexture" type="Sprite2D" parent="."]
show_behind_parent = true
scale = Vector2(4, 4)
texture = ExtResource("1_nl15v")
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
color = Color(1, 0.94902, 0.960784, 1)
energy = 0.75
blend_mode = 1
range_z_min = -100
range_z_max = 100
range_layer_max = 1
max_distance = 1000.0
[node name="Wall" type="StaticBody2D" parent="."]
z_index = 10
position = Vector2(400, 400)
scale = Vector2(0.25, 0.25)
collision_layer = 8
collision_mask = 7
[node name="WallCollisionPoly" type="CollisionPolygon2D" parent="Wall"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="WallTexture" type="Sprite2D" parent="Wall"]
texture = ExtResource("2_6qqh6")
[node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
occluder = SubResource("OccluderPolygon2D_d0buj")
[node name="DeathPit" type="StaticBody2D" parent="."]
modulate = Color(0.207843, 0.0235294, 0, 1)
self_modulate = Color(0.0313726, 0.113725, 1, 1)
position = Vector2(-400, -400)
scale = Vector2(0.25, 0.25)
collision_layer = 32
collision_mask = 0
[node name="DeathCollisionPoly" type="CollisionPolygon2D" parent="DeathPit"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="DeathPitTexture" type="Sprite2D" parent="DeathPit"]
show_behind_parent = true
texture = ExtResource("3_blm5m")
[node name="LightOccluder2D" type="LightOccluder2D" parent="DeathPit"]
show_behind_parent = true
light_mask = 2
occluder = SubResource("OccluderPolygon2D_d0buj")
occluder_light_mask = 0
[node name="DamageZone" type="StaticBody2D" parent="."]
position = Vector2(-400, 400)
scale = Vector2(0.25, 0.25)
collision_layer = 16
collision_mask = 0
[node name="DamageCollisionPoly" type="CollisionPolygon2D" parent="DamageZone"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="DamageTexture" type="Sprite2D" parent="DamageZone"]
texture = ExtResource("4_ix12c")
[node name="PhysicsBox" type="RigidBody2D" parent="."]
z_index = 10
position = Vector2(400, -400)
collision_layer = 64
collision_mask = 79
contact_monitor = true
linear_damp = 1.0
[node name="PhysicsBoxCollisionPoly" type="CollisionPolygon2D" parent="PhysicsBox"]
scale = Vector2(0.25, 0.25)
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="PhysicsBoxTexture" type="Sprite2D" parent="PhysicsBox"]
scale = Vector2(0.25, 0.25)
texture = ExtResource("5_pmdlb")
[node name="LightOccluder2D" type="LightOccluder2D" parent="PhysicsBox"]
z_index = -1
scale = Vector2(0.25, 0.25)
occluder = SubResource("OccluderPolygon2D_d0buj")