Update demo due to 4.4 changes
This commit is contained in:
parent
8788d8bf12
commit
7ca4c63191
|
@ -1,14 +1,14 @@
|
|||
[gd_scene load_steps=36 format=3 uid="uid://ooigbfhfy4wa"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dlo1ine6p5di4" path="res://demo/assets/agent_bobby.png" id="1_1u51b"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/agent_base.gd" id="1_n8vy2"]
|
||||
[ext_resource type="Script" uid="uid://68wbhtvlbkqm" path="res://demo/agents/scripts/agent_base.gd" id="1_n8vy2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj4oayt5ttvh8" path="res://demo/assets/fx.png" id="2_lv102"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwhhxj5557qrb" path="res://demo/assets/shadow.png" id="2_vr0jo"]
|
||||
[ext_resource type="Texture2D" uid="uid://2uyxh7sy8qny" path="res://demo/assets/weapon_ninja_star.png" id="4_1c5xq"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdusy0qqtw0th" path="res://demo/assets/smoke.png" id="4_mnb6v"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/health.gd" id="4_qwtrf"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hitbox.gd" id="5_taq6b"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hurtbox.gd" id="6_jnvxm"]
|
||||
[ext_resource type="Script" uid="uid://5byn62y1oa76" path="res://demo/agents/scripts/health.gd" id="4_qwtrf"]
|
||||
[ext_resource type="Script" uid="uid://dntc3c582m5w8" path="res://demo/agents/scripts/hitbox.gd" id="5_taq6b"]
|
||||
[ext_resource type="Script" uid="uid://dq5h6yydckjc1" path="res://demo/agents/scripts/hurtbox.gd" id="6_jnvxm"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2k81i"]
|
||||
size = Vector2(140, 40)
|
||||
|
@ -2334,6 +2334,7 @@ tracks/24/keys = {
|
|||
[sub_resource type="Animation" id="Animation_msfb2"]
|
||||
resource_name = "dodge"
|
||||
length = 0.4
|
||||
capture_included = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
|
@ -4374,22 +4375,22 @@ tracks/20/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ws2ti"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_nvm4d"),
|
||||
"attack_1": SubResource("Animation_8wj70"),
|
||||
"attack_2": SubResource("Animation_s1dey"),
|
||||
"attack_3": SubResource("Animation_g7a0r"),
|
||||
"charge": SubResource("Animation_jcwlt"),
|
||||
"charge_prepare": SubResource("Animation_sva81"),
|
||||
"dance": SubResource("Animation_5k1rd"),
|
||||
"death": SubResource("Animation_wei72"),
|
||||
"dodge": SubResource("Animation_msfb2"),
|
||||
"hurt": SubResource("Animation_gowr5"),
|
||||
"idle": SubResource("Animation_gnqgt"),
|
||||
"spit": SubResource("Animation_uow76"),
|
||||
"summon": SubResource("Animation_5mxvi"),
|
||||
"throw": SubResource("Animation_yn0t6"),
|
||||
"throw_prepare": SubResource("Animation_kb56n"),
|
||||
"walk": SubResource("Animation_fh06e")
|
||||
&"RESET": SubResource("Animation_nvm4d"),
|
||||
&"attack_1": SubResource("Animation_8wj70"),
|
||||
&"attack_2": SubResource("Animation_s1dey"),
|
||||
&"attack_3": SubResource("Animation_g7a0r"),
|
||||
&"charge": SubResource("Animation_jcwlt"),
|
||||
&"charge_prepare": SubResource("Animation_sva81"),
|
||||
&"dance": SubResource("Animation_5k1rd"),
|
||||
&"death": SubResource("Animation_wei72"),
|
||||
&"dodge": SubResource("Animation_msfb2"),
|
||||
&"hurt": SubResource("Animation_gowr5"),
|
||||
&"idle": SubResource("Animation_gnqgt"),
|
||||
&"spit": SubResource("Animation_uow76"),
|
||||
&"summon": SubResource("Animation_5mxvi"),
|
||||
&"throw": SubResource("Animation_yn0t6"),
|
||||
&"throw_prepare": SubResource("Animation_kb56n"),
|
||||
&"walk": SubResource("Animation_fh06e")
|
||||
}
|
||||
|
||||
[node name="AgentBase" type="CharacterBody2D"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://cw0jj6rj3e4dp
|
|
@ -1,9 +1,9 @@
|
|||
[gd_scene load_steps=18 format=3 uid="uid://wdauoepicegb"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/agents/fireball/fireball.gd" id="1_ituf4"]
|
||||
[ext_resource type="Script" uid="uid://cw0jj6rj3e4dp" path="res://demo/agents/fireball/fireball.gd" id="1_ituf4"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwhhxj5557qrb" path="res://demo/assets/shadow.png" id="2_6n8mx"]
|
||||
[ext_resource type="Texture2D" uid="uid://235liwnxn1n5" path="res://demo/assets/fireball.png" id="3_1an0e"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hitbox.gd" id="4_rjhgc"]
|
||||
[ext_resource type="Script" uid="uid://dntc3c582m5w8" path="res://demo/agents/scripts/hitbox.gd" id="4_rjhgc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdusy0qqtw0th" path="res://demo/assets/smoke.png" id="5_dcbp6"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_mukra"]
|
||||
|
@ -104,8 +104,8 @@ tracks/0/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cphpk"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_wr7y0"),
|
||||
"default": SubResource("Animation_ey8it")
|
||||
&"RESET": SubResource("Animation_wr7y0"),
|
||||
&"default": SubResource("Animation_ey8it")
|
||||
}
|
||||
|
||||
[node name="Fireball" type="Node2D"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://ea3wq7unbfaw
|
|
@ -1,9 +1,9 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://bj5n72nomeaci"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/agents/ninja_star/ninja_star.gd" id="1_pja57"]
|
||||
[ext_resource type="Script" uid="uid://ea3wq7unbfaw" path="res://demo/agents/ninja_star/ninja_star.gd" id="1_pja57"]
|
||||
[ext_resource type="Texture2D" uid="uid://2uyxh7sy8qny" path="res://demo/assets/weapon_ninja_star.png" id="1_ptof7"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwhhxj5557qrb" path="res://demo/assets/shadow.png" id="2_2rj5a"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hitbox.gd" id="2_iem02"]
|
||||
[ext_resource type="Script" uid="uid://dntc3c582m5w8" path="res://demo/agents/scripts/hitbox.gd" id="2_iem02"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdusy0qqtw0th" path="res://demo/assets/smoke.png" id="5_t37aw"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7uc1b"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://cgqdrwywolo6a
|
|
@ -1,11 +1,11 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://d07ag5dcje13i"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ooigbfhfy4wa" path="res://demo/agents/agent_base.tscn" id="1_mswd4"]
|
||||
[ext_resource type="Script" path="res://demo/agents/player/player.gd" id="2_24nyi"]
|
||||
[ext_resource type="Script" path="res://demo/agents/player/states/idle_state.gd" id="3_ekb12"]
|
||||
[ext_resource type="Script" path="res://demo/agents/player/states/move_state.gd" id="4_paikn"]
|
||||
[ext_resource type="Script" path="res://demo/agents/player/states/attack_state.gd" id="5_mpgu6"]
|
||||
[ext_resource type="Script" path="res://demo/agents/player/states/dodge_state.gd" id="6_7o4a6"]
|
||||
[ext_resource type="Script" uid="uid://cgqdrwywolo6a" path="res://demo/agents/player/player.gd" id="2_24nyi"]
|
||||
[ext_resource type="Script" uid="uid://cig7kaq6hm5nd" path="res://demo/agents/player/states/idle_state.gd" id="3_ekb12"]
|
||||
[ext_resource type="Script" uid="uid://bu4henvxerree" path="res://demo/agents/player/states/move_state.gd" id="4_paikn"]
|
||||
[ext_resource type="Script" uid="uid://csbtng53jffek" path="res://demo/agents/player/states/attack_state.gd" id="5_mpgu6"]
|
||||
[ext_resource type="Script" uid="uid://di111ridlwuy5" path="res://demo/agents/player/states/dodge_state.gd" id="6_7o4a6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8pofm"]
|
||||
size = Vector2(150, 50)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://csbtng53jffek
|
|
@ -0,0 +1 @@
|
|||
uid://di111ridlwuy5
|
|
@ -0,0 +1 @@
|
|||
uid://cig7kaq6hm5nd
|
|
@ -0,0 +1 @@
|
|||
uid://bu4henvxerree
|
|
@ -0,0 +1 @@
|
|||
uid://68wbhtvlbkqm
|
|
@ -0,0 +1 @@
|
|||
uid://5byn62y1oa76
|
|
@ -0,0 +1 @@
|
|||
uid://dntc3c582m5w8
|
|
@ -0,0 +1 @@
|
|||
uid://dq5h6yydckjc1
|
|
@ -0,0 +1 @@
|
|||
uid://df82exuqnfdb2
|
|
@ -0,0 +1 @@
|
|||
uid://bi5e8366xi5s5
|
|
@ -0,0 +1 @@
|
|||
uid://dbo0kq2cwb4qv
|
|
@ -0,0 +1 @@
|
|||
uid://ccr43pgd4488l
|
|
@ -0,0 +1 @@
|
|||
uid://b7v2utjmtge0x
|
|
@ -0,0 +1 @@
|
|||
uid://dbhd2dvt77sm4
|
|
@ -0,0 +1 @@
|
|||
uid://b8ljqe213ud7d
|
|
@ -0,0 +1 @@
|
|||
uid://dcjgktglb1slf
|
|
@ -0,0 +1 @@
|
|||
uid://ct71h72pech3b
|
|
@ -0,0 +1 @@
|
|||
uid://bicxffqmm7ek
|
|
@ -1,8 +1,8 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=21 format=3 uid="uid://bpdm5jnegi38"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_2jpsu"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/pursue.gd" id="2_h5db5"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="3_bpmfp"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_2jpsu"]
|
||||
[ext_resource type="Script" uid="uid://dcjgktglb1slf" path="res://demo/ai/tasks/pursue.gd" id="2_h5db5"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="3_bpmfp"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=28 format=3 uid="uid://ylife72ym5et"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_657p6"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_t3udh"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="3_u2ra5"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="4_xwjl7"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/move_forward.gd" id="5_ucvak"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_657p6"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_t3udh"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="3_u2ra5"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="4_xwjl7"]
|
||||
[ext_resource type="Script" uid="uid://b8ljqe213ud7d" path="res://demo/ai/tasks/move_forward.gd" id="5_ucvak"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_qd806"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=30 format=3 uid="uid://c2bxoo68ywb27"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_random_nearby_pos.gd" id="1_cdtqu"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="2_31fsn"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="3_y1r1a"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/pursue.gd" id="4_jlgat"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="5_o4ggh"]
|
||||
[ext_resource type="Script" uid="uid://bicxffqmm7ek" path="res://demo/ai/tasks/select_random_nearby_pos.gd" id="1_cdtqu"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="2_31fsn"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="3_y1r1a"]
|
||||
[ext_resource type="Script" uid="uid://dcjgktglb1slf" path="res://demo/ai/tasks/pursue.gd" id="4_jlgat"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="5_o4ggh"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=44 format=3 uid="uid://qqmjvbeibatn"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_2883n"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_cjso2"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/pursue.gd" id="2_lpckh"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="3_treio"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="4_57x51"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/in_range.gd" id="5_p5dih"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/back_away.gd" id="6_fkv0k"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_2883n"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_cjso2"]
|
||||
[ext_resource type="Script" uid="uid://dcjgktglb1slf" path="res://demo/ai/tasks/pursue.gd" id="2_lpckh"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="3_treio"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="4_57x51"]
|
||||
[ext_resource type="Script" uid="uid://b7v2utjmtge0x" path="res://demo/ai/tasks/in_range.gd" id="5_p5dih"]
|
||||
[ext_resource type="Script" uid="uid://bi5e8366xi5s5" path="res://demo/ai/tasks/back_away.gd" id="6_fkv0k"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=41 format=3 uid="uid://cqluon1y1hnn5"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_4xk1i"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/is_aligned_with_target.gd" id="2_a8qex"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="3_q4r2p"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="4_53hao"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="5_aexyq"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_4xk1i"]
|
||||
[ext_resource type="Script" uid="uid://dbhd2dvt77sm4" path="res://demo/ai/tasks/is_aligned_with_target.gd" id="2_a8qex"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="3_q4r2p"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="4_53hao"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="5_aexyq"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=39 format=3 uid="uid://cpncl1db8j12f"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_sf4l8"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_5nwkp"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="3_3tom2"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="4_hi228"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/move_forward.gd" id="5_au5yc"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_sf4l8"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_5nwkp"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="3_3tom2"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="4_hi228"]
|
||||
[ext_resource type="Script" uid="uid://b8ljqe213ud7d" path="res://demo/ai/tasks/move_forward.gd" id="5_au5yc"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=49 format=3 uid="uid://c2u6sljqkim0n"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_08fik"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_te3yo"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="3_svwk8"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="4_mvsyw"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/pursue.gd" id="5_r1ou0"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_08fik"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="2_te3yo"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="3_svwk8"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="4_mvsyw"]
|
||||
[ext_resource type="Script" uid="uid://dcjgktglb1slf" path="res://demo/ai/tasks/pursue.gd" id="5_r1ou0"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_46tbn"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=49 format=3 uid="uid://cpcnbi81jqge4"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_ce4la"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/in_range.gd" id="2_atyuj"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/face_target.gd" id="3_3mw7l"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/back_away.gd" id="4_6dr32"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_flanking_pos.gd" id="5_dho0d"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="6_0pfsl"]
|
||||
[ext_resource type="Script" uid="uid://ccr43pgd4488l" path="res://demo/ai/tasks/get_first_in_group.gd" id="1_ce4la"]
|
||||
[ext_resource type="Script" uid="uid://b7v2utjmtge0x" path="res://demo/ai/tasks/in_range.gd" id="2_atyuj"]
|
||||
[ext_resource type="Script" uid="uid://dbo0kq2cwb4qv" path="res://demo/ai/tasks/face_target.gd" id="3_3mw7l"]
|
||||
[ext_resource type="Script" uid="uid://bi5e8366xi5s5" path="res://demo/ai/tasks/back_away.gd" id="4_6dr32"]
|
||||
[ext_resource type="Script" uid="uid://ct71h72pech3b" path="res://demo/ai/tasks/select_flanking_pos.gd" id="5_dho0d"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="6_0pfsl"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_8ay3j"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="BehaviorTree" load_steps=35 format=3 uid="uid://cpxk7jnqpwwlc"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/select_random_nearby_pos.gd" id="1_sgn0p"]
|
||||
[ext_resource type="Script" path="res://demo/ai/tasks/arrive_pos.gd" id="2_pshl2"]
|
||||
[ext_resource type="Script" uid="uid://bicxffqmm7ek" path="res://demo/ai/tasks/select_random_nearby_pos.gd" id="1_sgn0p"]
|
||||
[ext_resource type="Script" uid="uid://df82exuqnfdb2" path="res://demo/ai/tasks/arrive_pos.gd" id="2_pshl2"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_58oq1"]
|
||||
var/speed/name = &"speed"
|
||||
|
|
|
@ -23,6 +23,7 @@ allow_system_fallback=true
|
|||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
|
|
|
@ -23,6 +23,7 @@ allow_system_fallback=true
|
|||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://mapy7metn1kt
|
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://c5fhe3tulhlco"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/props/dummy.gd" id="1_kqftw"]
|
||||
[ext_resource type="Script" uid="uid://mapy7metn1kt" path="res://demo/props/dummy.gd" id="1_kqftw"]
|
||||
[ext_resource type="Texture2D" uid="uid://cltutcxjx8jnl" path="res://demo/assets/dummy.png" id="1_vdhcl"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwhhxj5557qrb" path="res://demo/assets/shadow.png" id="2_535g7"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hurtbox.gd" id="4_pkfnd"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/health.gd" id="5_8qcls"]
|
||||
[ext_resource type="Script" uid="uid://dq5h6yydckjc1" path="res://demo/agents/scripts/hurtbox.gd" id="4_pkfnd"]
|
||||
[ext_resource type="Script" uid="uid://5byn62y1oa76" path="res://demo/agents/scripts/health.gd" id="5_8qcls"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_1o3gy"]
|
||||
length = 0.001
|
||||
|
@ -345,9 +345,9 @@ tracks/8/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_blnjx"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_1o3gy"),
|
||||
"hurt": SubResource("Animation_3r20x"),
|
||||
"idle": SubResource("Animation_sf5ej")
|
||||
&"RESET": SubResource("Animation_1o3gy"),
|
||||
&"hurt": SubResource("Animation_3r20x"),
|
||||
&"idle": SubResource("Animation_sf5ej")
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pknym"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://d3cmj6skb7k07
|
|
@ -1,11 +1,11 @@
|
|||
[gd_scene load_steps=12 format=3 uid="uid://bpd1wmw2f7bvg"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/props/gong.gd" id="1_77c1i"]
|
||||
[ext_resource type="Script" uid="uid://d3cmj6skb7k07" path="res://demo/props/gong.gd" id="1_77c1i"]
|
||||
[ext_resource type="Texture2D" uid="uid://i476iia1ua8q" path="res://demo/assets/env_gong.png" id="1_kbnv6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwhhxj5557qrb" path="res://demo/assets/shadow.png" id="1_vl1mv"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj4oayt5ttvh8" path="res://demo/assets/fx.png" id="2_dib3m"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/hurtbox.gd" id="5_xeb5y"]
|
||||
[ext_resource type="Script" path="res://demo/agents/scripts/health.gd" id="6_6a3q1"]
|
||||
[ext_resource type="Script" uid="uid://dq5h6yydckjc1" path="res://demo/agents/scripts/hurtbox.gd" id="5_xeb5y"]
|
||||
[ext_resource type="Script" uid="uid://5byn62y1oa76" path="res://demo/agents/scripts/health.gd" id="6_6a3q1"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_i5ovs"]
|
||||
length = 0.001
|
||||
|
@ -807,8 +807,8 @@ tracks/32/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_332s2"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_i5ovs"),
|
||||
"struck": SubResource("Animation_ie54r")
|
||||
&"RESET": SubResource("Animation_i5ovs"),
|
||||
&"struck": SubResource("Animation_ie54r")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_nixvt"]
|
||||
|
|
|
@ -2824,8 +2824,8 @@ tracks/116/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_an3cu"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_gwtgs"),
|
||||
"float": SubResource("Animation_75lmk")
|
||||
&"RESET": SubResource("Animation_gwtgs"),
|
||||
&"float": SubResource("Animation_75lmk")
|
||||
}
|
||||
|
||||
[node name="Arena" type="Node2D"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://cb8thyd7vi2nj
|
|
@ -0,0 +1 @@
|
|||
uid://c5p1i8ofpv7qn
|
|
@ -0,0 +1 @@
|
|||
uid://bwhv180m71qs4
|
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://clyhgbpfpmtw7"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/scenes/game.gd" id="1_qw71e"]
|
||||
[ext_resource type="Script" uid="uid://bwhv180m71qs4" path="res://demo/scenes/game.gd" id="1_qw71e"]
|
||||
[ext_resource type="Theme" uid="uid://boqtjf88xcpu4" path="res://demo/assets/ui.theme" id="2_r21q3"]
|
||||
[ext_resource type="Texture2D" uid="uid://tyu0ua1ju38l" path="res://demo/assets/logo.png" id="3_g0us4"]
|
||||
[ext_resource type="FontFile" uid="uid://d25vkmce7mhlt" path="res://demo/assets/fonts/knewave_regular.ttf" id="4_w0vii"]
|
||||
[ext_resource type="Script" path="res://demo/scenes/base/toggle_fullscreen.gd" id="5_m16ov"]
|
||||
[ext_resource type="Script" uid="uid://c5p1i8ofpv7qn" path="res://demo/scenes/base/toggle_fullscreen.gd" id="5_m16ov"]
|
||||
[ext_resource type="Texture2D" uid="uid://dlw15foygohrk" path="res://demo/assets/hp_under.png" id="6_622dk"]
|
||||
[ext_resource type="Texture2D" uid="uid://cls8jtnu413o8" path="res://demo/assets/hp_over.png" id="7_430mt"]
|
||||
[ext_resource type="Texture2D" uid="uid://hnwi23oef752" path="res://demo/assets/hp_bar.png" id="8_invih"]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
uid://qpj1dk7ugnja
|
|
@ -1,16 +1,16 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://b3ae14mc2ty3y"]
|
||||
|
||||
[ext_resource type="Script" path="res://demo/scenes/showcase.gd" id="1_l12ql"]
|
||||
[ext_resource type="Script" uid="uid://qpj1dk7ugnja" path="res://demo/scenes/showcase.gd" id="1_l12ql"]
|
||||
[ext_resource type="Theme" uid="uid://boqtjf88xcpu4" path="res://demo/assets/ui.theme" id="2_3d7dj"]
|
||||
[ext_resource type="FontFile" uid="uid://d25vkmce7mhlt" path="res://demo/assets/fonts/knewave_regular.ttf" id="3_7vli5"]
|
||||
[ext_resource type="FontFile" uid="uid://n231m6uqsq6x" path="res://demo/assets/fonts/junction_bold.otf" id="4_7ubu6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dc1wu244fnetf" path="res://demo/assets/arrow_left.png" id="5_bvrtp"]
|
||||
[ext_resource type="Texture2D" uid="uid://tyu0ua1ju38l" path="res://demo/assets/logo.png" id="5_rwygb"]
|
||||
[ext_resource type="Script" path="res://demo/scenes/base/toggle_fullscreen.gd" id="6_uggpo"]
|
||||
[ext_resource type="Script" uid="uid://c5p1i8ofpv7qn" path="res://demo/scenes/base/toggle_fullscreen.gd" id="6_uggpo"]
|
||||
[ext_resource type="Texture2D" uid="uid://bjakugmqbbtw7" path="res://demo/assets/arrow_right.png" id="7_5do2y"]
|
||||
[ext_resource type="PackedScene" uid="uid://bsig1usigbbuy" path="res://demo/scenes/base/arena.tscn" id="7_42nq6"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5fhe3tulhlco" path="res://demo/props/dummy.tscn" id="8_apshw"]
|
||||
[ext_resource type="Script" path="res://demo/scenes/base/code_edit.gd" id="9_txke7"]
|
||||
[ext_resource type="Script" uid="uid://cb8thyd7vi2nj" path="res://demo/scenes/base/code_edit.gd" id="9_txke7"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_rdr7a"]
|
||||
font = ExtResource("3_7vli5")
|
||||
|
|
|
@ -12,7 +12,7 @@ config_version=5
|
|||
|
||||
config/name="LimboAI Demo"
|
||||
run/main_scene="res://demo/scenes/showcase.tscn"
|
||||
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://demo/assets/icon.svg"
|
||||
|
||||
[display]
|
||||
|
@ -34,4 +34,5 @@ window/stretch/mode="canvas_items"
|
|||
[limbo_ai]
|
||||
|
||||
behavior_tree/behavior_tree_default_dir="res://demo/ai/trees"
|
||||
behavior_tree/user_task_dirs=PackedStringArray("res://demo/ai/tasks")
|
||||
behavior_tree/user_task_dir_1="res://demo/ai/tasks"
|
||||
|
|
Loading…
Reference in New Issue