challenge-editor/scene/_2d_fight/2d_fight.tscn

164 lines
14 KiB
Plaintext
Raw Normal View History

2024-11-29 01:02:57 +08:00
[gd_scene load_steps=23 format=4 uid="uid://du6ct6v45ljtu"]
2024-11-26 21:10:14 +08:00
[ext_resource type="Script" path="res://scene/_2d_fight/2d_fight.gd" id="1_i1eox"]
[ext_resource type="Texture2D" uid="uid://wld1fbwto47r" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/black.png" id="2_rfpw5"]
[ext_resource type="Texture2D" uid="uid://chl3m4p51lsop" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/blue.png" id="3_k6g6r"]
[ext_resource type="Texture2D" uid="uid://t2v5bekhf6gw" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/green.png" id="4_df1e1"]
[ext_resource type="Texture2D" uid="uid://dkecwuix7ykv4" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/red.png" id="5_3fku7"]
[ext_resource type="Texture2D" uid="uid://bi25ys30tbg5s" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/white.png" id="6_xautx"]
[ext_resource type="Texture2D" uid="uid://cq0wc2267qtc4" path="res://res/ui/ui_033_2d_fight/icon_color_64x64/yellow.png" id="7_3sowm"]
2024-11-29 01:02:57 +08:00
[ext_resource type="Script" path="res://class/tool/DrawerContainer.gd" id="9_kd3fp"]
2024-11-26 21:10:14 +08:00
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_bd2vv"]
texture = ExtResource("2_rfpw5")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_brwow"]
texture = ExtResource("6_xautx")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
0:0/0/custom_data_0 = true
[sub_resource type="TileSet" id="TileSet_u4wdi"]
tile_size = Vector2i(64, 64)
custom_data_layer_0/name = "walkable"
custom_data_layer_0/type = 1
sources/0 = SubResource("TileSetAtlasSource_bd2vv")
sources/1 = SubResource("TileSetAtlasSource_brwow")
2024-11-29 01:02:57 +08:00
[sub_resource type="TileSet" id="TileSet_aef74"]
tile_size = Vector2i(64, 64)
2024-11-26 21:10:14 +08:00
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_oi4sk"]
texture = ExtResource("2_rfpw5")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_7cxrd"]
texture = ExtResource("3_k6g6r")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ax84w"]
texture = ExtResource("4_df1e1")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_l0dlq"]
texture = ExtResource("5_3fku7")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_2x2wq"]
texture = ExtResource("6_xautx")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_grorl"]
texture = ExtResource("7_3sowm")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSet" id="TileSet_j5hfj"]
tile_size = Vector2i(64, 64)
sources/0 = SubResource("TileSetAtlasSource_oi4sk")
sources/1 = SubResource("TileSetAtlasSource_7cxrd")
sources/2 = SubResource("TileSetAtlasSource_ax84w")
sources/3 = SubResource("TileSetAtlasSource_l0dlq")
sources/4 = SubResource("TileSetAtlasSource_2x2wq")
sources/5 = SubResource("TileSetAtlasSource_grorl")
2024-11-29 01:02:57 +08:00
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_0a8fi"]
texture = ExtResource("6_xautx")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSet" id="TileSet_efupx"]
tile_size = Vector2i(64, 64)
sources/0 = SubResource("TileSetAtlasSource_0a8fi")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_srekj"]
bg_color = Color(0.355314, 0.355314, 0.355313, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
shadow_size = 13
2024-11-26 21:10:14 +08:00
[node name="2DFight" type="Node2D"]
script = ExtResource("1_i1eox")
tile_map_area_to = Vector2i(29, 16)
2024-11-29 01:02:57 +08:00
camera_base_zoom_scale = Vector2(1, 1)
2024-11-26 21:10:14 +08:00
[node name="main_camera" type="Camera2D" parent="."]
unique_name_in_owner = true
[node name="tile_map" type="Node2D" parent="."]
[node name="chess_back_add_pos" type="Node2D" parent="tile_map"]
unique_name_in_owner = true
[node name="walkable" type="TileMapLayer" parent="tile_map"]
unique_name_in_owner = true
2024-11-29 01:02:57 +08:00
visible = false
2024-11-26 21:10:14 +08:00
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAAAAAAEAAQAAAAAAAAAAAAIAAQAAAAAAAAAAAAMAAQAAAAAAAAAAAAQAAQAAAAAAAAAAAAUAAQAAAAAAAAAAAAYAAQAAAAAAAAAAAAcAAQAAAAAAAAAAAAgAAQAAAAAAAAAAAAkAAQAAAAAAAAAAAAoAAQAAAAAAAAAAAAsAAQAAAAAAAAAAAAwAAQAAAAAAAAAAAA0AAQAAAAAAAAAAAA4AAQAAAAAAAAAAAA8AAQAAAAAAAAAAABAAAQAAAAAAAAABAAAAAQAAAAAAAAABAAEAAQAAAAAAAAABAAIAAQAAAAAAAAABAAMAAQAAAAAAAAABAAQAAQAAAAAAAAABAAUAAQAAAAAAAAABAAYAAQAAAAAAAAABAAcAAQAAAAAAAAABAAgAAQAAAAAAAAABAAkAAQAAAAAAAAABAAoAAQAAAAAAAAABAAsAAQAAAAAAAAABAAwAAQAAAAAAAAABAA0AAQAAAAAAAAABAA4AAQAAAAAAAAABAA8AAQAAAAAAAAABABAAAQAAAAAAAAACAAAAAQAAAAAAAAACAAEAAQAAAAAAAAACAAIAAQAAAAAAAAACAAMAAQAAAAAAAAACAAQAAQAAAAAAAAAC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AAAAAAAANAA8AAQAAAAAAAAANABAAAQAAAAAAAAAOAAAAAQAAAAAAAAAOAAEAAQAAAAAAAAAOAAIAAQAAAAAAAAAOAAMAAQAAAAAAAAAOAAQAAQAAAAAAAAAOAAUAAQAAAAAAAAAOAAYAAAAAAAAAAAAOAAcAAQAAAAAAAAAOAAgAAQAAAAAAAAAOAAkAAQAAAAAAAAAOAAoAAQAAAAAAAAAOAAsAAQAAAAAAAAAOAAwAAQAAAAAAAAAOAA0AAQAAAAAAAAAOAA4AAQAAAAAAAAAOAA8AAQAAAA
tile_set = SubResource("TileSet_u4wdi")
2024-11-29 01:02:57 +08:00
[node name="block_add_pos" type="TileMapLayer" parent="tile_map"]
2024-11-26 21:10:14 +08:00
unique_name_in_owner = true
2024-11-29 01:02:57 +08:00
tile_set = SubResource("TileSet_aef74")
2024-11-26 21:10:14 +08:00
[node name="color_block" type="TileMapLayer" parent="tile_map"]
unique_name_in_owner = true
tile_set = SubResource("TileSet_j5hfj")
2024-11-29 01:02:57 +08:00
[node name="mouse_block" type="TileMapLayer" parent="tile_map"]
unique_name_in_owner = true
tile_set = SubResource("TileSet_efupx")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="panel_container" type="Container" parent="CanvasLayer"]
unique_name_in_owner = true
anchors_preset = -1
anchor_left = 0.765104
anchor_top = 0.0277778
anchor_right = 0.998958
anchor_bottom = 0.592593
script = ExtResource("9_kd3fp")
button_model = 2
disable_button = true
metadata/_edit_use_anchors_ = true
[node name="Panel" type="Panel" parent="CanvasLayer/panel_container"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_srekj")
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/panel_container/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/panel_container/Panel/MarginContainer"]
layout_mode = 2
[node name="choice_add_pos" type="VBoxContainer" parent="CanvasLayer/panel_container/Panel/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 30
[node name="next" type="Button" parent="CanvasLayer/panel_container/Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "下一个"
[connection signal="pressed" from="CanvasLayer/panel_container/Panel/MarginContainer/VBoxContainer/next" to="." method="_on_next_pressed"]