Giant Leech Room

This commit is contained in:
RealMelwei 2025-09-19 15:20:23 +02:00
parent 565fbfcc8e
commit f0740fdca0
3 changed files with 74 additions and 6 deletions

View file

@ -0,0 +1,70 @@
[gd_scene load_steps=10 format=3 uid="uid://oflm2yjjwhf"]
[ext_resource type="Script" uid="uid://b2ji03ekijjnn" path="res://buildings/building.gd" id="1_ivy1q"]
[ext_resource type="Shader" uid="uid://c7gb1nqwvkr37" path="res://buildings/building.gdshader" id="2_yuthg"]
[ext_resource type="Texture2D" uid="uid://dfy0gccqgggp2" path="res://buildings/Building 2x1 fixed.png" id="3_vtou7"]
[ext_resource type="Script" uid="uid://dj7d4d2xs3nci" path="res://buildings/building_mesh.gd" id="4_2shqy"]
[ext_resource type="Texture2D" uid="uid://3weywjfsapax" path="res://buildings/Building 2x1 downside.png" id="5_hu6aj"]
[ext_resource type="PackedScene" uid="uid://5nb7pf8g1ck" path="res://enemies/leech/giant_leech.tscn" id="8_r3b86"]
[ext_resource type="PackedScene" uid="uid://4l3elvxpghw8" path="res://utils/platform.tscn" id="8_y6yyb"]
[ext_resource type="PackedScene" uid="uid://xj0of571aur1" path="res://items/generic/item_spawn.tscn" id="9_jmdjr"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pfkkr"]
shader = ExtResource("2_yuthg")
shader_parameter/ground_height = 3000.0
shader_parameter/cell_height = 300.0
shader_parameter/num_cells = 60
[node name="Building2" type="Node2D"]
script = ExtResource("1_ivy1q")
[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_pfkkr")
scale = Vector2(25, 25)
texture = ExtResource("3_vtou7")
script = ExtResource("4_2shqy")
[node name="Sprite2D2" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_pfkkr")
scale = Vector2(25, 25)
texture = ExtResource("5_hu6aj")
script = ExtResource("4_2shqy")
grid_offset = Vector2i(0, -1)
[node name="EnemyList" type="Node2D" parent="."]
[node name="Platform" parent="EnemyList" instance=ExtResource("8_y6yyb")]
visible = false
position = Vector2(75, -285)
collision_layer = 41
[node name="Platform2" parent="EnemyList" instance=ExtResource("8_y6yyb")]
visible = false
position = Vector2(225, -285)
collision_layer = 41
[node name="Platform3" parent="EnemyList" instance=ExtResource("8_y6yyb")]
visible = false
position = Vector2(375, -285)
collision_layer = 41
[node name="Platform4" parent="EnemyList" instance=ExtResource("8_y6yyb")]
visible = false
position = Vector2(525, -285)
collision_layer = 41
[node name="Platform5" parent="EnemyList" instance=ExtResource("8_y6yyb")]
position = Vector2(300, -150)
scale = Vector2(2.688, 3)
[node name="ItemSpawn" parent="EnemyList" instance=ExtResource("9_jmdjr")]
position = Vector2(300, -200)
[node name="Giant_Leech" parent="EnemyList" instance=ExtResource("8_r3b86")]
position = Vector2(400, -340)
[node name="DebugSprite" type="Sprite2D" parent="."]
visible = false
position = Vector2(300, -150)
scale = Vector2(1.172, 1.172)
texture = ExtResource("3_vtou7")

View file

@ -82,9 +82,6 @@ texture = ExtResource("3_kek77")
script = ExtResource("10_efxa6")
boss = ExtResource("11_efxa6")
[node name="Boss" parent="." instance=ExtResource("11_efxa6")]
position = Vector2(0, -2800)
[connection signal="active_item_changed" from="Player" to="UIOverlay/ItemUI" method="_on_player_active_item_changed"]
[connection signal="health_changed" from="Player" to="UIOverlay/Healthbar" method="_on_player_health_changed"]
[connection signal="max_hp_changed" from="Player" to="UIOverlay/Healthbar" method="_on_player_max_hp_changed"]

View file

@ -1,14 +1,15 @@
[gd_scene load_steps=13 format=3 uid="uid://jjoyj1ldafkf"]
[gd_scene load_steps=14 format=3 uid="uid://jjoyj1ldafkf"]
[ext_resource type="Script" uid="uid://vgxh2xdevat7" path="res://world/earth.gd" id="1_wxnww"]
[ext_resource type="Script" uid="uid://m3vyyfk8gnma" path="res://world/grid.gd" id="3_2bhor"]
[ext_resource type="Shader" uid="uid://ptqflyxta2qd" path="res://world/earth.gdshader" id="3_640fc"]
[ext_resource type="Shader" path="res://world/earth.gdshader" id="3_640fc"]
[ext_resource type="PackedScene" uid="uid://djawvtdwp423v" path="res://buildings/room_temple.tscn" id="3_nihcy"]
[ext_resource type="PackedScene" uid="uid://cmofmd0vf3hx3" path="res://buildings/room_haunted_house.tscn" id="4_ml5no"]
[ext_resource type="PackedScene" uid="uid://dliwqqmrxldjh" path="res://buildings/room_bear_trap.tscn" id="4_r4pw8"]
[ext_resource type="PackedScene" uid="uid://6y637jp2tbma" path="res://buildings/room_pedastal.tscn" id="6_640fc"]
[ext_resource type="PackedScene" uid="uid://dt827qxyycg8n" path="res://buildings/room_pedastal_mean.tscn" id="7_abvrx"]
[ext_resource type="PackedScene" uid="uid://c7ddsyd8kcjji" path="res://buildings/room_wide_item_above.tscn" id="9_ej0af"]
[ext_resource type="PackedScene" uid="uid://oflm2yjjwhf" path="res://buildings/room_giant_leech.tscn" id="10_640fc"]
[sub_resource type="CircleShape2D" id="CircleShape2D_5i67w"]
radius = 3000.0
@ -39,5 +40,5 @@ script = ExtResource("3_2bhor")
ground_radius = 3000.0
cell_height = 300.0
num_collumns = 60
packed_buildings = Array[PackedScene]([ExtResource("4_r4pw8"), ExtResource("4_ml5no"), ExtResource("6_640fc"), ExtResource("7_abvrx"), ExtResource("3_nihcy"), ExtResource("9_ej0af")])
packed_buildings = Array[PackedScene]([ExtResource("4_r4pw8"), ExtResource("4_ml5no"), ExtResource("6_640fc"), ExtResource("7_abvrx"), ExtResource("3_nihcy"), ExtResource("9_ej0af"), ExtResource("10_640fc")])
metadata/_custom_type_script = "uid://m3vyyfk8gnma"