diff --git a/autoload/database/database.gd b/autoload/database/database.gd index 048a5c9..c291160 100644 --- a/autoload/database/database.gd +++ b/autoload/database/database.gd @@ -17,6 +17,9 @@ var init_favour:Dictionary={ "test_1":-100, "player":-100, + }, + "default":{ + "default":-60 } } #获取初始好感度 @@ -55,11 +58,28 @@ static var other_unit_data={ "hp":100, "atk":10, + "position":[0,0] } + + #角色数据 @onready var character_data:Dictionary=pre_proces_data(preload("res://json/character.json").data) -func get_unit_data(id:String): +func get_unit_data(id:String,as_unit_id:String="default"): if character_data.has(id): - return character_data[id].duplicate(true) + var res=character_data[id].duplicate(true) + res["unit_id"]=as_unit_id + return res + else: + return null + +func get_all_unit_type()->Array: + return character_data.keys() + +#地图数据 +@export var map_data:Dictionary=preload("res://json/map.json").data + +func get_map_data(id:String): + if map_data.has(id): + return map_data[id] else: return null diff --git a/autoload/global/global.gd b/autoload/global/global.gd index bcb8061..4648b6c 100644 --- a/autoload/global/global.gd +++ b/autoload/global/global.gd @@ -17,6 +17,7 @@ func set_unit_instance(id:String,instance:Node): #获取对象实例 func get_unit_instance(id:String): if unit_instance_dic.has(id) and is_instance_valid(unit_instance_dic[id]): + return unit_instance_dic[id] else: return null @@ -49,3 +50,31 @@ func set_unit_favour(self_id:String,other_id:String,favour:float): unit_favour_dic[self_id]={other_id:favour} else: unit_favour_dic[self_id][other_id]=favour + + +var now_map_id:String="default" +var map_dictionary:Dictionary={ + +} + +#当前地图是否已经初始化 +func is_map_initlized(map_id:String): + return map_dictionary.has(map_id) + +func add_unit_id_save_map(unit_data:Dictionary): + if not unit_data.has("map"): + return + var map_id=unit_data["map"] + if map_id=="default": + return + var unit_id=unit_data["unit_id"] + if map_dictionary.has(map_id): + map_dictionary[map_id][unit_id]=unit_data + else: + map_dictionary[map_id]={ + unit_id:unit_data + } + +#获取地图中的存储角色数据 +func get_map_data(map_id:String): + return map_dictionary[map_id] diff --git a/json/character.json b/json/character.json index d986d5a..302774c 100644 --- a/json/character.json +++ b/json/character.json @@ -1,6 +1,5 @@ { "test_character_base":{ - "unit_id":"default", "unit_type":"default", "sprite_frames":"res://res/animation/other_character_default.tres", "sprite_offset":[0,-80], @@ -11,7 +10,6 @@ "attack_scene":"res://scene/character/attack/base/attack_scene_base.tscn", }, "test_character_ranged":{ - "unit_id":"default", "unit_type":"default", "sprite_frames":"res://res/animation/other_character_default.tres", "sprite_offset":[0,-80], diff --git a/json/map.json b/json/map.json new file mode 100644 index 0000000..823143e --- /dev/null +++ b/json/map.json @@ -0,0 +1,4 @@ +{ + "map_0":"res://scene/map/map_test_0.tscn", + "map_1":"res://scene/map/map_test_1.tscn" +} diff --git a/scene/behavour_tree/condition_accuse.gd b/scene/behavour_tree/condition_accuse.gd index 8acafb3..2d143b5 100644 --- a/scene/behavour_tree/condition_accuse.gd +++ b/scene/behavour_tree/condition_accuse.gd @@ -6,10 +6,10 @@ func tick(actor:Node,black_board:Blackboard): var all_bodys=unit.sense_area.get_overlapping_bodies() for i in all_bodys: if i is Unit: - var favour=Global.get_unit_favour(unit.unit_id,i.unit_id) + var favour=Global.get_unit_favour(unit.get_unit_id(),i.get_unit_id()) var res=get_res(favour,unit.get_hungry()) if res: - black_board.set_value("target_unit_id",i.unit_id) + black_board.set_value("target_unit_id",i.get_unit_id()) return SUCCESS black_board.erase_value("target_unit_id") return FAILURE diff --git a/scene/character/attack/base/attack_scene_base.gd b/scene/character/attack/base/attack_scene_base.gd index 5d14b5e..79ce729 100644 --- a/scene/character/attack/base/attack_scene_base.gd +++ b/scene/character/attack/base/attack_scene_base.gd @@ -34,7 +34,7 @@ func use_attack_damage(): for i in %attack_area.get_overlapping_bodies(): print(i) if i is Unit and i!=player(): - i.attacked(player().unit_id,player().get_atk()) + i.attacked(player().get_unit_id(),player().get_atk()) #if animation.animation in [&"up_attack",&"down_attack",&"left_right_attack"] and not animation.is_playing(): #return true #else: diff --git a/scene/character/attack/ranged/attack_scene_ranged.gd b/scene/character/attack/ranged/attack_scene_ranged.gd index 7ca929b..d664515 100644 --- a/scene/character/attack/ranged/attack_scene_ranged.gd +++ b/scene/character/attack/ranged/attack_scene_ranged.gd @@ -33,7 +33,7 @@ func use_attack_damage(): var new_bullet=ATTACK_RANGE_BULLET.instantiate() new_bullet.global_position=player().global_position new_bullet.global_rotation=global_rotation - new_bullet.unit_id=player().unit_id + new_bullet.unit_id=player().get_unit_id() new_bullet.atk=player().get_atk() player().get_parent().add_child(new_bullet) diff --git a/scene/character/dead_scene_sprite/dead_scene.gd b/scene/character/dead_scene_sprite/dead_scene.gd index 0629325..235dd14 100644 --- a/scene/character/dead_scene_sprite/dead_scene.gd +++ b/scene/character/dead_scene_sprite/dead_scene.gd @@ -10,6 +10,7 @@ func _ready() -> void: func _on_animation_finished() -> void: animation_player.play("modulutehide") + queue_free() pass # Replace with function body. diff --git a/scene/class/door.gd b/scene/class/door.gd new file mode 100644 index 0000000..61510e1 --- /dev/null +++ b/scene/class/door.gd @@ -0,0 +1 @@ +extends Node diff --git a/scene/class/map.gd b/scene/class/map.gd new file mode 100644 index 0000000..2d9b7f3 --- /dev/null +++ b/scene/class/map.gd @@ -0,0 +1,17 @@ +extends Node2D +class_name map +@export var map_id:String="" + +var pre_character_data:Array=[] +func _ready() -> void: + Global.now_map_id=map_id + for i in get_children(): + if i is UnitMark2D: + var new_dic={ + "unit_id":i.unit_id, + "type":i.unit_type, + "unit_data_from_id":i.unit_data_from_id, + "position":i.global_position + } + pre_character_data.append(new_dic) + i.queue_free() diff --git a/scene/class/unit_mark_2d.gd b/scene/class/unit_mark_2d.gd new file mode 100644 index 0000000..5a0a7ba --- /dev/null +++ b/scene/class/unit_mark_2d.gd @@ -0,0 +1,7 @@ +extends Marker2D +class_name UnitMark2D +@export var unit_id:String="" + +@export var unit_type:String="" + +@export var unit_data_from_id:String="" diff --git a/scene/map/map_test_0.gd b/scene/map/map_test_0.gd new file mode 100644 index 0000000..63caf96 --- /dev/null +++ b/scene/map/map_test_0.gd @@ -0,0 +1 @@ +extends map diff --git a/scene/map/map_test_0.tscn b/scene/map/map_test_0.tscn new file mode 100644 index 0000000..d7a3dbe --- /dev/null +++ b/scene/map/map_test_0.tscn @@ -0,0 +1,51 @@ +[gd_scene load_steps=7 format=4 uid="uid://bt05onvfl6ael"] + +[ext_resource type="Script" path="res://scene/map/map_test_0.gd" id="1_mkv6t"] +[ext_resource type="Texture2D" uid="uid://dxtu12mw7fsq8" path="res://res/image/test/tile.png" id="2_k3cp7"] +[ext_resource type="PackedScene" uid="uid://b6jyxox72yxjc" path="res://scene/mark/character_marker_2d.tscn" id="3_v1al5"] + +[sub_resource type="NavigationPolygon" id="NavigationPolygon_tjudi"] +vertices = PackedVector2Array(32, 32, -32, 32, -32, -32, 32, -32) +polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)]) +outlines = Array[PackedVector2Array]([PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32)]) +agent_radius = 0.0 + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_j4j8n"] +texture = ExtResource("2_k3cp7") +texture_region_size = Vector2i(64, 64) +0:0/0 = 0 +0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_tjudi") +0:1/0 = 0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32) + +[sub_resource type="TileSet" id="TileSet_0njwo"] +tile_size = Vector2i(64, 64) +physics_layer_0/collision_layer = 1 +navigation_layer_0/layers = 1 +sources/0 = SubResource("TileSetAtlasSource_j4j8n") + +[node name="map_test_0" type="Node2D"] +script = ExtResource("1_mkv6t") + +[node name="navigation" type="TileMapLayer" parent="."] +unique_name_in_owner = true +tile_map_data = PackedByteArray("AAD0//r/AAAAAAAAAAD0//v/AAAAAAEAAAD0//z/AAAAAAEAAAD0//3/AAAAAAAAAAD0//7/AAAAAAAAAAD0////AAAAAAAAAAD0/wAAAAAAAAAAAAD0/wEAAAAAAAAAAAD0/wIAAAAAAAAAAAD0/wMAAAAAAAEAAAD0/wQAAAAAAAEA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AD//wIAAAAAAAAAAAD//wMAAAAAAAAAAAD//wQAAAAAAAEAAAAAAAQAAAAAAAAAAAABAAQAAAAAAAAAAAABAAMAAAAAAAAAAAACAAIAAAAAAAAAAADu//f/AAAAAAAAAADu//j/AAAAAAAAAADu//n/AAAAAAAAAADu//r/AAAAAAAAAADu//v/AAAAAAAAAADu//z/AAAAAAAAAADu//3/AAAAAAAAAADu//7/AAAAAAAAAADu////AAAAAAAAAADu/wAAAAAAAAAAAADu/wEAAAAAAAAAAADu/wIAAAAAAAAAAADu/wMAAAAAAAAAAADu/wQAAAAAAAAAAADu/wUAAAAAAAAAAADu/wYAAAAAAAAAAADu/wcAAAAAAAAAAADu/wgAAAAAAAAAAADu/wkAAAAAAAAAAADu/woAAAAAAAAAAADu/wsAAAAAAAAAAADv//f/AAAAAAAAAADv//j/AAAAAAAAAADv//n/AAAAAAAAAADv//r/AAAAAAAAAADv//v/AAAAAAAAAADv//z/AAAAAAAAAADv//3/AAAAAAAAAADv//7/AAAAAAAAAADv////AAAAAAAAAADv/wAAAAAAAAAAAADv/wEAAAAAAAAAAADv/wIAAAAAAAAAAADv/wMAAAAAAAAAAADv/wQAAAAAAAAAAADv/wUAAAAAAAAAAADv/wYAAAAAAAAAAADv/wcAAAAAAAAAAADv/wgAAAAAAAAAAADv/wkAAAAAAAAAAADv/woAAAAAAAAAAADv/wsAAAAAAAAAAADw//f/AAAAAAAAAADw//j/AAAAAAAAAADw//n/AAAAAAAAAADw//r/AAAAAAAAAADw//v/AAAAAAAAAADw//z/AAAAAAAAAADw//3/AAAAAAAAAADw//7/AAAAAAAAAADw////AAAAAAAAAADw/wAAAAAAAAAAAADw/wEAAAAAAAAAAADw/wIAAAAAAAAAAADw/wMAAAAAAAAAAADw/wQAAAAAAAAAAADw/wUAAAAAAAAAAADw/wYAAAAAAAAAAADw/wcAAAAAAAAAAADw/wgAAAAAAAAAAADw/wkAAAAAAAAAAADw/woAAAAAAAAAAADw/wsAAAAAAAAAAADx//f/AAAA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AAAAUAAYAAAAAAAAAAAAUAAcAAAAAAAAAAAAUAAgAAAAAAAAAAAAUAAkAAAAAAAAAAAAUAAoAAAAAAAAAAAAUAAsAAAAAAAAAAAAVAPf/AAAAAAAAAAAVAPj/AAAAAAAAAAAVAPn/AAAAAAAAAAAVAPr/AAAAAAAAAAAVAPv/AAAAAAAAAAAVAPz/AAAAAAAAAAAVAP3/AAAAAAAAAAAVAP7/AAAAAAAAAAAVAP//AAAAAAAAAAAVAAAAAAAAAAAAAAAVAAEAAAAAAAAAAAAVAAIAAAAAAAAAAAAVAAMAAAAAAAAAAAAVAAQAAAAAAAAAAAAVAAUAAAAAAAAAAAAVAAYAAAAAAAAAAAAVAAcAAAAAAAAAAAAVAAgAAAAAAAAAAAAVAAkAAAAAAAAAAAAVAAoAAAAAAAAAAAAVAAsAAAAAAAAAAAA=") +tile_set = SubResource("TileSet_0njwo") + +[node name="back" type="TileMapLayer" parent="."] + +[node name="build" type="TileMapLayer" parent="."] + +[node name="Marker2D" parent="." instance=ExtResource("3_v1al5")] +unit_id = "test1" +unit_data_from_id = "test_character_base" + +[node name="Marker2D2" parent="." instance=ExtResource("3_v1al5")] +position = Vector2(842, 32) +unit_id = "test2" +unit_data_from_id = "test_character_base" + +[node name="Marker2D3" parent="." instance=ExtResource("3_v1al5")] +position = Vector2(359, -417) +unit_id = "test3" +unit_data_from_id = "test_character_base" diff --git a/scene/map/map_test_1.tscn b/scene/map/map_test_1.tscn new file mode 100644 index 0000000..85f9c21 --- /dev/null +++ b/scene/map/map_test_1.tscn @@ -0,0 +1,46 @@ +[gd_scene load_steps=7 format=4 uid="uid://cgbmwgp5kxn43"] + +[ext_resource type="Script" path="res://scene/map/map_test_0.gd" id="1_476af"] +[ext_resource type="Texture2D" uid="uid://dxtu12mw7fsq8" path="res://res/image/test/tile.png" id="2_3qa44"] +[ext_resource type="PackedScene" uid="uid://b6jyxox72yxjc" path="res://scene/mark/character_marker_2d.tscn" id="3_yk4q8"] + +[sub_resource type="NavigationPolygon" id="NavigationPolygon_tjudi"] +vertices = PackedVector2Array(32, 32, -32, 32, -32, -32, 32, -32) +polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)]) +outlines = Array[PackedVector2Array]([PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32)]) +agent_radius = 0.0 + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_j4j8n"] +texture = ExtResource("2_3qa44") +texture_region_size = Vector2i(64, 64) +0:0/0 = 0 +0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_tjudi") +0:1/0 = 0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32) + +[sub_resource type="TileSet" id="TileSet_0njwo"] +tile_size = Vector2i(64, 64) +physics_layer_0/collision_layer = 1 +navigation_layer_0/layers = 1 +sources/0 = SubResource("TileSetAtlasSource_j4j8n") + +[node name="map_test_1" type="Node2D"] +script = ExtResource("1_476af") + +[node name="navigation" type="TileMapLayer" parent="."] +unique_name_in_owner = true +tile_map_data = PackedByteArray("AAD0//r/AAAAAAAAAAD0//v/AAAAAAEAAAD0//z/AAAAAAEAAAD0//3/AAAAAAAAAAD0//7/AAAAAAAAAAD0////AAAAAAAAAAD0/wAAAAAAAAAAAAD0/wEAAAAAAAAAAAD0/wIAAAAAAAAAAAD0/wMAAAAAAAEAAAD0/wQAAAAAAAEAAAD0/wUAAAAAAAAAAAD1/wYAAAAAAAEAAAD2/wYAAAAAAAEAAAD3/wcAAAAAAAAAAAD4/wcAAAAAAAEAAAD5/wcAAAAAAAAAAAD6/wgAAAAAAAEAAAD7/wgAAAAAAAAAAAD8/wgAAAAAAAAAAAD9/wgAAAAAAAAAAAD+/wgAAAAAAAAAAAD+/wkAAAAAAAEAAAD//wkAAAAAAAAAAAAAAAkAAAAAAAAAAAABAAkAAAAAAAAAAAACAAkAAAAAAAAAAAADAAkAAAAAAAAAAAAEAAkAAAAAAAAAAAAFAAkAAAAAAAEAA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AAAAADu/wUAAAAAAAAAAADu/wYAAAAAAAAAAADu/wcAAAAAAAAAAADu/wgAAAAAAAAAAADu/wkAAAAAAAAAAADu/woAAAAAAAAAAADu/wsAAAAAAAAAAADv//f/AAAAAAAAAADv//j/AAAAAAAAAADv//n/AAAAAAAAAADv//r/AAAAAAAAAADv//v/AAAAAAAAAADv//z/AAAAAAAAAADv//3/AAAAAAAAAADv//7/AAAAAAAAAADv////AAAAAAAAAADv/wAAAAAAAAAAAADv/wEAAAAAAAAAAADv/wIAAAAAAAAAAADv/wMAAAAAAAAAAADv/wQAAAAAAAAAAADv/wUAAAAAAAAAAADv/wYAAAAAAAAAAADv/wcAAAAAAAAAAADv/wgAAAAAAAAAAADv/wkAAAAAAAAAAADv/woAAAAAAAAAAADv/wsAAAAAAAAAAADw//f/AAAAAAAAAADw//j/AAAAAAAAAADw//n/AAAAAAAAAADw//r/AAAAAAAAAADw//v/AAAAAAAAAADw//z/AAAAAAAAAADw//3/AAAAAAAAAADw//7/AAAAAAAAAADw////AAAAAAAAAADw/wAAAAAAAAAAAADw/wEAAAAAAAAAAADw/wIAAAAAAAAAAADw/wMAAAAAAAAAAADw/wQAAAAAAAAAAADw/wUAAAAAAAAAAADw/wYAAAAAAAAAAADw/wcAAAAAAAAAAADw/wgAAAAAAAAAAADw/wkAAAAAAAAAAADw/woAAAAAAAAAAADw/wsAAAAAAAAAAADx//f/AAAAAAAAAADx//j/AAAAAAAAAADx//n/AAAAAAAAAADx//r/AAAAAAAAAADx//v/AAAAAAAAAADx//z/AAAAAAAAAADx//3/AAAAAAAAAADx//7/AAAAAAAAAADx////AAAAAAAAAADx/wAAAAAAAAAAAADx/wEAAAAAAAAAAADx/wIAAAAAAAAAAADx/wMAAAAAAAAAAADx/wQAAAAAAAAAAADx/wUAAAAAAAAAAADx/wYAAAAAAAAAAADx/wcAAAAAAAAAAADx/wgAAAAAAAAAAADx/wkAAAAAAAAAAADx/woAAAAAAAAAAADx/wsAAAAAAAAAAADy//f/AA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AAAAAAVAAQAAAAAAAAAAAAVAAUAAAAAAAAAAAAVAAYAAAAAAAAAAAAVAAcAAAAAAAAAAAAVAAgAAAAAAAAAAAAVAAkAAAAAAAAAAAAVAAoAAAAAAAAAAAAVAAsAAAAAAAAAAAA=") +tile_set = SubResource("TileSet_0njwo") + +[node name="back" type="TileMapLayer" parent="."] + +[node name="build" type="TileMapLayer" parent="."] + +[node name="Marker2D" parent="." instance=ExtResource("3_yk4q8")] +unit_id = "test1" +unit_data_from_id = "test_character_base" + +[node name="Marker2D2" parent="." instance=ExtResource("3_yk4q8")] +position = Vector2(842, 32) +unit_id = "test2" +unit_data_from_id = "test_character_base" diff --git a/scene/mark/character_marker_2d.gd b/scene/mark/character_marker_2d.gd new file mode 100644 index 0000000..7f3963c --- /dev/null +++ b/scene/mark/character_marker_2d.gd @@ -0,0 +1,5 @@ +@tool +extends UnitMark2D + +func _process(delta: float) -> void: + %name.text=unit_data_from_id diff --git a/scene/mark/character_marker_2d.tscn b/scene/mark/character_marker_2d.tscn new file mode 100644 index 0000000..70fc315 --- /dev/null +++ b/scene/mark/character_marker_2d.tscn @@ -0,0 +1,27 @@ +[gd_scene load_steps=4 format=3 uid="uid://b6jyxox72yxjc"] + +[ext_resource type="Script" path="res://scene/mark/character_marker_2d.gd" id="1_6325c"] +[ext_resource type="SpriteFrames" uid="uid://jbsg1umeffu1" path="res://res/animation/other_character_default.tres" id="1_rpr3q"] + +[sub_resource type="LabelSettings" id="LabelSettings_dhyhy"] +outline_size = 6 +outline_color = Color(0, 0, 0, 1) + +[node name="Marker2D" type="Marker2D"] +script = ExtResource("1_6325c") +unit_id = "测试2" +unit_type = "default" + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +position = Vector2(-2, -88) +scale = Vector2(5, 5) +sprite_frames = ExtResource("1_rpr3q") +animation = &"dead" + +[node name="name" type="Label" parent="."] +unique_name_in_owner = true +offset_left = -53.0 +offset_top = -39.0 +offset_right = 54.0 +offset_bottom = -16.0 +label_settings = SubResource("LabelSettings_dhyhy") diff --git a/scene/test/character.gd b/scene/test/character.gd index f0b93f6..b4c6bd1 100644 --- a/scene/test/character.gd +++ b/scene/test/character.gd @@ -13,27 +13,7 @@ var action_emoji:Dictionary={ "好吃":"😋" } @export var unit_data:Dictionary={ - "unit_id":"default", - "unit_type":"default", - #动画资源 - "sprite_frames":"res://res/animation/other_character_default.tres", - #动画偏移 - "sprite_offset":Vector2(0,-80), - #动画缩放 - "sprite_scale":Vector2(5,5), - #基础属性 - "hp_base":100, - "atk_base":10, - "speed_base":1, - - #攻击方式 - "attack_type":"base", - - #下面是临时生成的动态数据 - - #状态值 - #饥饿,疲劳,怒气,紧张,恐慌,压力 } #允许的状态队列 var state_value_array:Array=["hungry","fatigue","rage","tensity","panic","pressure","hp_max","hp","atk"] @@ -80,10 +60,14 @@ func set_atk(value): + ##单位的独特ID @export var unit_id:String="default" ##单位所属族群 @export var unit_type:String="default" + + +@export var unit_data_from_id:String="default" ##每秒触发的timer,用于计算饥饿值积累等 var second_timer:Timer @export var animation:AnimatedSprite2D @@ -108,7 +92,7 @@ var attack_scene:AttackModel #使用数据进行初始化角色 func init_from_data(): - Global.set_unit_instance(unit_id,self) + Global.set_unit_instance(get_unit_id(),self) agent.max_speed=unit_speed agent.velocity_computed.connect(safe_speed) second_timer=Timer.new() @@ -126,13 +110,19 @@ func init_from_data(): new_sprite_animation.position=Vector2(unit_data["sprite_offset"][0],unit_data["sprite_offset"][1]) new_sprite_animation.scale=Vector2(unit_data["sprite_scale"][0],unit_data["sprite_scale"][1]) animation=new_sprite_animation + #攻击模式场景 if unit_data.has("attack_scene"): if %rotate!=null: var new_attack_scene=load(unit_data["attack_scene"]).instantiate() %rotate.add_child(new_attack_scene) attack_scene=new_attack_scene + Global.unit_instance_dic[get_unit_id()]=self - +#改变攻击模式 +func change_attack(): + + + pass #var hungry:float=0: #set(val): @@ -140,7 +130,6 @@ func init_from_data(): #if %hungry!=null: #%hungry.text="饥饿值:"+str(val) func _ready() -> void: - unit_data=Database.get_unit_data("test_character_ranged") init_from_data() pass func set_target_pos(target:Vector2): @@ -213,12 +202,12 @@ func accuse(unit_id:String): show_action("指责") var instance=Global.get_unit_instance(unit_id) if instance is UnitOther: - instance.accused(self.unit_id) + instance.accused(self.get_unit_id()) pass #被指责,调用 func accused(by_unit_id:String): show_action("被指责") - Global.set_unit_favour(unit_id,by_unit_id,Global.get_unit_favour(unit_id,by_unit_id)-10) + Global.set_unit_favour(get_unit_id(),by_unit_id,Global.get_unit_favour(get_unit_id(),by_unit_id)-10) pass @export var attack_frames:int=2 @@ -271,7 +260,7 @@ func attack_reset(): attack_scene.attack_reset() func attacked(by_unit_id:String,damage:float): show_action("受伤") - Global.set_unit_favour(unit_id,by_unit_id,Global.get_unit_favour(unit_id,by_unit_id)-20) + Global.set_unit_favour(get_unit_id(),by_unit_id,Global.get_unit_favour(get_unit_id(),by_unit_id)-20) set_state_value("hp",get_state_value("hp")-damage) pass @@ -321,7 +310,8 @@ func get_dir()->int: func second_timer_time_out(): set_hungry(clamp(get_hungry()+1,0,100)) - + unit_data["position"]=[self.global_position.x,self.global_position.y] + unit_data["map"]=Global.now_map_id pass func eat(food:Food): print("吃") @@ -337,6 +327,6 @@ func dead(): new_dead_scene.global_position=animation.global_position new_dead_scene.scale=animation.scale get_parent().add_child(new_dead_scene) - Global.delete_unit_instance(unit_id) + Global.delete_unit_instance(get_unit_id()) queue_free() pass diff --git a/scene/test/character.tscn b/scene/test/character.tscn index 3808bbc..5c43150 100644 --- a/scene/test/character.tscn +++ b/scene/test/character.tscn @@ -79,6 +79,7 @@ position_smoothing_enabled = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_740ny") +disabled = true [node name="state_machine" type="Node" parent="."] script = ExtResource("2_v5m4x") diff --git a/scene/test/condition_attack.gd b/scene/test/condition_attack.gd index 8de9f5b..cbfc2a0 100644 --- a/scene/test/condition_attack.gd +++ b/scene/test/condition_attack.gd @@ -4,10 +4,10 @@ func tick(actor:Node,black_board:Blackboard): var all_bodys=unit.sense_area.get_overlapping_bodies() for i in all_bodys: if i is Unit and i !=unit: - var favour=Global.get_unit_favour(unit.unit_id,i.unit_id) + var favour=Global.get_unit_favour(unit.get_unit_id(),i.get_unit_id()) var res=get_res(favour,unit.get_hungry()) if res: - black_board.set_value("target_unit_id",i.unit_id) + black_board.set_value("target_unit_id",i.get_unit_id()) return SUCCESS return FAILURE pass diff --git a/scene/test/other_character.gd b/scene/test/other_character.gd index 2c893b3..4f5df56 100644 --- a/scene/test/other_character.gd +++ b/scene/test/other_character.gd @@ -7,7 +7,7 @@ class_name UnitOther func _on_sense_area_body_entered(body: Node2D) -> void: if body is Unit: #自动初始化好感度 - Global.get_unit_favour(unit_id,body.unit_id) + Global.get_unit_favour(get_unit_id(),body.get_unit_id()) pass # Replace with function body. func _ready() -> void: diff --git a/scene/test/other_character.tscn b/scene/test/other_character.tscn index aa9071c..e0680c7 100644 --- a/scene/test/other_character.tscn +++ b/scene/test/other_character.tscn @@ -138,7 +138,7 @@ texture_under = SubResource("GradientTexture1D_ioncu") texture_progress = SubResource("GradientTexture1D_6t72h") [node name="BeehaveTree" parent="." node_paths=PackedStringArray("blackboard", "actor") instance=ExtResource("3_5u10o")] -blackboard = NodePath("@Node@34592") +blackboard = NodePath("@Node@223301") actor = NodePath("..") [connection signal="state_value_changed" from="." to="." method="_on_state_value_changed"] diff --git a/scene/test/self_character.gd b/scene/test/self_character.gd index 90b8516..41ac956 100644 --- a/scene/test/self_character.gd +++ b/scene/test/self_character.gd @@ -1,7 +1,7 @@ extends Unit func _ready() -> void: - + unit_data=Database.get_unit_data(unit_data_from_id,unit_id) super._ready() state_machine.launch() diff --git a/scene/test/test_main.gd b/scene/test/test_main.gd index ba614d8..4490248 100644 --- a/scene/test/test_main.gd +++ b/scene/test/test_main.gd @@ -4,7 +4,7 @@ extends Node2D func _physics_process(delta: float) -> void: %mouse_finder.position=get_global_mouse_position() - +var now_map:map func _on_control_gui_input(event: InputEvent) -> void: if event.is_action_pressed("mouse_right"): if player: @@ -12,6 +12,16 @@ func _on_control_gui_input(event: InputEvent) -> void: if event.is_action_pressed("mouse_left"): + if %put_check.button_pressed: + var id=%LineEdit.text + var type=selected_item + var data=Database.get_unit_data(type,id) + var new_cb=load("res://scene/test/other_character.tscn").instantiate() + new_cb.unit_data=Database.get_unit_data(type,id) + new_cb.global_position=get_global_mouse_position() + %CB_add_pos.add_child(new_cb) + new_cb.second_timer_time_out() + return var arr=%mouse_finder.get_overlapping_bodies() print(arr) if arr.size()==0: @@ -38,3 +48,72 @@ func get_closest_node(self_node:Node2D,array:Array,target_class): length=l node=array[i] return node + +func _ready() -> void: + var all_types=Database.get_all_unit_type() + if all_types.size()>0: + selected_item=all_types[0] + %type.get_popup().clear() + for i in all_types: + %type.get_popup().add_item(i) + + %type.get_popup().index_pressed.connect(pop_up_selected) + change_map("map_0") +var selected_item:String: + set(val): + selected_item=val + %type.text=val +func pop_up_selected(index:int): + selected_item=%type.get_popup().get_item_text(index) + + +func _on_cacul_num_number_timeout() -> void: + %num.text="场上单位数量:"+str(Global.unit_instance_dic.keys().size()) + pass # Replace with function body. + +func change_map(map_id:String): + if now_map!=null: + now_map.queue_free() + for i in %CB_add_pos.get_children(): + if i is UnitOther: + Global.delete_unit_instance(i.get_unit_id()) + Global.add_unit_id_save_map(i.unit_data) + + i.queue_free() + + var new_map_tscn=Database.get_map_data(map_id) + if new_map_tscn==null: + return + var new_map=load(new_map_tscn).instantiate() as map + new_map.map_id=map_id + add_child(new_map) + new_map.z_index-=1 + now_map=new_map + if not Global.is_map_initlized(map_id): + var characte_arr=new_map.pre_character_data + for i in characte_arr: + var new_unit=preload("res://scene/test/other_character.tscn").instantiate() + new_unit.unit_data=Database.get_unit_data(i["unit_data_from_id"],i["unit_id"]) + new_unit.unit_data["type"]=i["type"] + new_unit.global_position=i["position"] + %CB_add_pos.add_child(new_unit) + new_unit.second_timer_time_out() + else: + var map_character_data=Global.get_map_data(map_id) + for i in map_character_data.values(): + var new_unit=preload("res://scene/test/other_character.tscn").instantiate() + new_unit.unit_data=i + new_unit.global_position=Vector2(i["position"][0],i["position"][1]) + %CB_add_pos.add_child(new_unit) + pass + pass + + +func _on_change_scene_0_pressed() -> void: + change_map("map_0") + pass # Replace with function body. + + +func _on_change_scene_1_pressed() -> void: + change_map("map_1") + pass # Replace with function body. diff --git a/scene/test/test_main.tscn b/scene/test/test_main.tscn index 592607b..fd7f56b 100644 --- a/scene/test/test_main.tscn +++ b/scene/test/test_main.tscn @@ -1,30 +1,7 @@ -[gd_scene load_steps=10 format=4 uid="uid://1wl1fl3qtxc"] +[gd_scene load_steps=4 format=3 uid="uid://1wl1fl3qtxc"] [ext_resource type="Script" path="res://scene/test/test_main.gd" id="1_aimp4"] -[ext_resource type="Texture2D" uid="uid://dxtu12mw7fsq8" path="res://res/image/test/tile.png" id="1_jp0cd"] [ext_resource type="PackedScene" uid="uid://cf2g2urxaukxb" path="res://scene/test/character.tscn" id="2_nvm7o"] -[ext_resource type="PackedScene" uid="uid://b4mawovxv402a" path="res://scene/test/food.tscn" id="3_fgsvv"] -[ext_resource type="PackedScene" uid="uid://dl1axae8yeeeh" path="res://scene/test/other_character.tscn" id="4_eyxcn"] - -[sub_resource type="NavigationPolygon" id="NavigationPolygon_tjudi"] -vertices = PackedVector2Array(32, 32, -32, 32, -32, -32, 32, -32) -polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)]) -outlines = Array[PackedVector2Array]([PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32)]) -agent_radius = 0.0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_pe5ig"] -texture = ExtResource("1_jp0cd") -texture_region_size = Vector2i(64, 64) -0:0/0 = 0 -0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_tjudi") -0:1/0 = 0 -0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32) - -[sub_resource type="TileSet" id="TileSet_jmwcd"] -tile_size = Vector2i(64, 64) -physics_layer_0/collision_layer = 1 -navigation_layer_0/layers = 1 -sources/0 = SubResource("TileSetAtlasSource_pe5ig") [sub_resource type="CircleShape2D" id="CircleShape2D_shajf"] radius = 38.71 @@ -33,18 +10,10 @@ radius = 38.71 script = ExtResource("1_aimp4") player = NodePath("CB_add_pos/CharacterBody2D") -[node name="Node2D" type="Node2D" parent="."] - -[node name="navigation" type="TileMapLayer" parent="Node2D"] -unique_name_in_owner = true -tile_map_data = PackedByteArray("AAD0//r/AAAAAAAAAAD0//v/AAAAAAEAAAD0//z/AAAAAAEAAAD0//3/AAAAAAAAAAD0//7/AAAAAAAAAAD0////AAAAAAAAAAD0/wAAAAAAAAAAAAD0/wEAAAAAAAAAAAD0/wIAAAAAAAAAAAD0/wMAAAAAAAEAAAD0/wQAAAAAAAEAAAD0/wUAAAAAAAAAAAD1/wYAAAAAAAEAAAD2/wYAAAAAAAEAAAD3/wcAAAAAAAAAAAD4/wcAAAAAAAEAAAD5/wcAAAAAAAAAAAD6/wgAAAAAAAEAAAD7/wgAAAAAAAAAAAD8/wgAAAAAAAAAAAD9/wgAAAAAAAAAAAD+/wgAAAAAAAAAAAD+/wkAAAAAAAEAAAD//wkAAAAAAAAAAAAAAAkAAAAAAAAAAAABAAkAAAAAAAAAAAACAAkAAAAAAAAAAAADAAkAAAAAAAAAAAAEAAkAAAAAAAAAAAAFAAkAAAAAAAEAAAAGAAkAAAAAAAEAAAAHAAkAAAAAAAAAAAAIAAkAAAAAAAAAAAAJAAkAAAAAAAAAAAAKAAkAAAAAAAAAAAALAAkAAAAAAAAAAAAMAAkAAAAAAAAAAAAMAAgAAAAAAAAAAAANAAgAAAAAAAAAAAANAAcAAAAAAAAAAAANAAYAAAAAAAAAAAANAAUAAAAAAAAAAAANAAQAAAAAAAAAAAANAAMAAAAAAAAAAAAMAAMAAAAAAAAAAAAMAAIAAAAAAAAAAAAMAAEAAAAAAAAAAAAMAAAAAA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AAAADv/wMAAAAAAAAAAADv/wQAAAAAAAAAAADv/wUAAAAAAAAAAADv/wYAAAAAAAAAAADv/wcAAAAAAAAAAADv/wgAAAAAAAAAAADv/wkAAAAAAAAAAADv/woAAAAAAAAAAADv/wsAAAAAAAAAAADw//f/AAAAAAAAAADw//j/AAAAAAAAAADw//n/AAAAAAAAAADw//r/AAAAAAAAAADw//v/AAAAAAAAAADw//z/AAAAAAAAAADw//3/AAAAAAAAAADw//7/AAAAAAAAAADw////AAAAAAAAAADw/wAAAAAAAAAAAADw/wEAAAAAAAAAAADw/wIAAAAAAAAAAADw/wMAAAAAAAAAAADw/wQAAAAAAAAAAADw/wUAAAAAAAAAAADw/wYAAAAAAAAAAADw/wcAAAAAAAAAAADw/wgAAAAAAAAAAADw/wkAAAAAAAAAAADw/woAAAAAAAAAAADw/wsAAAAAAAAAAADx//f/AAAAAAAAAADx//j/AAAAAAAAAADx//n/AAAAAAAAAADx//r/AAAAAAAAAADx//v/AAAAAAAAAADx//z/AAAAAAAAAADx//3/AAAAAAAAAADx//7/AAAAAAAAAADx////AAAAAAAAAADx/wAAAAAAAAAAAADx/wEAAAAAAAAAAADx/wIAAAAAAAAAAADx/wMAAAAAAAAAAADx/wQAAAAAAAAAAADx/wUAAAAAAAAAAADx/wYAAAAAAAAAAADx/wcAAAAAAAAAAADx/wgAAAAAAAAAAADx/wkAAAAAAAAAAADx/woAAAAAAAAAAADx/wsAAAAAAAAAAADy//f/AAAAAAAAAADy//j/AAAAAAAAAADy//n/AAAAAAAAAADy//r/AAAAAAAAAADy//v/AAAAAAEAAADy//z/AAAAAAEAAADy//3/AAAAAAEAAADy//7/AAAAAAEAAADy////AAAAAAEAAADy/wAAAAAAAAEAAADy/wEAAAAAAAAAAADy/wIAAAAAAAAAAADy/wMAAAAAAAAAAADy/wQAAAAAAAAAAADy/wUAAAAAAAAAAADy/wYAAAAAAAAAAADy/wcAAAAAAAAAAADy/wgAAAAAAAAAAADy/wkAAAAAAAAAAADy/woAAA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EAAAATAP7/AAAAAAEAAAATAP//AAAAAAAAAAATAAAAAAAAAAAAAAATAAEAAAAAAAAAAAATAAIAAAAAAAAAAAATAAMAAAAAAAAAAAATAAQAAAAAAAAAAAATAAUAAAAAAAAAAAATAAYAAAAAAAAAAAATAAcAAAAAAAAAAAATAAgAAAAAAAAAAAATAAkAAAAAAAAAAAATAAoAAAAAAAAAAAATAAsAAAAAAAAAAAAUAPf/AAAAAAAAAAAUAPj/AAAAAAAAAAAUAPn/AAAAAAAAAAAUAPr/AAAAAAAAAAAUAPv/AAAAAAAAAAAUAPz/AAAAAAAAAAAUAP3/AAAAAAAAAAAUAP7/AAAAAAAAAAAUAP//AAAAAAAAAAAUAAAAAAAAAAAAAAAUAAEAAAAAAAAAAAAUAAIAAAAAAAAAAAAUAAMAAAAAAAAAAAAUAAQAAAAAAAAAAAAUAAUAAAAAAAAAAAAUAAYAAAAAAAAAAAAUAAcAAAAAAAAAAAAUAAgAAAAAAAAAAAAUAAkAAAAAAAAAAAAUAAoAAAAAAAAAAAAUAAsAAAAAAAAAAAAVAPf/AAAAAAAAAAAVAPj/AAAAAAAAAAAVAPn/AAAAAAAAAAAVAPr/AAAAAAAAAAAVAPv/AAAAAAAAAAAVAPz/AAAAAAAAAAAVAP3/AAAAAAAAAAAVAP7/AAAAAAAAAAAVAP//AAAAAAAAAAAVAAAAAAAAAAAAAAAVAAEAAAAAAAAAAAAVAAIAAAAAAAAAAAAVAAMAAAAAAAAAAAAVAAQAAAAAAAAAAAAVAAUAAAAAAAAAAAAVAAYAAAAAAAAAAAAVAAcAAAAAAAAAAAAVAAgAAAAAAAAAAAAVAAkAAAAAAAAAAAAVAAoAAAAAAAAAAAAVAAsAAAAAAAAAAAA=") -tile_set = SubResource("TileSet_jmwcd") - -[node name="back" type="TileMapLayer" parent="Node2D"] - -[node name="build" type="TileMapLayer" parent="Node2D"] +[node name="map" type="Node2D" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = 2 [node name="Control" type="Control" parent="CanvasLayer"] layout_mode = 3 @@ -54,6 +23,45 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Control"] +layout_mode = 0 +offset_right = 272.0 +offset_bottom = 66.0 + +[node name="type" type="MenuButton" parent="CanvasLayer/Control/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +flat = false +item_count = 2 +popup/item_0/text = "test_character_base" +popup/item_1/text = "test_character_ranged" +popup/item_1/id = 1 + +[node name="put_check" type="CheckBox" parent="CanvasLayer/Control/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +text = "投放" + +[node name="LineEdit" type="LineEdit" parent="CanvasLayer/Control/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +placeholder_text = "id" + +[node name="num" type="Label" parent="CanvasLayer/Control/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 + +[node name="cacul_num_number" type="Timer" parent="CanvasLayer/Control/HBoxContainer"] +autostart = true + +[node name="change_scene_0" type="Button" parent="CanvasLayer/Control/HBoxContainer"] +layout_mode = 2 +text = "切换到场景0" + +[node name="change_scene_1" type="Button" parent="CanvasLayer/Control/HBoxContainer"] +layout_mode = 2 +text = "切换到场景1" + [node name="mouse_finder" type="Area2D" parent="."] unique_name_in_owner = true @@ -67,62 +75,9 @@ y_sort_enabled = true [node name="CharacterBody2D" parent="CB_add_pos" instance=ExtResource("2_nvm7o")] unit_id = "player" unit_type = "player" - -[node name="other_character" parent="CB_add_pos" instance=ExtResource("4_eyxcn")] -position = Vector2(1048, 119) -unit_id = "test_1_1" -unit_type = "test_1" - -[node name="other_character2" parent="CB_add_pos" instance=ExtResource("4_eyxcn")] -position = Vector2(-718, 66) -unit_id = "test_1_2" -unit_type = "test_1" - -[node name="food" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-917, -398) - -[node name="food2" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-986, -147) - -[node name="food3" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-491, -411) - -[node name="food4" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-66, -408) - -[node name="food5" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(343, -416) - -[node name="food6" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(433, 275) - -[node name="food7" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(161, 131) - -[node name="food8" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-176, 192) - -[node name="food9" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-580, 86) - -[node name="food10" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(-360, 343) - -[node name="food11" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(154, 522) - -[node name="food12" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(615, 638) - -[node name="food13" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(1091, 597) - -[node name="food14" parent="CB_add_pos" instance=ExtResource("3_fgsvv")] -position = Vector2(464, 0) - -[node name="other_character3" parent="CB_add_pos" instance=ExtResource("4_eyxcn")] -position = Vector2(-121, 423) -unit_id = "test_1_3" -unit_type = "test_1" +unit_data_from_id = "test_character_base" [connection signal="gui_input" from="CanvasLayer/Control" to="." method="_on_control_gui_input"] +[connection signal="timeout" from="CanvasLayer/Control/HBoxContainer/cacul_num_number" to="." method="_on_cacul_num_number_timeout"] +[connection signal="pressed" from="CanvasLayer/Control/HBoxContainer/change_scene_0" to="." method="_on_change_scene_0_pressed"] +[connection signal="pressed" from="CanvasLayer/Control/HBoxContainer/change_scene_1" to="." method="_on_change_scene_1_pressed"]