Join the reading room.
加入阅读室。
This commit is contained in:
parent
15b6f34621
commit
359d465ac9
|
@ -75,7 +75,7 @@ room_node_data_list:
|
|||
title: 房间3
|
||||
description: ''
|
||||
room_template_set:
|
||||
- res://prefab/roomTemplates/dungeon/utilityRoom.tscn
|
||||
- res://prefab/roomTemplates/dungeon/
|
||||
tags:
|
||||
room_injection_processor_data: ''
|
||||
enter_room_event_handler_id:
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
id,zh,en,ja
|
||||
ui_everywhere,它们无处不在。,"They're everywhere.",それらはどこにでもあります
|
||||
id,zh,en,ja
|
|
|
@ -35,6 +35,7 @@ CanMutateAfterDeath = null
|
|||
_initialHp = null
|
||||
MaxHp = 32
|
||||
CampId = "Default"
|
||||
_indestructible = true
|
||||
LootListId = null
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
|
File diff suppressed because one or more lines are too long
85
prefab/roomTemplates/dungeon/readingRoom.tscn
Normal file
85
prefab/roomTemplates/dungeon/readingRoom.tscn
Normal file
|
@ -0,0 +1,85 @@
|
|||
[gd_scene load_steps=8 format=4 uid="uid://bo245qin4rl8a"]
|
||||
|
||||
[ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_60tbt"]
|
||||
[ext_resource type="Texture2D" uid="uid://drw45jlmfo0su" path="res://sprites/light/White_100.png" id="2_w0wh3"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o85u0"]
|
||||
size = Vector2(20, 48)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"]
|
||||
size = Vector2(20.9922, 46.5)
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"]
|
||||
vertices = PackedVector2Array(630, 138.672, 630, 183.008, 11, 183.977, 11, 138.672, 41.8984, 137.688, 599.203, 137.688, 597.203, 44.0078, 42.8906, 44.9766)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5), PackedInt32Array(6, 5, 4, 7)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(33, 35, 607, 34, 609, 128, 640, 129, 640, 193, 1, 194, 1, 129, 32, 128)])
|
||||
source_geometry_group_name = &"navigation_polygon_source_group"
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiih8"]
|
||||
size = Vector2(639, 222)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kfmgh"]
|
||||
size = Vector2(579, 151.5)
|
||||
|
||||
[node name="InitialRoom2" type="Node2D"]
|
||||
|
||||
[node name="RoomSlotList" type="Node2D" parent="."]
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D"]
|
||||
position = Vector2(14, 158)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D5" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D5"]
|
||||
position = Vector2(624, 157)
|
||||
shape = SubResource("RectangleShape2D_6qg1t")
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
navigation_polygon = SubResource("NavigationPolygon_1qloc")
|
||||
|
||||
[node name="TileMap" type="Node2D" parent="."]
|
||||
|
||||
[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAABAAUAAQAGAAUAAAACAAEAAQAGAAUAAAACAAIAAQAGAAUAAAACAAMAAQAGAAUAAAACAAQAAQAGAAUAAAACAAUAAQAGAAUAAAADAAEAAQAGAAUAAAADAAIAAQAGAAUAAAADAAMAAQAGAAUAAAADAAQAAQAGAAUAAAAD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UAAAAQAAUAAQAGAAUAAAARAAEAAQAGAAUAAAARAAIAAQAGAAUAAAARAAMAAQAGAAUAAAARAAQAAQAGAAUAAAARAAUAAQAGAAUAAAASAAEAAQAGAAUAAAASAAIAAQAGAAUAAAASAAMAAQAGAAUAAAASAAQAAQAGAAUAAAASAAUAAQAGAAUAAAAAAAUAAQAGAAUAAAAAAAQAAQAGAAUAAAATAAUAAQAGAAUAAAATAAQAAQAGAAUAAAA=")
|
||||
tile_set = ExtResource("1_60tbt")
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_set = ExtResource("1_60tbt")
|
||||
|
||||
[node name="Ground" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAIAAAAPAAAAAQABAAIAAAAQAAAAAQABAAIAAAARAAAAAQABAAIAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAABAAYAAQABAAAAAAACAAYAAQABAAAAAAADAAYAAQABAAAAAAAEAAYAAQABAAAAAAAFAAYAAQABAAAAAAAGAAYAAQABAAAAAAAHAAYAAQABAAAAAAAIAAYAAQABAAAAAAAJAAYAAQABAAAAAAAKAAYAAQABAAAAAAALAAYAAQABAAAAAAAMAAYAAQABAAAAAAANAAYAAQABAAAAAAAOAAYAAQABAAAAAAAPAAYAAQABAAAAAAAQAAYAAQABAAAAAAARAAYAAQABAAAAAAASAAYAAQABAAAAAAASAAAAAQABAAIAAAATAAEAAQAAAAEAAAATAAIAAQAAAAEAAAATAAMAAQAAAAEAAAATAAYAAQACAAUAAAATAAAAAQACAAMAAAAAAAYAAQAAAAUAAAA=")
|
||||
tile_set = ExtResource("1_60tbt")
|
||||
|
||||
[node name="Barrier" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAATAAQAAQAAAAEAAAATAAUAAQAAAAEAAAAAAAQAAQACAAEAAAAAAAUAAQACAAEAAAA=")
|
||||
tile_set = ExtResource("1_60tbt")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(320, 111)
|
||||
scale = Vector2(20.125, 7.06253)
|
||||
texture = ExtResource("2_w0wh3")
|
||||
|
||||
[node name="AutoSpawn" type="Node2D" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="RoomArea" type="Area2D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"]
|
||||
position = Vector2(320.5, 112)
|
||||
shape = SubResource("RectangleShape2D_kiih8")
|
||||
|
||||
[node name="SpawnArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
||||
position = Vector2(315.5, 116.25)
|
||||
shape = SubResource("RectangleShape2D_kfmgh")
|
|
@ -11,7 +11,7 @@ size = Vector2(20, 48)
|
|||
size = Vector2(22, 46)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"]
|
||||
size = Vector2(11.875, 51)
|
||||
size = Vector2(21, 45.5)
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"]
|
||||
vertices = PackedVector2Array(696.148, 425, 719.617, 425, 722.328, 467.047, 12.5391, 470.938, 10.4531, 426.43, 46.0312, 424.461, 690.859, 84.1562, 45.0234, 48.9219, 721.523, 44.0625, 723.5, 80.1875)
|
||||
|
@ -47,6 +47,12 @@ shape = SubResource("RectangleShape2D_30r3c")
|
|||
position = Vector2(722, 447)
|
||||
shape = SubResource("RectangleShape2D_6qg1t")
|
||||
|
||||
[node name="Area2D4" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D4"]
|
||||
position = Vector2(16, 196)
|
||||
shape = SubResource("RectangleShape2D_6qg1t")
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
navigation_polygon = SubResource("NavigationPolygon_1qloc")
|
||||
|
||||
|
@ -54,7 +60,7 @@ navigation_polygon = SubResource("NavigationPolygon_1qloc")
|
|||
|
||||
[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAABAAUAAQAGAAUAAAABAAYAAQAGAAUAAAABAAcAAQAGAAUAAAABAAgAAQAGAAUAAAABAAkAAQAGAAUAAAABAAoAAQAGAAUAAAACAAEAAQAGAAUAAAACAAIAAQAGAAUAAAACAAMAAQAGAAUAAAACAAQAAQAGAAUAAAACAAUAAQAGAAUAAAACAAYAAQAGAAUAAAACAAcAAQAGAAUAAAACAAgAAQAGAAUAAAACAAkAAQAGAAUAAAACAAoAAQAGAAUAAAADAAEAAQAGAAUAAAADAAIAAQAGAAUAAAADAAMAAQAGAAUAAAADAAQAAQAGAAUAAAADAAUAAQAGAAUAAAADAAYAAQAGAAUAAAADAAcAAQAGAAUAAAADAAgAAQAGAAUAAAADAAkAAQAGAAUAAAADAAoAAQAGAAUAAAAEAAEAAQAGAAUAAAAEAAIAAQAGAAUAAAAEAAMAAQAGAAUAAAAEAAQAAQAGAAUAAAAEAAUAAQAGAAUAAAAEAAYAAQAGAAUAAAAEAAcAAQAGAAUAAAAEAAgAAQAGAAUAAAAEAAkAAQAGAAUAAAAEAAoAAQAG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AQAGAAUAAAAOAAsAAQAGAAUAAAAOAAwAAQAGAAUAAAAOAA0AAQAGAAUAAAAOAA4AAQAGAAUAAAAPAAsAAQAGAAUAAAAPAAwAAQAGAAUAAAAPAA0AAQAGAAUAAAAPAA4AAQAGAAUAAAAQAAsAAQAGAAUAAAAQAAwAAQAGAAUAAAAQAA0AAQAGAAUAAAAQAA4AAQAGAAUAAAARAAsAAQAGAAUAAAARAAwAAQAGAAUAAAARAA0AAQAGAAUAAAARAA4AAQAGAAUAAAASAAsAAQAGAAUAAAASAAwAAQAGAAUAAAASAA0AAQAGAAUAAAASAA4AAQAGAAUAAAATAAsAAQAGAAUAAAATAAwAAQAGAAUAAAATAA0AAQAGAAUAAAATAA4AAQAGAAUAAAAUAAsAAQAGAAUAAAAUAAwAAQAGAAUAAAAUAA0AAQAGAAUAAAAUAA4AAQAGAAUAAAAVAAsAAQAGAAUAAAAVAAwAAQAGAAUAAAAVAA0AAQAGAAUAAAAVAA4AAQAGAAUAAAAAAA4AAQAGAAUAAAAAAA0AAQAGAAUAAAAWAAIAAQAGAAUAAAAWAAEAAQAGAAUAAAAWAA0AAQAGAAUAAAAWAA4AAQAGAAUAAAAAAAUAAQAGAAUAAAAAAAYAAQAGAAUAAAA=")
|
||||
tile_set = ExtResource("1_rn2om")
|
||||
navigation_enabled = false
|
||||
|
||||
|
@ -65,12 +71,12 @@ tile_set = ExtResource("1_rn2om")
|
|||
|
||||
[node name="Ground" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAAAAAQAAQACAAEAAAAAAAUAAQACAAEAAAAAAAYAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAA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AEAAQAAAAOAAsAAQAEAAQAAAAPAAsAAQAEAAQAAAAQAAsAAQAEAAQAAAARAAsAAQAEAAQAAAABAAoAAQAEAAMAAAAVAAoAAQAEAAMAAAACAAoAAQAEAAIAAAAUAAoAAQAEAAIAAAANAAQAAQAEAAQAAAANAAwAAQAEAAQAAAAMAA0AAQAEAAQAAAALAA4AAQAEAAQAAAAJAAsAAQAEAAQAAAAGAAoAAQAEAAQAAAAHAAkAAQAEAAQAAAAIAAgAAQAEAAQAAAAJAAcAAQAEAAQAAAAKAAcAAQAEAAQAAAALAAcAAQAEAAQAAAAMAAcAAQAEAAQAAAANAAcAAQAEAAQAAAAOAAcAAQAEAAQAAAAPAAcAAQAEAAQAAAAQAAcAAQAEAAQAAAARAAcAAQAEAAQAAAASAAcAAQAEAAQAAAATAAcAAQAEAAQAAAAUAAcAAQAEAAQAAAAVAAcAAQAFAAQAAAABAAcAAQADAAQAAAACAAcAAQAEAAQAAAADAAcAAQAEAAQAAAAEAAcAAQAEAAQAAAAFAAcAAQAEAAQAAAALAAYAAQAEAAQAAAAMAAUAAQAEAAQAAAAPAAMAAQAEAAQAAAAQAAMAAQAEAAQAAAARAAMAAQAEAAQAAAASAAMAAQAEAAQAAAATAAMAAQAEAAQAAAAUAAMAAQAEAAQAAAAVAAMAAQAFAAQAAAABAAMAAQADAAQAAAACAAMAAQAEAAQAAAADAAMAAQAEAAQAAAAEAAMAAQAEAAQAAAAFAAMAAQAEAAQAAAAGAAMAAQAEAAQAAAAHAAMAAQAEAAQAAAAIAAMAAQAEAAQAAAAJAAMAAQAEAAQAAAAKAAMAAQAEAAQAAAAKAAsAAQAEAAQAAAALAAsAAQAEAAQAAAAGAAcAAQAEAAQAAAALAAMAAQAEAAQAAAAMAAMAAQAEAAQAAAA=")
|
||||
tile_set = ExtResource("1_rn2om")
|
||||
|
||||
[node name="Barrier" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAAWAA0AAQAAAAEAAAAWAA4AAQAAAAEAAAAWAAEAAQAAAAEAAAAWAAIAAQAAAAEAAAAAAA0AAQACAAEAAAAAAA4AAQACAAEAAAA=")
|
||||
tile_map_data = PackedByteArray("AAAWAA0AAQAAAAEAAAAWAA4AAQAAAAEAAAAWAAEAAQAAAAEAAAAWAAIAAQAAAAEAAAAAAA0AAQACAAEAAAAAAA4AAQACAAEAAAAAAAYAAQACAAEAAAAAAAUAAQACAAEAAAA=")
|
||||
tile_set = ExtResource("1_rn2om")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||
|
@ -103,11 +109,3 @@ shape = SubResource("RectangleShape2D_kiih8")
|
|||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
||||
position = Vector2(359.5, 246.5)
|
||||
shape = SubResource("RectangleShape2D_kfmgh")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 340.0
|
||||
offset_top = 292.0
|
||||
offset_right = 442.0
|
||||
offset_bottom = 317.0
|
||||
rotation = -0.480292
|
||||
text = "ui_everywhere"
|
||||
|
|
110
prefab/roomTemplates/dungeon/verticalStair.tscn
Normal file
110
prefab/roomTemplates/dungeon/verticalStair.tscn
Normal file
|
@ -0,0 +1,110 @@
|
|||
[gd_scene load_steps=8 format=4 uid="uid://53ssan8hgcyn"]
|
||||
|
||||
[ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_kdit4"]
|
||||
[ext_resource type="Texture2D" uid="uid://drw45jlmfo0su" path="res://sprites/light/White_100.png" id="2_g41lp"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o85u0"]
|
||||
size = Vector2(22.5, 48)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"]
|
||||
size = Vector2(24.5, 59.75)
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"]
|
||||
vertices = PackedVector2Array(8, 791.953, 8, 746.922, 42, 749.922, 405.523, 790.039, 403.461, 746, 374.047, 746, 373.32, 109.617, 404.82, 107.648, 404.148, 150.32, 373.969, 151.328, 42, 341.359, 10.1719, 343.344, 10.8438, 301, 41, 301, 41, 86.2891, 11.6719, 88.2969, 10.3203, 45, 29.0078, 45, 371.289, 44.0234, 375.031, 489.672, 372.953, 537.211, 404.141, 533.18, 404.828, 490.656)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 3, 2, 5), PackedInt32Array(6, 7, 8, 9), PackedInt32Array(10, 11, 12, 13), PackedInt32Array(14, 15, 16, 17), PackedInt32Array(14, 17, 18, 6), PackedInt32Array(13, 14, 6, 9, 19, 10), PackedInt32Array(2, 10, 19, 20), PackedInt32Array(20, 5, 2), PackedInt32Array(21, 20, 19, 22)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(29, 35, 381, 34, 383, 99, 415, 97, 414, 160, 384, 161, 385, 480, 415, 481, 414, 542, 383, 546, 384, 736, 413, 736, 416, 800, -2, 802, -2, 736, 32, 739, 32, 352, 0, 354, 1, 291, 31, 291, 31, 97, 2, 99, 0, 35)])
|
||||
source_geometry_group_name = &"navigation_polygon_source_group"
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiih8"]
|
||||
size = Vector2(413, 829)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kfmgh"]
|
||||
size = Vector2(322, 765)
|
||||
|
||||
[node name="InitialRoom2" type="Node2D"]
|
||||
|
||||
[node name="RoomSlotList" type="Node2D" parent="."]
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D"]
|
||||
position = Vector2(15, 322)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D2" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D2"]
|
||||
position = Vector2(16, 767)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D6" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D6"]
|
||||
position = Vector2(401, 516)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D4" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D4"]
|
||||
position = Vector2(14, 65)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D5" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D5"]
|
||||
position = Vector2(399, 129)
|
||||
shape = SubResource("RectangleShape2D_o85u0")
|
||||
|
||||
[node name="Area2D3" type="Area2D" parent="RoomSlotList"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D3"]
|
||||
position = Vector2(399.75, 769.875)
|
||||
shape = SubResource("RectangleShape2D_6qg1t")
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
position = Vector2(0, -1)
|
||||
navigation_polygon = SubResource("NavigationPolygon_1qloc")
|
||||
|
||||
[node name="TileMap" type="Node2D" parent="."]
|
||||
|
||||
[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAABABIAAQAGAAUAAAABABMAAQAGAAUAAAABABQAAQAGAAUAAAABABUAAQAGAAUAAAABABYAAQAGAAUAAAABABcAAQAGAAUAAAABABgAAQAGAAUAAAACABIAAQAGAAUAAAACABMAAQAGAAUAAAACABQAAQAGAAUAAAACABUAAQAGAAUAAAACABYAAQAGAAUAAAACABcAAQAGAAUA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roundDecoration" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAALABEAAQAHAAQAAAABAAsAAQAGAAQAAAALAAEAAQAHAAQAAAADAAoAAQAHAAUAAAAHAAIAAQAHAAUAAAAKABgAAQAHAAUAAAA=")
|
||||
tile_set = ExtResource("1_kdit4")
|
||||
|
||||
[node name="Ground" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAAAAAMAAQACAAEAAAAAAAQAAQACAAEAAAAAAAUAAQACAAEAAAAAAAYAAQACAAEAAAAAAAcAAQACAAEAAAAAAAgAAQACAAEAAAAAAAsAAQACAAEAAAAAAAwAAQACAAEAAAAAAA0AAQACAAEAAAAAAA4AAQACAAEAAAAAAA8AAQACAAEAAAAAABAAAQACAAEAAAAMAA4AAQAAAAEAAAAMAA0AAQAAAAEAAAAMAAwAAQAAAAEAAAAMAAsAAQAAAAEAAAAMAAoAAQAAAAEAAAAMAAkAAQAAAAEAAAAMAAgAAQAAAAEAAAAMAAcAAQAAAAEAAAAMAAYAAQAAAAEAAAAMAAUAAQAAAAEAAAAMAAAAAQACAAMAAAAMAAEAAQAAAAEAAAAMAAIAAQAAAAEAAAALAAAAAQABAAIAAAAAABEAAQACAAEAAAAAABIAAQACAAEAAAAAABMAAQACAAEAAAAAABQAAQACAAEAAAAAABUAAQACAAEAAAAAABYAAQACAAEAAAAMABEAAQAAAAEAAAAMABIAAQAAAAEAAAAMABMAAQAAAAEAAAAMABQAAQAAAAEAAAAMABUAAQAAAAEAAAAMABYAAQAAAAEAAAABABkAAQABAAAAAAACABkAAQABAAAAAAADABkAAQABAAAAAAAEABkAAQABAAAAAAAFABkAAQABAAAAAAAGABkAAQABAAAAAAAHABkAAQABAAAAAAAIABkAAQABAAAAAAAJABkAAQABAAAAAAAKABkAAQABAAAAAAALABkAAQABAAAAAAAAABkAAQAAAAUAAAAMABkAAQACAAUAAAACABgAAQAEAAQAAAADABcAAQAEAAQAAAAEABYAAQAEAAQAAAAFABUAAQAEAAQAAAAGABQAAQAEAAQAAAAHABMAAQAEAAQAAAAIABIAAQAEAAQAAAAJABEAAQAEAAQAAAAKABEAAQAEAAQAAAALABEAAQAEAAQAAAAIABAAAQAEAAQAAAAHAA8AAQAEAAQAAAAGAA4AAQAEAAQAAAAFAA0AAQAEAAQAAAAEAAwAAQAEAAQAAAADAAsAAQAEAAQAAAACAAsAAQAEAAQAAAABAAsAAQAEAAQAAAAEAAoAAQAEAAQAAAAFAAkAAQAEAAQAAAAGAAgAAQAEAAQAAAAHAAcAAQAEAAQAAAAIAAYAAQAEAAQAAAAJAAUAAQAEAAQAAAAKAAUAAQAEAAQAAAALAAUAAQAEAAQAAAAIAAQAAQAEAAQAAAAHAAMAAQAEAAQAAAAGAAMAAQAEAAQAAAAFAAMAAQAEAAQAAAAEAAMAAQAEAAQAAAADAAMAAQAEAAQAAAACAAMAAQAEAAQAAAABAAMAAQAEAAQAAAA=")
|
||||
tile_set = ExtResource("1_kdit4")
|
||||
|
||||
[node name="Barrier" type="TileMapLayer" parent="TileMap"]
|
||||
use_parent_material = true
|
||||
tile_map_data = PackedByteArray("AAAMAAMAAQAAAAEAAAAMAAQAAQAAAAEAAAAMAA8AAQAAAAEAAAAMABAAAQAAAAEAAAAMABcAAQAAAAEAAAAMABgAAQAAAAEAAAAAABcAAQACAAEAAAAAABgAAQACAAEAAAAAAAkAAQACAAEAAAAAAAoAAQACAAEAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAA=")
|
||||
tile_set = ExtResource("1_kdit4")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(206.5, 414.5)
|
||||
scale = Vector2(12.9688, 26.0313)
|
||||
texture = ExtResource("2_g41lp")
|
||||
|
||||
[node name="AutoSpawn" type="Node2D" parent="."]
|
||||
|
||||
[node name="RoomArea" type="Area2D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"]
|
||||
position = Vector2(207.5, 415.5)
|
||||
shape = SubResource("RectangleShape2D_kiih8")
|
||||
|
||||
[node name="SpawnArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
||||
position = Vector2(209, 416.5)
|
||||
shape = SubResource("RectangleShape2D_kfmgh")
|
|
@ -172,6 +172,13 @@ public partial class CharacterTemplate : CharacterBody2D
|
|||
|
||||
private DamageNumberNodeSpawn? _damageNumber;
|
||||
|
||||
/// <summary>
|
||||
/// <para>indestructible</para>
|
||||
/// <para>是否为无敌的</para>
|
||||
/// </summary>
|
||||
[Export]
|
||||
private bool _indestructible;
|
||||
|
||||
[Export] public string LootListId { get; private set; } = "";
|
||||
|
||||
private HealthBar? _healthBar;
|
||||
|
@ -561,6 +568,10 @@ public partial class CharacterTemplate : CharacterBody2D
|
|||
/// </returns>
|
||||
public bool Damage(DamageTemplate damageTemplate)
|
||||
{
|
||||
if (_indestructible)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
_lastDamageTime = DateTime.Now;
|
||||
_damageNumber?.Display(damageTemplate);
|
||||
CurrentHp -= damageTemplate.Damage;
|
||||
|
|
Loading…
Reference in New Issue
Block a user