9.28下午

This commit is contained in:
TsubakiLoL 2024-09-28 18:46:15 +08:00
parent 8049c6c5d8
commit d00c26b78f
33 changed files with 738 additions and 88 deletions

View File

@ -69,25 +69,133 @@ var system_game_data:Dictionary={
"item":[]
}
#将仓库内的装备数据装备到角色身上,同时删除仓库数据,并为角色添加装饰器,
#0饰品
func add_character_equipment_emblish(equip_pos:int,euqip_data:int):
pass
#将角色装备卸下,同时将装备数据数据添加到仓库,并为角色添加装饰器
func clear_character_equipment_emblish(equip_pos:int):
pass
#向全局仓库添加
func add_item_to_global(item_data:Dictionary,num:int):
pass
#向当前游戏数据添加item
func add_item_to_local(item_data:Dictionary,num:int):
#获取当前游戏内所有物品
func get_all_item_game_data()->Array:
return now_game_data["item"].duplicate(true)
#根据type获取当前物品
func get_type_item_game_data(type:int)->Array:
var item:Array=now_game_data["item"].duplicate(true)
var res:Array=[]
for i in item:
if i.has("type") and int(i["type"])==type:
res.append(i)
return res
func get_now_character_equip_page(page:int):
return CharacterTool.get_character_equip_page(get_now_character_data(),page)
func get_now_character_equip_use():
return CharacterTool.get_character_equip_now(get_now_character_data())
func replace_equip_with_data(page:int,pos:int,item_data:Dictionary):
var left=CharacterTool.replace_character_equip(now_game_data["character_data"],page,pos,item_data)
if left!=null:
add_item_to_bag(left)
pass
#向背包中添加item会根据allow merger属性决定是否自动合并并创建num属性
func add_item_to_bag(item_data:Dictionary):
var item:Array=now_game_data["item"]
if item_data["allow_merge"]:
for i in item_data.size():
if item_data[i]["id"]==item_data["id"]:
if item_data[i].has("num"):
item_data[i]["num"]+=1
else:
item_data[i]["num"]=2
pass
pass
else:
item.append(item_data)
#根据在背包的排序减少对应物品的数量
func decrease_item_num_index(ind:int,num:int=1):
var item:Array=now_game_data["item"]
if ind<item.size():
var item_data=item[ind]
if item_data.has("num"):
item_data["num"]-=1
if item_data["num"]<=0:
item.pop_at(ind)
else:
item.pop_at(ind)
#根据ID减少在背包内的物品
func decrease_item_num_id(id:String,num:int=1)->bool:
var item:Array=now_game_data["item"]
var item_data:Dictionary
var ind:int
for i in item.size():
if item[i]["id"]==id:
item_data=item[i]
ind=i
break
if item_data==null:
return false
else:
if not item_data.has("num"):
item_data["num"]=1
var item_num:int=item_data["num"]
if item_num>num:
item_data["num"]-=num
return true
elif item_num==num:
item.pop_at(ind)
return true
else:
return false
#通过id获取当前背包数量如果是不允许合并的物品则返回1或者0没有
func get_item_by_id(id:String)->int:
var item:Array=now_game_data["item"]
var item_data:Dictionary
var ind:int
for i in item.size():
if item[i]["id"]==id:
item_data=item[i]
ind=i
break
if item_data!=null:
if item_data.has("num"):
return item_data["num"]
else:
return 1
else:
return 0
pass
#返回一个长度为2的数组第一个数组存储的item中装备的index另一个是对应的item_data
func get_all_equip_index_and_data_in_bag()->Array:
var item:Array=now_game_data["item"].duplicate(true)
var res:Array=[]
var ind_arr:Array=[]
var data_arr:Array=[]
for i in item.size():
if is_item_a_equip(item[i]):
ind_arr.append(i)
data_arr.append(item[i])
res=[ind_arr,data_arr]
return res
#判断item是否为一个装备暂时将武器除外
func is_item_a_equip(item_data:Dictionary)->bool:
if not item_data.has("type"):
return false
var type:int=item_data["type"]
if type in [0,1,2,3]:
return true
else:
return false
#改变当前角色使用的装备页
func change_character_equip_now_use(page:int):
print(page)
CharacterTool.change_character_equip_now_use(now_game_data["character_data"],page)
#获取当前使用装备页数
func get_character_page_now_use()->int:
return CharacterTool.get_character_equip_now_use_page(now_game_data["character_data"])
##当前数据
var now_game_data:Dictionary={
"character_data":{
@ -285,6 +393,10 @@ var now_game_flow:GameFlow
#获取当前角色数据的拷贝
func get_now_character_data():
return now_game_data["character_data"].duplicate()
#设置当前角色(游戏内)
func set_now_character(id:String):
now_game_data["character_data"]=get_character_data(id)
func _ready() -> void:
load_texture_data()
load_script_data()
@ -295,6 +407,7 @@ func _ready() -> void:
load_map_data()
load_npc_data()
load_character_emblish_data()
load_item_data()
#加载当前图片数据
func load_texture_data():
var file=FileAccess.open(texture_json_path,FileAccess.READ)
@ -342,6 +455,8 @@ func load_character_data():
var dictionary:Dictionary=JSON.parse_string(str)
for i in dictionary.keys():
dictionary[i]["id"]=i
#预处理
dictionary[i]=CharacterTool.pre_process_character_data(dictionary[i])
character_data=dictionary
#加载当前地图字典
func load_map_data():

View File

@ -1,3 +1,4 @@
##角色字典工具类
class_name CharacterTool
static func get_character_attribute(character_data:Dictionary,attribute_name:String):
@ -115,4 +116,37 @@ static func get_name_by_attribute_key(key:String)->String:
return attribute_key_to_name_dic[key]
else:
return key
#对角色json加载后进行预处理
static func pre_process_character_data(character_data:Dictionary)->Dictionary:
var res:Dictionary=character_data.duplicate(true)
#添加三页装备为null
#每页顺序默认是饰品1饰品2饰品3饰品4手部1手部2头部身体
#共八个
res["equip"]=[
[null,null,null,null,null,null,null,null,],
[null,null,null,null,null,null,null,null,],
[null,null,null,null,null,null,null,null,]
]
res["now_use_equip"]=0
return res
#替换装备数据,返回之前装备
static func replace_character_equip(character_data:Dictionary,page:int,pos:int,item_data:Dictionary):
var data=character_data["equip"][page][pos]
character_data["equip"][page][pos]=item_data.duplicate(true)
return data
#当前使用的装备方案对应页
static func get_character_equip_page(character_data:Dictionary,page:int)->Array:
var data:Array=character_data["equip"][page]
return data.duplicate(true)
#返回角色当前使用的装备队列
static func get_character_equip_now(character_data:Dictionary):
var now_use_page:int=character_data["now_use_equip"]
var data:Array=character_data["equip"][now_use_page]
return data.duplicate(true)
#改变角色当前使用的装备页
static func change_character_equip_now_use(character_data:Dictionary,page:int):
character_data["now_use_equip"]=page
#获取角色当前使用的装备页数
static func get_character_equip_now_use_page(character_data:Dictionary)->int:
return int(character_data["now_use_equip"])

View File

@ -1,9 +1,12 @@
{
"item_01":{
"type":0,
"allow_merge":false,
"price":100,
"quality":0,
"name":"测试饰品",
"texture":"issuing",
"name":"发卡(测试饰品)",
"introduction":"用于测试的饰品装备,并没有什么用",
"material":{
}
@ -11,9 +14,12 @@
},
"item_02":{
"type":1,
"allow_merge":false,
"price":100,
"quality":0,
"name":"测试手部装备",
"texture":"bag",
"name":"测试手部装备背包",
"introduction":"用于测试的手部装备,并没有什么用",
"material":{
}
@ -21,9 +27,12 @@
},
"item_03":{
"type":2,
"allow_merge":false,
"price":100,
"quality":0,
"texture":"clothes",
"name":"测试身体",
"introduction":"用于测试的身体装备,并没有什么用",
"material":{
}
@ -31,9 +40,13 @@
},
"item_04":{
"type":3,
"allow_merge":false,
"price":100,
"quality":0,
"texture":"hat",
"name":"测试头部",
"introduction":"用于测试的头部装备,并没有什么用",
"material":{
}
@ -41,9 +54,12 @@
},
"item_05":{
"type":4,
"allow_merge":false,
"price":100,
"quality":0,
"texture":"knife",
"name":"小刀",
"introduction":"用于测试的武器,并没有什么用",
"material":{
}
@ -51,6 +67,7 @@
},
"item_06":{
"type":5,
"allow_merge":true,
"price":100,
"quality":0,
"name":"绷带",

View File

@ -5,5 +5,12 @@
"test_character_tsubaki":"res://test/texture/tsubaki_1.png",
"test_character_tsubaki_head":"res://test/texture/tsubaki_head.png",
"tower":"res://test/texture/test_tower.jpg",
"?":"res://res/ui/ui_025_adventure_mode/tuceng353.png"
"?":"res://res/ui/ui_025_adventure_mode/tuceng353.png",
"bandage":"D:/desktop3/UI/challenge-editor/test/equipment/bandage.png",
"hat":"res://test/equipment/Icon30_08.png",
"issuing":"res://test/equipment/Icon30_01.png",
"bag":"res://test/equipment/backpack.png",
"knife":"res://test/equipment/machete.png",
"cord":"res://test/equipment/rope.png",
"clothes":"res://test/equipment/Icon30_16.png"
}

View File

@ -1,11 +1,14 @@
extends TextureRect
class_name BagSideCard
var is_mouse_enter:bool=false
var equip_index:int=0
signal click(data:Dictionary)
var data:Dictionary={
"texture":"test_character_tsubaki"
}
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
set_data(Global.get_item_data("item_01"))
pass # Replace with function body.
@ -18,10 +21,20 @@ func _input(event: InputEvent) -> void:
func _get_drag_data(at_position: Vector2) -> Variant:
var texture_rect=TextureRect.new()
texture_rect.texture=Global.get_texture(data["texture"])
texture_rect.expand_mode=TextureRect.EXPAND_IGNORE_SIZE
texture_rect.stretch_mode=TextureRect.STRETCH_KEEP_ASPECT_CENTERED
texture_rect.size=self.size
set_drag_preview(texture_rect)
return data
var new_data=data.duplicate(true)
new_data["ind"]=equip_index
return new_data
func set_data(_data:Dictionary):
data=_data
%face.texture=Global.get_texture(data["texture"])
pass
func _on_mouse_entered() -> void:
is_mouse_enter=true
click.emit(data)
pass # Replace with function body.

View File

@ -18,6 +18,7 @@ script = ExtResource("2_frdwk")
metadata/_edit_use_anchors_ = true
[node name="face" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0263158
@ -28,7 +29,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_4o4bp")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
metadata/_edit_use_anchors_ = true
[node name="front" type="TextureRect" parent="."]

View File

@ -1,9 +1,9 @@
extends TextureRect
var num:int=1
@export var num:int=1
signal pressed(n:int)
func set_num(n:int):
$Label.text=n
num=n
func _ready() -> void:
$Label.text=str(num)
func _on_button_pressed() -> void:
pressed.emit(num)

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://3g5ba73apov5"]
[gd_scene load_steps=4 format=3 uid="uid://3g5ba73apov5"]
[ext_resource type="Texture2D" uid="uid://cp875cxgw5rq1" path="res://res/ui/ui_008_bag/tuceng1.png" id="1_ex42u"]
[ext_resource type="Script" path="res://scene/bag_tab_button.gd" id="2_dyt0t"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="3_1kc8h"]
[node name="bag_tab_button" type="TextureRect"]
custom_minimum_size = Vector2(96, 68)
@ -23,14 +24,7 @@ theme_override_font_sizes/font_size = 44
text = "1"
horizontal_alignment = 1
[node name="Button" type="Button" parent="."]
[node name="ToolButton" parent="." instance=ExtResource("3_1kc8h")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
flat = true
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="ToolButton" to="." method="_on_button_pressed"]

View File

@ -1,20 +1,28 @@
extends Label
signal fresh
@export var type:int=0
@export var texture:TextureRect
var item_data:Dictionary
var item_data
#当前使用的页面
var page:int=0
@export var index:int=0
func _can_drop_data(at_position: Vector2, data: Variant) -> bool:
if data.has("type") and data["type"]==type:
return true
else:
return false
func _drop_data(at_position: Vector2, data: Variant) -> void:
if item_data!=null:
pass
Global.replace_equip_with_data(page,index,data)
Global.decrease_item_num_index(data["ind"])
item_data=data
fresh.emit()
pass
func set_data(_data):
if _data==null:
texture.texture=null
item_data=null
return
item_data=_data
texture.texture=Global.get_texture(_data["texture"])

View File

@ -4,16 +4,21 @@ const ATTRIBUTE = preload("res://scene/attribute.tscn")
const SELECTED = preload("res://res/ui/ui_005_basic_message/selected.tres")
const BASIC_MES_SKIN_CARD = preload("res://scene/basic_mes_skin_card.tscn")
const START_CONFIG_MES = preload("res://scene/start_config_mes.tscn")
const BAG_SIDE_CARD = preload("res://scene/bag_side_card.tscn")
var data:Dictionary
##当前是在游戏外编辑还是在游戏内编辑
@export var is_in_game:bool=false
@onready var button_group:Array[Button]=[$VBoxContainer/TextureRect/HBoxContainer/Button, $VBoxContainer/TextureRect/HBoxContainer/Button2, $VBoxContainer/TextureRect/HBoxContainer/Button3, $VBoxContainer/TextureRect/HBoxContainer/Button4, $VBoxContainer/TextureRect/HBoxContainer/Button5, $VBoxContainer/TextureRect/HBoxContainer/Button6]
@onready var now_selected_button:Button=$VBoxContainer/TextureRect/HBoxContainer/Button
var now_character_use_equip_page:int=0
@onready var equipment_group=[%ornaments_equipment1, %ornaments_equipment2, %ornaments_equipment3,%ornaments_equipment4,%hand_equipment1,%hand_equipment2, %head_equipment, %body_equipment]
#面板关闭信号
signal close
var now_selected_mes:StartConfigMes
func init_from_data():
for i in equipment_group.size():
equipment_group[i].index=i
for i in %special_container.get_children():
i.queue_free()
for i in %ability_container.get_children():
@ -135,9 +140,33 @@ func init_from_data():
new_skin_card.state=-1
new_skin_card.set_data(skin_data_arr[i])
new_skin_card.click.connect(skin_card_click)
#装备界面
if is_in_game:
for i in %bag_side_card_add_pos.get_children():
i.queue_free()
var bag_equip:Array=Global.get_all_equip_index_and_data_in_bag()
var ind_arr:Array=bag_equip[0]
var data_arr:Array=bag_equip[1]
for i in ind_arr.size():
var new_card=BAG_SIDE_CARD.instantiate()
new_card.equip_index=ind_arr[i]
%bag_side_card_add_pos.add_child(new_card)
new_card.set_data(data_arr[i])
new_card.click.connect(equip_mes_show)
pass
now_character_use_equip_page=Global.get_character_page_now_use()
var now_use_equip_data_arr=Global.get_now_character_equip_use()
for i in equipment_group.size():
equipment_group[i].page=now_character_use_equip_page
equipment_group[i].set_data(now_use_equip_data_arr[i])
pass
#要求显示背包卡片的具体信息
func equip_mes_show(data:Dictionary):
%bag_card_face_big.texture=Global.get_texture(data["texture"])
%bag_card_name.text=data["name"]
%bag_card_introduction.text=data["introduction"]
pass
func start_config_mes_click(mes:StartConfigMes,ind:int):
now_selected_mes.state=0
mes.state=1
@ -180,13 +209,25 @@ func selected(ind:int):
pass
func _ready() -> void:
Global.set_now_character("test_character_01")
#向背包中添加物品
Global.add_item_to_bag(Global.get_item_data("item_01"))
Global.add_item_to_bag(Global.get_item_data("item_02"))
Global.add_item_to_bag(Global.get_item_data("item_03"))
Global.add_item_to_bag(Global.get_item_data("item_04"))
Global.add_item_to_bag(Global.get_item_data("item_05"))
if is_in_game:
$VBoxContainer/TextureRect/HBoxContainer/Button6.hide()
$VBoxContainer/TextureRect/HBoxContainer/Button4.show()
else:
$VBoxContainer/TextureRect/HBoxContainer/Button6.show()
$VBoxContainer/TextureRect/HBoxContainer/Button4.hide()
pass
data=Global.get_character_data("test_character_01")
for i in equipment_group:
i.fresh.connect(fresh)
init_from_data()
connect_button()
@ -195,3 +236,17 @@ func _on_back_button_pressed() -> void:
self.hide()
close.emit()
pass # Replace with function body.
#切换装备页按钮按下时
func _on_bag_tab_button_pressed(n: int) -> void:
Global.change_character_equip_now_use(n-1)
data=Global.get_now_character_data()
init_from_data()
pass # Replace with function body.
func fresh():
data=Global.get_now_character_data()
init_from_data()
pass

View File

@ -112,6 +112,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_0470d")
is_in_game = true
[node name="back" type="TextureRect" parent="."]
layout_mode = 1
@ -1437,9 +1438,11 @@ layout_mode = 2
[node name="bag_tab_button2" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/TextureRect/MarginContainer/HBoxContainer" instance=ExtResource("22_rvfxp")]
layout_mode = 2
num = 2
[node name="bag_tab_button3" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/TextureRect/MarginContainer/HBoxContainer" instance=ExtResource("22_rvfxp")]
layout_mode = 2
num = 3
[node name="margin" type="MarginContainer" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer"]
layout_mode = 2
@ -1456,16 +1459,19 @@ theme_override_constants/separation = 115
custom_minimum_size = Vector2(114, 0)
layout_mode = 2
size_flags_horizontal = 0
horizontal_scroll_mode = 0
vertical_scroll_mode = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer"]
[node name="bag_side_card_add_pos" type="VBoxContainer" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 29
[node name="bag_side_card" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("23_o216g")]
[node name="bag_side_card" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer/bag_side_card_add_pos" instance=ExtResource("23_o216g")]
layout_mode = 2
[node name="bag_side_card2" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("23_o216g")]
[node name="bag_side_card2" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/ScrollContainer/bag_side_card_add_pos" instance=ExtResource("23_o216g")]
layout_mode = 2
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer"]
@ -1495,7 +1501,8 @@ expand_mode = 1
stretch_mode = 5
metadata/_edit_use_anchors_ = true
[node name="bag_card_face" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/bag_card"]
[node name="bag_card_face_big" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/bag_card"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -1504,7 +1511,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card"]
layout_mode = 0
@ -1516,6 +1523,7 @@ theme_override_styles/panel = SubResource("StyleBoxTexture_d723k")
metadata/_edit_use_anchors_ = true
[node name="bag_card_name" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel"]
unique_name_in_owner = true
layout_mode = 0
anchor_left = 0.180628
anchor_right = 0.913613
@ -1545,7 +1553,8 @@ theme_override_constants/separation = 0
layout_mode = 2
size_flags_horizontal = 6
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel/VBoxContainer/HBoxContainer/HBoxContainer"]
[node name="bag_card_main_type" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel/VBoxContainer/HBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1)
@ -1559,7 +1568,8 @@ theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1)
theme_override_font_sizes/font_size = 20
text = "——"
[node name="Label3" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel/VBoxContainer/HBoxContainer/HBoxContainer"]
[node name="bag_card_next_type" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel/VBoxContainer/HBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 2
theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1)
@ -1567,6 +1577,7 @@ theme_override_font_sizes/font_size = 20
text = "次类别"
[node name="bag_card_introduction" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/margin/HBoxContainer/AspectRatioContainer/card/Panel/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/line_spacing = 11
@ -1674,24 +1685,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect"]
[node name="ornaments_equipment1" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1699,6 +1710,8 @@ theme_override_font_sizes/font_size = 31
text = "饰品"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="TextureRect2" type="NinePatchRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer"]
@ -1713,24 +1726,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect2"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect2"]
[node name="ornaments_equipment3" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect2" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1738,6 +1751,8 @@ theme_override_font_sizes/font_size = 31
text = "饰品"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="TextureRect3" type="NinePatchRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer"]
@ -1752,24 +1767,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect3"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect3"]
[node name="hand_equipment1" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer/TextureRect3" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1777,6 +1792,9 @@ theme_override_font_sizes/font_size = 31
text = "手部"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
type = 1
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer"]
@ -1792,25 +1810,24 @@ size_flags_vertical = 0
texture = ExtResource("38_xp82q")
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect3"]
unique_name_in_owner = true
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect3"]
[node name="head_equipment" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect3" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1819,6 +1836,8 @@ text = "头部"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
type = 3
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="TextureRect4" type="NinePatchRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2"]
@ -1829,24 +1848,24 @@ size_flags_vertical = 0
texture = ExtResource("38_xp82q")
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect4"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect4"]
[node name="body_equipment" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer2/TextureRect4" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1854,6 +1873,9 @@ theme_override_font_sizes/font_size = 31
text = "身体"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
type = 2
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer3" type="VBoxContainer" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer"]
@ -1873,24 +1895,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect3"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect3"]
[node name="ornaments_equipment2" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect3" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1898,6 +1920,8 @@ theme_override_font_sizes/font_size = 31
text = "饰品"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="TextureRect4" type="NinePatchRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3"]
@ -1912,24 +1936,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect4"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect4"]
[node name="ornaments_equipment4" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect4" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1937,6 +1961,8 @@ theme_override_font_sizes/font_size = 31
text = "饰品"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="TextureRect5" type="NinePatchRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3"]
@ -1951,24 +1977,24 @@ patch_margin_right = 12
patch_margin_bottom = 12
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect5"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_m68h1")
expand_mode = 1
stretch_mode = 6
stretch_mode = 5
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect5"]
[node name="hand_equipment2" type="Label" parent="VBoxContainer/TabContainer/bag/Panel/Control/HBoxContainer/VBoxContainer3/TextureRect5" node_paths=PackedStringArray("texture")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.913386
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
@ -1976,6 +2002,9 @@ theme_override_font_sizes/font_size = 31
text = "手部"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("35_uq1fu")
type = 1
texture = NodePath("../TextureRect")
metadata/_edit_use_anchors_ = true
[node name="skill_config" type="MarginContainer" parent="VBoxContainer/TabContainer"]
@ -2156,4 +2185,7 @@ icon = ExtResource("21_boe0q")
flat = true
metadata/_edit_use_anchors_ = true
[connection signal="pressed" from="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/TextureRect/MarginContainer/HBoxContainer/bag_tab_button" to="." method="_on_bag_tab_button_pressed"]
[connection signal="pressed" from="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/TextureRect/MarginContainer/HBoxContainer/bag_tab_button2" to="." method="_on_bag_tab_button_pressed"]
[connection signal="pressed" from="VBoxContainer/TabContainer/bag/Panel/VBoxContainer/TextureRect/MarginContainer/HBoxContainer/bag_tab_button3" to="." method="_on_bag_tab_button_pressed"]
[connection signal="pressed" from="back_button" to="." method="_on_back_button_pressed"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c1irki2q448eh"
path="res://.godot/imported/Icon30_01.png-b84fb30a4c8c344aad565aa219cbb84e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/Icon30_01.png"
dest_files=["res://.godot/imported/Icon30_01.png-b84fb30a4c8c344aad565aa219cbb84e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cj2eu3bh5oecp"
path="res://.godot/imported/Icon30_08.png-bc622ec6cf6bfaadb3e99c94d51725ee.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/Icon30_08.png"
dest_files=["res://.godot/imported/Icon30_08.png-bc622ec6cf6bfaadb3e99c94d51725ee.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d3ev4nh8q58yw"
path="res://.godot/imported/Icon30_10.png-9b117018f41c8d3caaa8e9a1b74eeda5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/Icon30_10.png"
dest_files=["res://.godot/imported/Icon30_10.png-9b117018f41c8d3caaa8e9a1b74eeda5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://deesy1gn126yf"
path="res://.godot/imported/Icon30_16.png-641599e14a2ef95f5c4c0a5ecb92f730.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/Icon30_16.png"
dest_files=["res://.godot/imported/Icon30_16.png-641599e14a2ef95f5c4c0a5ecb92f730.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/backpack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b3jnpgngimh5x"
path="res://.godot/imported/backpack.png-6af5d5c1b67fc2d6fe0c71a7646782fa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/backpack.png"
dest_files=["res://.godot/imported/backpack.png-6af5d5c1b67fc2d6fe0c71a7646782fa.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/bandage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dj5iq0i6aclxh"
path="res://.godot/imported/bandage.png-e7c9cc2df9a09eb779d1df44162f0ee1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/bandage.png"
dest_files=["res://.godot/imported/bandage.png-e7c9cc2df9a09eb779d1df44162f0ee1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d7gslv7yu3y6"
path="res://.godot/imported/flashlight_1.png-bcebe03ac919d203fb0c24801b376bb6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/flashlight_1.png"
dest_files=["res://.godot/imported/flashlight_1.png-bcebe03ac919d203fb0c24801b376bb6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/machete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://wf72udlrg3fu"
path="res://.godot/imported/machete.png-ea56a8c954fd1ed6a52590762455694a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/machete.png"
dest_files=["res://.godot/imported/machete.png-ea56a8c954fd1ed6a52590762455694a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/pills_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xsyjm71mya8e"
path="res://.godot/imported/pills_2.png-e9c4c2959521166bbfd7045a2ae4957a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/pills_2.png"
dest_files=["res://.godot/imported/pills_2.png-e9c4c2959521166bbfd7045a2ae4957a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/rifle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://kf502ovulcvf"
path="res://.godot/imported/rifle.png-23c25c95f1952c9d0e2460ed079f5ba4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/rifle.png"
dest_files=["res://.godot/imported/rifle.png-23c25c95f1952c9d0e2460ed079f5ba4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/equipment/rope.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://qxu1a11d71cv"
path="res://.godot/imported/rope.png-bc2498838209f93e1a3743099690d142.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/equipment/rope.png"
dest_files=["res://.godot/imported/rope.png-bc2498838209f93e1a3743099690d142.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1