Compare commits

..

2 Commits

Author SHA1 Message Date
a194dfe52d Procedural Shambler animations
All checks were successful
linting & formatting / build (push) Successful in 1m18s
2025-09-01 12:12:25 -06:00
0e04f9d227 Shambler-type beast 2025-08-30 14:40:22 -06:00
79 changed files with 13445 additions and 432 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -4,7 +4,7 @@
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_si4vj"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_si4vj"]
[ext_resource type="Texture2D" uid="uid://dthjo3ymo7say" path="res://levels/ghost_ship/level/airlock/floor_mask.png" id="3_7lojt"] [ext_resource type="Texture2D" uid="uid://dthjo3ymo7say" path="res://levels/ghost_ship/level/airlock/floor_mask.png" id="3_7lojt"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="4_hgu5g"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="4_hgu5g"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_knpho"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_knpho"]
[ext_resource type="Texture2D" uid="uid://bn4nrclcovuej" path="res://assets/level/wall/wall_1_C.png" id="5_oawwh"] [ext_resource type="Texture2D" uid="uid://bn4nrclcovuej" path="res://assets/level/wall/wall_1_C.png" id="5_oawwh"]
[ext_resource type="Texture2D" uid="uid://da3nqwmiwbu8s" path="res://assets/level/wall/wall_1_M.png" id="6_orm16"] [ext_resource type="Texture2D" uid="uid://da3nqwmiwbu8s" path="res://assets/level/wall/wall_1_M.png" id="6_orm16"]
[ext_resource type="Texture2D" uid="uid://bujelwt4b5d0s" path="res://assets/level/wall/wall_1_N.png" id="7_8qct8"] [ext_resource type="Texture2D" uid="uid://bujelwt4b5d0s" path="res://assets/level/wall/wall_1_N.png" id="7_8qct8"]
@ -14,7 +14,7 @@
[ext_resource type="Texture2D" uid="uid://cpdrvdu3qt62t" path="res://assets/level/wall/wall_2_N.png" id="11_3mk3p"] [ext_resource type="Texture2D" uid="uid://cpdrvdu3qt62t" path="res://assets/level/wall/wall_2_N.png" id="11_3mk3p"]
[ext_resource type="Texture2D" uid="uid://ba5vvrx730go8" path="res://assets/level/wall/wall_2_R.png" id="12_608qq"] [ext_resource type="Texture2D" uid="uid://ba5vvrx730go8" path="res://assets/level/wall/wall_2_R.png" id="12_608qq"]
[ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="13_wvsd4"] [ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="13_wvsd4"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="14_asais"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="14_asais"]
[ext_resource type="PackedScene" uid="uid://b7ycqk0r7n2t" path="res://assets/props/eva_suit/eva_suit.gltf" id="15_e4f0d"] [ext_resource type="PackedScene" uid="uid://b7ycqk0r7n2t" path="res://assets/props/eva_suit/eva_suit.gltf" id="15_e4f0d"]
[ext_resource type="PackedScene" uid="uid://dl6vekf0joac4" path="res://src/props/eva_suit/eva_suit.tscn" id="16_oacma"] [ext_resource type="PackedScene" uid="uid://dl6vekf0joac4" path="res://src/props/eva_suit/eva_suit.tscn" id="16_oacma"]
[ext_resource type="ArrayMesh" uid="uid://c66fwpu8pe7ti" path="res://assets/props/tarp_crate/tarp_crate_2.obj" id="17_4abyn"] [ext_resource type="ArrayMesh" uid="uid://c66fwpu8pe7ti" path="res://assets/props/tarp_crate/tarp_crate_2.obj" id="17_4abyn"]

View File

@ -2,10 +2,10 @@
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="1_20lab"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="1_20lab"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_jd3pc"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_jd3pc"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="3_s2uxq"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="3_s2uxq"]
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="4_exqd3"] [ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="4_exqd3"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="5_fopii"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="5_fopii"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="6_d0c5k"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="6_d0c5k"]
[ext_resource type="Texture2D" uid="uid://bd52xpmm3oqw" path="res://assets/props/bulkhead/bulkhead_door_C.png" id="7_iwhm6"] [ext_resource type="Texture2D" uid="uid://bd52xpmm3oqw" path="res://assets/props/bulkhead/bulkhead_door_C.png" id="7_iwhm6"]
[ext_resource type="Texture2D" uid="uid://nexcq3xxrebb" path="res://assets/props/bulkhead/bulkhead_door_M.png" id="8_qdfj2"] [ext_resource type="Texture2D" uid="uid://nexcq3xxrebb" path="res://assets/props/bulkhead/bulkhead_door_M.png" id="8_qdfj2"]
[ext_resource type="Texture2D" uid="uid://dk4sm780p6jfc" path="res://assets/props/bulkhead/bulkhead_door_N.png" id="9_wwtwk"] [ext_resource type="Texture2D" uid="uid://dk4sm780p6jfc" path="res://assets/props/bulkhead/bulkhead_door_N.png" id="9_wwtwk"]

View File

@ -3,14 +3,14 @@
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ckpmb"] [ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ckpmb"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="3_s4vba"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="3_s4vba"]
[ext_resource type="PackedScene" uid="uid://drm5dspi48pf5" path="res://src/props/crate_long/phys_crate_long.tscn" id="4_vc8nj"] [ext_resource type="PackedScene" uid="uid://drm5dspi48pf5" path="res://src/props/crate_long/phys_crate_long.tscn" id="4_vc8nj"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="5_hwbyh"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="5_hwbyh"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="8_t14hf"] [ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="8_t14hf"]
[ext_resource type="Script" uid="uid://c3i315cnqikok" path="res://src/game/tutorial/tutorial_area.gd" id="9_20ek7"] [ext_resource type="Script" uid="uid://c3i315cnqikok" path="res://src/game/tutorial/tutorial_area.gd" id="9_20ek7"]
[ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="9_vwa0l"] [ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="9_vwa0l"]
[ext_resource type="Material" uid="uid://dmolqtdktqdsl" path="res://levels/ghost_ship/guide_sign/airlock_sign.material" id="10_5qwf5"] [ext_resource type="Material" uid="uid://dmolqtdktqdsl" path="res://levels/ghost_ship/guide_sign/airlock_sign.material" id="10_5qwf5"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="11_i2ry3"] [ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_overlay_bright.material" id="11_i2ry3"]
[ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="12_3ls22"] [ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="12_3ls22"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="13_qaol8"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="13_qaol8"]
[ext_resource type="PackedScene" uid="uid://2yqi5u5eo025" path="res://src/world/gunk_node/grunk_nodule.tscn" id="14_bfrms"] [ext_resource type="PackedScene" uid="uid://2yqi5u5eo025" path="res://src/world/gunk_node/grunk_nodule.tscn" id="14_bfrms"]
[ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="15_rjmc1"] [ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="15_rjmc1"]
[ext_resource type="PackedScene" uid="uid://cjqayfrj2oxyr" path="res://src/props/tarp_crate/tarp_crate_logo.tscn" id="16_c1bv0"] [ext_resource type="PackedScene" uid="uid://cjqayfrj2oxyr" path="res://src/props/tarp_crate/tarp_crate_logo.tscn" id="16_c1bv0"]

View File

@ -3,14 +3,14 @@
[ext_resource type="ArrayMesh" uid="uid://c4klxlj1oop7t" path="res://assets/level/hallway/hallway_4.mesh" id="1_ka7sa"] [ext_resource type="ArrayMesh" uid="uid://c4klxlj1oop7t" path="res://assets/level/hallway/hallway_4.mesh" id="1_ka7sa"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_osdhu"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_osdhu"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_osdhu"] [ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_osdhu"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_650i1"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_650i1"]
[ext_resource type="Material" uid="uid://b8xdnogrfefvf" path="res://levels/ghost_ship/guide_sign/mess_hall_sign.material" id="5_650i1"] [ext_resource type="Material" uid="uid://b8xdnogrfefvf" path="res://levels/ghost_ship/guide_sign/mess_hall_sign.material" id="5_650i1"]
[ext_resource type="Texture2D" uid="uid://duvfb656uahuu" path="res://assets/level/guide_signs/guide_sign_mess_hall_C.png" id="6_o070x"] [ext_resource type="Texture2D" uid="uid://duvfb656uahuu" path="res://assets/level/guide_signs/guide_sign_mess_hall_C.png" id="6_o070x"]
[ext_resource type="Texture2D" uid="uid://dm50ac5enanm6" path="res://assets/level/guide_signs/guide_sign_mess_hall_E.png" id="7_bmovs"] [ext_resource type="Texture2D" uid="uid://dm50ac5enanm6" path="res://assets/level/guide_signs/guide_sign_mess_hall_E.png" id="7_bmovs"]
[ext_resource type="Texture2D" uid="uid://7qbnrtjmvl57" path="res://assets/props/guide_sign/guide_sign_M.png" id="8_f8vhe"] [ext_resource type="Texture2D" uid="uid://7qbnrtjmvl57" path="res://assets/props/guide_sign/guide_sign_M.png" id="8_f8vhe"]
[ext_resource type="Texture2D" uid="uid://d2h6ec1a0jm7c" path="res://assets/props/guide_sign/guide_sign_N.png" id="9_fsxgt"] [ext_resource type="Texture2D" uid="uid://d2h6ec1a0jm7c" path="res://assets/props/guide_sign/guide_sign_N.png" id="9_fsxgt"]
[ext_resource type="Texture2D" uid="uid://cjm8vlxnejx3w" path="res://assets/props/guide_sign/guide_sign_R.png" id="10_ikww0"] [ext_resource type="Texture2D" uid="uid://cjm8vlxnejx3w" path="res://assets/props/guide_sign/guide_sign_R.png" id="10_ikww0"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="11_iefrw"] [ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_overlay_bright.material" id="11_iefrw"]
[ext_resource type="PackedScene" uid="uid://bpsiwx1517pk1" path="res://src/props/tarp_crate/tarp_crate.tscn" id="12_vtfca"] [ext_resource type="PackedScene" uid="uid://bpsiwx1517pk1" path="res://src/props/tarp_crate/tarp_crate.tscn" id="12_vtfca"]
[ext_resource type="Script" uid="uid://c3i315cnqikok" path="res://src/game/tutorial/tutorial_area.gd" id="14_6qtqj"] [ext_resource type="Script" uid="uid://c3i315cnqikok" path="res://src/game/tutorial/tutorial_area.gd" id="14_6qtqj"]
[ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="14_ihtb8"] [ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="14_ihtb8"]
@ -19,7 +19,7 @@
[ext_resource type="ArrayMesh" uid="uid://b3f5p4o7qr1mf" path="res://assets/level/t-junction/t-junction_2.mesh" id="16_0fxnd"] [ext_resource type="ArrayMesh" uid="uid://b3f5p4o7qr1mf" path="res://assets/level/t-junction/t-junction_2.mesh" id="16_0fxnd"]
[ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="16_cnewm"] [ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="16_cnewm"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="17_ka7sa"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="17_ka7sa"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="17_wqkax"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="17_wqkax"]
[ext_resource type="PackedScene" uid="uid://drm5dspi48pf5" path="res://src/props/crate_long/phys_crate_long.tscn" id="19_j48oc"] [ext_resource type="PackedScene" uid="uid://drm5dspi48pf5" path="res://src/props/crate_long/phys_crate_long.tscn" id="19_j48oc"]
[ext_resource type="PackedScene" uid="uid://kctp5erogwcb" path="res://src/world/mechanics/listener/listener.tscn" id="22_arxka"] [ext_resource type="PackedScene" uid="uid://kctp5erogwcb" path="res://src/world/mechanics/listener/listener.tscn" id="22_arxka"]
[ext_resource type="ArrayMesh" uid="uid://d0sdsir1hqnbu" path="res://assets/level/wall/wall_4.mesh" id="23_7ox1u"] [ext_resource type="ArrayMesh" uid="uid://d0sdsir1hqnbu" path="res://assets/level/wall/wall_4.mesh" id="23_7ox1u"]

View File

@ -4,12 +4,12 @@
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_rvc24"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_rvc24"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_rvc24"] [ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_rvc24"]
[ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="4_8y1ya"] [ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="4_8y1ya"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_yqi6h"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_yqi6h"]
[ext_resource type="Material" uid="uid://dt73a25l7h8if" path="res://levels/ghost_ship/guide_sign/crew_quarters_sign.material" id="5_yqi6h"] [ext_resource type="Material" uid="uid://dt73a25l7h8if" path="res://levels/ghost_ship/guide_sign/crew_quarters_sign.material" id="5_yqi6h"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="6_8pwhd"] [ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_overlay_bright.material" id="6_8pwhd"]
[ext_resource type="Material" uid="uid://lp1osos3aqdl" path="res://levels/ghost_ship/guide_sign/ops_sign.material" id="7_h1n2n"] [ext_resource type="Material" uid="uid://lp1osos3aqdl" path="res://levels/ghost_ship/guide_sign/ops_sign.material" id="7_h1n2n"]
[ext_resource type="ArrayMesh" uid="uid://b3f5p4o7qr1mf" path="res://assets/level/t-junction/t-junction_2.mesh" id="8_1goqq"] [ext_resource type="ArrayMesh" uid="uid://b3f5p4o7qr1mf" path="res://assets/level/t-junction/t-junction_2.mesh" id="8_1goqq"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="9_57qp5"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="9_57qp5"]
[ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="10_f0kmn"] [ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="10_f0kmn"]
[ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="11_s3mtr"] [ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="11_s3mtr"]
[ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="12_i8gqp"] [ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="12_i8gqp"]

View File

@ -4,8 +4,8 @@
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_xbtal"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_xbtal"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_xbtal"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_xbtal"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_mxi1m"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_mxi1m"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_rcrnx"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_rcrnx"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="5_rcrnx"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="5_rcrnx"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="7_smsfc"] [ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="7_smsfc"]
[ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="8_vt83f"] [ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="8_vt83f"]
[ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="9_ga3kk"] [ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="9_ga3kk"]

View File

@ -4,8 +4,8 @@
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_lknyg"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_lknyg"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_lknyg"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_lknyg"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_g8qvw"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_g8qvw"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_yvs0w"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_yvs0w"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="5_yvs0w"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="5_yvs0w"]
[ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="6_jnjru"] [ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="6_jnjru"]
[ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="7_bnexv"] [ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="7_bnexv"]
[ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="8_p5an5"] [ext_resource type="ArrayMesh" uid="uid://dbgk0kdg1vufk" path="res://assets/level/ceiling/ceiling_1.mesh" id="8_p5an5"]

View File

@ -2,11 +2,11 @@
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="1_ind8m"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="1_ind8m"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_vyxvc"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_vyxvc"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="3_6lrbi"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="3_6lrbi"]
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="4_pmhe8"] [ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="4_pmhe8"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="5_vyxvc"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="5_vyxvc"]
[ext_resource type="PackedScene" uid="uid://ca7b5gjl3ri0p" path="res://src/props/cafe_table/cafe_table.tscn" id="6_1ls0l"] [ext_resource type="PackedScene" uid="uid://ca7b5gjl3ri0p" path="res://src/props/cafe_table/cafe_table.tscn" id="6_1ls0l"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="6_jshbi"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="6_jshbi"]
[ext_resource type="PackedScene" uid="uid://c8pkhw0b47xdd" path="res://src/props/cupboard/cupboard.tscn" id="7_jshbi"] [ext_resource type="PackedScene" uid="uid://c8pkhw0b47xdd" path="res://src/props/cupboard/cupboard.tscn" id="7_jshbi"]
[ext_resource type="PackedScene" uid="uid://dtus42gmb1kqq" path="res://src/props/vending_machine/vending_machine.tscn" id="8_g7nyg"] [ext_resource type="PackedScene" uid="uid://dtus42gmb1kqq" path="res://src/props/vending_machine/vending_machine.tscn" id="8_g7nyg"]
[ext_resource type="Texture2D" uid="uid://d2xq0uvxh2ojk" path="res://assets/props/vending_machine/vending_machine_C.png" id="9_6xy1x"] [ext_resource type="Texture2D" uid="uid://d2xq0uvxh2ojk" path="res://assets/props/vending_machine/vending_machine_C.png" id="9_6xy1x"]

View File

@ -3,9 +3,9 @@
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="1_80no3"] [ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="1_80no3"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_chf33"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_chf33"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_chf33"] [ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="3_chf33"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_6issa"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="4_6issa"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_vmimu"] [ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="4_vmimu"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="5_6issa"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="5_6issa"]
[ext_resource type="ArrayMesh" uid="uid://d0sdsir1hqnbu" path="res://assets/level/wall/wall_4.mesh" id="6_jmo1t"] [ext_resource type="ArrayMesh" uid="uid://d0sdsir1hqnbu" path="res://assets/level/wall/wall_4.mesh" id="6_jmo1t"]
[ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="7_7c0f0"] [ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="7_7c0f0"]
[ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="8_pascc"] [ext_resource type="ArrayMesh" uid="uid://dkh2r61ydupb7" path="res://assets/level/floor/floor_2.mesh" id="8_pascc"]

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=12 format=3 uid="uid://cbxlfnlmgdvsq"] [gd_scene load_steps=12 format=3 uid="uid://cbxlfnlmgdvsq"]
[ext_resource type="Script" uid="uid://b1tbovuphat7d" path="res://levels/grunkbeast_test/procedural_grunkbeast_test.gd" id="1_ixhpa"] [ext_resource type="Script" uid="uid://b1tbovuphat7d" path="res://levels/grunkbeast_test/procedural_grunkbeast_test/procedural_grunkbeast_test.gd" id="1_ixhpa"]
[ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="2_82w0n"] [ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="2_82w0n"]
[ext_resource type="PackedScene" uid="uid://d2664rpg4losx" path="res://src/world/grunk_beast/procedural_grunk_beast/procedural_grunk_beast.tscn" id="3_b4iwh"] [ext_resource type="PackedScene" uid="uid://d2664rpg4losx" path="res://src/world/grunk_beast/procedural_grunk_beast/procedural_grunk_beast.tscn" id="3_b4iwh"]
[ext_resource type="Script" uid="uid://cpt8dy0csa3eu" path="res://levels/grunkbeast_test/fixed_camera.gd" id="4_32imj"] [ext_resource type="Script" uid="uid://cpt8dy0csa3eu" path="res://levels/grunkbeast_test/procedural_grunkbeast_test/fixed_camera.gd" id="4_32imj"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_goufh"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_goufh"]

View File

@ -0,0 +1,32 @@
extends Level
const ACCELERATION := 6.0
var speed := 4.0
var velocity := Vector2.ZERO
var target_velocity := Vector2.ZERO
@onready var model: Shambler = %Shambler
@onready var speed_label: Label = %SpeedLabel
func _unhandled_input(event: InputEvent) -> void:
if event.is_action("select_next_tool"):
speed = min(speed + 0.1, 40)
elif event.is_action("select_prev_tool"):
speed = max(speed - 0.1, 0)
func _physics_process(delta: float) -> void:
var move_input := Input.get_vector("move_left", "move_right", "move_forward", "move_back")
target_velocity = move_input * speed
velocity = velocity.lerp(target_velocity, 1 - exp(-ACCELERATION * delta))
if velocity:
model.set_target_rotation(atan2(velocity.x, velocity.y))
var real_speed := velocity.length()
speed_label.text = "%.2f" % real_speed
model.set_move_speed(real_speed)
model.global_position += Vector3(velocity.x, 0, velocity.y) * delta

View File

@ -0,0 +1 @@
uid://csf1tga0ivx0p

View File

@ -0,0 +1,151 @@
[gd_scene load_steps=9 format=3 uid="uid://t4cm5iu1ri5g"]
[ext_resource type="Script" uid="uid://csf1tga0ivx0p" path="res://levels/grunkbeast_test/shambler_test/shambler_test.gd" id="1_7ff4e"]
[ext_resource type="PackedScene" uid="uid://brrd33217oplv" path="res://src/world/grunk_beast/shambler/shambler.tscn" id="2_56au4"]
[ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="2_vtesn"]
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="3_vtesn"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_hda7d"]
[sub_resource type="Sky" id="Sky_pka60"]
sky_material = SubResource("ProceduralSkyMaterial_hda7d")
[sub_resource type="Environment" id="Environment_nl4kk"]
background_mode = 2
sky = SubResource("Sky_pka60")
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_6j7vt"]
[node name="ShamblerTest" type="Node3D"]
script = ExtResource("1_7ff4e")
id = "shambler_test"
pretty_name = "Shambler Animation Testing Sandbox"
[node name="FrameSkipper" type="Node3D" parent="."]
script = ExtResource("2_vtesn")
frame_skip = 4
[node name="Shambler" parent="FrameSkipper" instance=ExtResource("2_56au4")]
unique_name_in_owner = true
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.866025, -0.156955, -0.474726, 0.5, 0.271854, 0.82225, 0, -0.949453, 0.31391, 0, 0, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_nl4kk")
[node name="WorldFloor" type="StaticBody3D" parent="." groups=["PlasticMaterial"]]
collision_layer = 5
collision_mask = 0
[node name="MeshInstance3D" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D4" type="MeshInstance3D" parent="WorldFloor"]
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D5" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D6" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D7" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D8" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D9" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 27, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D10" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 27, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D11" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D12" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D13" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D14" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D15" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 54, 0, -9)
mesh = ExtResource("3_vtesn")
[node name="MeshInstance3D16" type="MeshInstance3D" parent="WorldFloor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 54, 0, 0)
mesh = ExtResource("3_vtesn")
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldFloor"]
visible = false
shape = SubResource("WorldBoundaryShape3D_6j7vt")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.999945, 0.00341349, -0.0099392, 0, 0.945778, 0.324815, 0.010509, -0.324797, 0.945725, 9.96718, 3.89329, 7.13198)
[node name="HUD" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="MarginContainer" type="MarginContainer" parent="HUD"]
layout_mode = 1
offset_right = 33.0
offset_bottom = 55.0
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16
[node name="HBoxContainer" type="HBoxContainer" parent="HUD/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="Label" type="Label" parent="HUD/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "SPEED: "
[node name="SpeedLabel" type="Label" parent="HUD/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "0000"
[node name="Label2" type="Label" parent="HUD/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "m/s"

View File

@ -0,0 +1,3 @@
[gd_scene format=3 uid="uid://700gr7k3gqlf"]
[node name="VisualTest" type="Node3D"]

View File

@ -1,12 +1,11 @@
[gd_scene load_steps=36 format=4 uid="uid://b8rv6dg4tgaeb"] [gd_scene load_steps=31 format=4 uid="uid://b8rv6dg4tgaeb"]
[ext_resource type="Script" uid="uid://bvua1l2hb3an6" path="res://levels/mechanic_test/mechanic_test.gd" id="1_iyuyb"] [ext_resource type="Script" uid="uid://bvua1l2hb3an6" path="res://levels/mechanic_test/mechanic_test.gd" id="1_iyuyb"]
[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="2_qjnj2"] [ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="2_qjnj2"]
[ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="3_awnx0"] [ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="3_awnx0"]
[ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="4_qjnj2"] [ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="4_qjnj2"]
[ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="5_aix42"] [ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="5_aix42"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="6_6frcc"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_qjnj2"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="7_7cbja"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="8_awnx0"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="8_awnx0"]
[ext_resource type="PackedScene" uid="uid://cubwniraol1qn" path="res://src/props/bulkhead/bulkhead.tscn" id="8_ujrcv"] [ext_resource type="PackedScene" uid="uid://cubwniraol1qn" path="res://src/props/bulkhead/bulkhead.tscn" id="8_ujrcv"]
[ext_resource type="PackedScene" uid="uid://b5jubpjj3d277" path="res://levels/mechanic_test/signal_test.tscn" id="9_ix0jw"] [ext_resource type="PackedScene" uid="uid://b5jubpjj3d277" path="res://levels/mechanic_test/signal_test.tscn" id="9_ix0jw"]
@ -100,50 +99,6 @@ shadow_mesh = SubResource("ArrayMesh_0j1ke")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qjnj2"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qjnj2"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6) data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rp2qp"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_if0c2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("7_7cbja")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_2pd8h"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("7_7cbja")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_awnx0"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("6_6frcc")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_rp2qp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_if0c2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_2pd8h")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[node name="MechanicTest" type="Node3D"] [node name="MechanicTest" type="Node3D"]
script = ExtResource("1_iyuyb") script = ExtResource("1_iyuyb")
id = "mechanic_test" id = "mechanic_test"
@ -312,7 +267,7 @@ unique_name_in_owner = true
body = NodePath("..") body = NodePath("..")
mesh_instance = NodePath("../..") mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_aix42") initial_mask = ExtResource("5_aix42")
source_gunk_material = SubResource("ShaderMaterial_awnx0") source_gunk_material = ExtResource("7_qjnj2")
[node name="Bulkhead" parent="." instance=ExtResource("8_ujrcv")] [node name="Bulkhead" parent="." instance=ExtResource("8_ujrcv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0, -2) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0, -2)

View File

@ -1,10 +1,8 @@
[gd_scene load_steps=14 format=4 uid="uid://cfqirm2o3uo4k"] [gd_scene load_steps=8 format=4 uid="uid://cfqirm2o3uo4k"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="1_7477u"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="1_7477u"]
[ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="2_7477u"] [ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="2_7477u"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_lrgpr"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="3_cr8wn"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunkable/gunkable.gd" id="2_nfype"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_7477u"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"]
albedo_color = Color(1, 0.403922, 1, 1) albedo_color = Color(1, 0.403922, 1, 1)
@ -43,50 +41,6 @@ shadow_mesh = SubResource("ArrayMesh_cgmn0")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(-1, 1, 0.1, -1, -0.8, 0.1, -1, 1, -0.1, -1, 1, -0.1, -1, -0.8, 0.1, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -0.1, -1, -0.8, 0.1, -1, -1, -2.3, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -2.3, -1, -0.8, -0.1, -1, -1, -2.3, -1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.3, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, 1, -2.1, -1, 1, -2.1, -1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -0.1, -1, -0.8, -0.1, 1, 1, -0.1, 1, 1, -0.1, -1, -0.8, -0.1, 1, -0.8, -0.1, 1, 1, -0.1, 1, -0.8, -0.1, 1, 1, 0.1, 1, 1, 0.1, 1, -0.8, -0.1, 1, -0.8, 0.1, 1, -0.8, -0.1, 1, -1, 0.1, 1, -0.8, 0.1, 1, -0.8, -2.1, 1, -1, 0.1, 1, -0.8, -0.1, 1, -0.8, -2.3, 1, -1, 0.1, 1, -0.8, -2.1, 1, -1, -2.3, 1, -1, 0.1, 1, -0.8, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.1, 1, 1, -2.3, 1, 1, -2.3, 1, -0.8, -2.1, 1, 1, -2.1, 1, 1, 0.1, 1, -0.8, 0.1, -1, 1, 0.1, -1, 1, 0.1, 1, -0.8, 0.1, -1, -0.8, 0.1, 1, -0.8, 0.1, 1, -1, 0.1, -1, -0.8, 0.1, -1, -0.8, 0.1, 1, -1, 0.1, -1, -1, 0.1, -1, -1, -2.3, -1, -1, 0.1, 1, -1, -2.3, 1, -1, -2.3, -1, -1, 0.1, 1, -1, 0.1, -1, 1, -0.1, 1, 1, -0.1, -1, 1, 0.1, -1, 1, 0.1, 1, 1, -0.1, 1, 1, 0.1, 1, -0.8, -0.1, -1, -0.8, -0.1, 1, -0.8, -2.1, 1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, -1, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.3, -1, -1, -2.3, 1, -1, -2.3, -1, -0.8, -2.3, 1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -2.3, 1, -0.8, -2.3, 1, 1, -2.3, 1, 1, -2.1, -1, 1, -2.1, 1, 1, -2.3, 1, 1, -2.3, -1, 1, -2.1, -1, 1, -2.3, 1, -0.8, -2.1, -1, -0.8, -2.1, 1, 1, -2.1, 1, 1, -2.1, -1, -0.8, -2.1, -1, 1, -2.1) data = PackedVector3Array(-1, 1, 0.1, -1, -0.8, 0.1, -1, 1, -0.1, -1, 1, -0.1, -1, -0.8, 0.1, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -0.1, -1, -0.8, 0.1, -1, -1, -2.3, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -2.3, -1, -0.8, -0.1, -1, -1, -2.3, -1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.3, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, 1, -2.1, -1, 1, -2.1, -1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -0.1, -1, -0.8, -0.1, 1, 1, -0.1, 1, 1, -0.1, -1, -0.8, -0.1, 1, -0.8, -0.1, 1, 1, -0.1, 1, -0.8, -0.1, 1, 1, 0.1, 1, 1, 0.1, 1, -0.8, -0.1, 1, -0.8, 0.1, 1, -0.8, -0.1, 1, -1, 0.1, 1, -0.8, 0.1, 1, -0.8, -2.1, 1, -1, 0.1, 1, -0.8, -0.1, 1, -0.8, -2.3, 1, -1, 0.1, 1, -0.8, -2.1, 1, -1, -2.3, 1, -1, 0.1, 1, -0.8, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.1, 1, 1, -2.3, 1, 1, -2.3, 1, -0.8, -2.1, 1, 1, -2.1, 1, 1, 0.1, 1, -0.8, 0.1, -1, 1, 0.1, -1, 1, 0.1, 1, -0.8, 0.1, -1, -0.8, 0.1, 1, -0.8, 0.1, 1, -1, 0.1, -1, -0.8, 0.1, -1, -0.8, 0.1, 1, -1, 0.1, -1, -1, 0.1, -1, -1, -2.3, -1, -1, 0.1, 1, -1, -2.3, 1, -1, -2.3, -1, -1, 0.1, 1, -1, 0.1, -1, 1, -0.1, 1, 1, -0.1, -1, 1, 0.1, -1, 1, 0.1, 1, 1, -0.1, 1, 1, 0.1, 1, -0.8, -0.1, -1, -0.8, -0.1, 1, -0.8, -2.1, 1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, -1, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.3, -1, -1, -2.3, 1, -1, -2.3, -1, -0.8, -2.3, 1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -2.3, 1, -0.8, -2.3, 1, 1, -2.3, 1, 1, -2.1, -1, 1, -2.1, 1, 1, -2.3, 1, 1, -2.3, -1, 1, -2.1, -1, 1, -2.3, 1, -0.8, -2.1, -1, -0.8, -2.1, 1, 1, -2.1, 1, 1, -2.1, -1, -0.8, -2.1, -1, 1, -2.1)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_x2vho"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_f342o"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_7477u")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_iyuyb"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_7477u")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_j1dki"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_lrgpr")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_x2vho")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_f342o")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[node name="PropTest" type="Node3D"] [node name="PropTest" type="Node3D"]
[node name="Parallel" type="MeshInstance3D" parent="."] [node name="Parallel" type="MeshInstance3D" parent="."]
@ -101,11 +55,9 @@ collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/StaticBody3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_x2vho") shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="Gunkable" type="Node" parent="Parallel/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("1_7477u")] [node name="Gunkable" parent="Parallel/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("1_7477u")]
script = ExtResource("2_nfype")
mask_dim = 128 mask_dim = 128
body = NodePath("..") body = NodePath("..")
mesh_instance = NodePath("../..") mesh_instance = NodePath("../..")
initial_mask = ExtResource("2_7477u") initial_mask = ExtResource("2_7477u")
source_gunk_material = SubResource("ShaderMaterial_j1dki") source_gunk_material = ExtResource("3_cr8wn")
metadata/_custom_type_script = "uid://co0g2klfmor48"

View File

@ -1,11 +1,10 @@
[gd_scene load_steps=28 format=3 uid="uid://b5jubpjj3d277"] [gd_scene load_steps=21 format=3 uid="uid://b5jubpjj3d277"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_tfbib"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_e8utx"]
[ext_resource type="Texture2D" uid="uid://m2qxenym1otw" path="res://assets/level/wall/wall_2_C.png" id="4_r07l4"] [ext_resource type="Texture2D" uid="uid://m2qxenym1otw" path="res://assets/level/wall/wall_2_C.png" id="4_r07l4"]
[ext_resource type="Texture2D" uid="uid://begn6qloo0m1q" path="res://assets/level/wall/wall_2_M.png" id="5_67o2j"] [ext_resource type="Texture2D" uid="uid://begn6qloo0m1q" path="res://assets/level/wall/wall_2_M.png" id="5_67o2j"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="5_r07l4"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="5_r07l4"]
[ext_resource type="Texture2D" uid="uid://cpdrvdu3qt62t" path="res://assets/level/wall/wall_2_N.png" id="6_4yjoq"] [ext_resource type="Texture2D" uid="uid://cpdrvdu3qt62t" path="res://assets/level/wall/wall_2_N.png" id="6_4yjoq"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="6_r07l4"]
[ext_resource type="Texture2D" uid="uid://ba5vvrx730go8" path="res://assets/level/wall/wall_2_R.png" id="7_c27im"] [ext_resource type="Texture2D" uid="uid://ba5vvrx730go8" path="res://assets/level/wall/wall_2_R.png" id="7_c27im"]
[ext_resource type="PackedScene" uid="uid://dgqx1h4dtkwma" path="res://src/world/mechanics/trigger/gunk_trigger.tscn" id="8_gx82l"] [ext_resource type="PackedScene" uid="uid://dgqx1h4dtkwma" path="res://src/world/mechanics/trigger/gunk_trigger.tscn" id="8_gx82l"]
[ext_resource type="PackedScene" uid="uid://bttust5ohud8e" path="res://src/world/mechanics/relay/gunk_relay.tscn" id="9_d4a3d"] [ext_resource type="PackedScene" uid="uid://bttust5ohud8e" path="res://src/world/mechanics/relay/gunk_relay.tscn" id="9_d4a3d"]
@ -58,50 +57,6 @@ shadow_mesh = SubResource("ArrayMesh_ix0jw")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 0, -1.5) data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 0, -1.5)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f342o"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_iyuyb"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_qjnj2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_e8utx"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_f342o")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_qjnj2")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3u410"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3u410"]
resource_local_to_scene = true resource_local_to_scene = true
cull_mode = 2 cull_mode = 2
@ -144,31 +99,6 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_tfbib") shadow_mesh = SubResource("ArrayMesh_tfbib")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r07l4"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_f342o")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_qjnj2")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[sub_resource type="ArrayMesh" id="ArrayMesh_r07l4"] [sub_resource type="ArrayMesh" id="ArrayMesh_r07l4"]
_surfaces = [{ _surfaces = [{
"aabb": AABB(-1.5, 0, -1.5, 3, 1e-05, 3), "aabb": AABB(-1.5, 0, -1.5, 3, 1e-05, 3),
@ -200,31 +130,6 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_r07l4") shadow_mesh = SubResource("ArrayMesh_r07l4")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_67o2j"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_f342o")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_qjnj2")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[node name="SignalTest" type="Node3D"] [node name="SignalTest" type="Node3D"]
[node name="TriggerNetWall" type="MeshInstance3D" parent="."] [node name="TriggerNetWall" type="MeshInstance3D" parent="."]
@ -243,7 +148,7 @@ shape = SubResource("ConcavePolygonShape3D_x2vho")
mask_dim = 64 mask_dim = 64
body = NodePath("..") body = NodePath("..")
mesh_instance = NodePath("../..") mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_e8utx") source_gunk_material = ExtResource("6_r07l4")
[node name="Puzzle" type="Node3D" parent="TriggerNetWall"] [node name="Puzzle" type="Node3D" parent="TriggerNetWall"]
@ -284,7 +189,7 @@ shape = SubResource("ConcavePolygonShape3D_x2vho")
mask_dim = 64 mask_dim = 64
body = NodePath("..") body = NodePath("..")
mesh_instance = NodePath("../..") mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_r07l4") source_gunk_material = ExtResource("6_r07l4")
[node name="Puzzle" type="Node3D" parent="PulseNetWall"] [node name="Puzzle" type="Node3D" parent="PulseNetWall"]
@ -327,7 +232,7 @@ shape = SubResource("ConcavePolygonShape3D_x2vho")
mask_dim = 64 mask_dim = 64
body = NodePath("..") body = NodePath("..")
mesh_instance = NodePath("../..") mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_67o2j") source_gunk_material = ExtResource("6_r07l4")
[node name="Puzzle" type="Node3D" parent="ListenerWall"] [node name="Puzzle" type="Node3D" parent="ListenerWall"]
transform = Transform3D(0, 4.37114e-08, 1, -4.37114e-08, 1, -4.37114e-08, -1, -4.37114e-08, 1.91069e-15, 0, 0, 0) transform = Transform3D(0, 4.37114e-08, 1, -4.37114e-08, 1, -4.37114e-08, -1, -4.37114e-08, 1.91069e-15, 0, 0, 0)

View File

@ -1,6 +1,7 @@
[gd_scene load_steps=62 format=4 uid="uid://tvirbm0kgvp8"] [gd_scene load_steps=63 format=4 uid="uid://tvirbm0kgvp8"]
[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_fgk6j"] [ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_fgk6j"]
[ext_resource type="Script" uid="uid://68r4ht5ut1ct" path="res://src/game/level.gd" id="1_hv7qb"]
[ext_resource type="PackedScene" uid="uid://ehf5sg3ahvbf" path="res://src/world/grunk_beast/grunk_beast.tscn" id="2_1lom2"] [ext_resource type="PackedScene" uid="uid://ehf5sg3ahvbf" path="res://src/world/grunk_beast/grunk_beast.tscn" id="2_1lom2"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="3_gyhlh"] [ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="3_gyhlh"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="4_hv7qb"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="4_hv7qb"]
@ -8,16 +9,16 @@
[ext_resource type="Texture2D" uid="uid://clofvb76pv6g" path="res://assets/red.png" id="5_jj0u7"] [ext_resource type="Texture2D" uid="uid://clofvb76pv6g" path="res://assets/red.png" id="5_jj0u7"]
[ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="6_e2fuu"] [ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="6_e2fuu"]
[ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="7_hv7qb"] [ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="7_hv7qb"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_nsdlh"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_nsdlh"]
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="8_wxmii"] [ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="8_wxmii"]
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="9_nsdlh"] [ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="9_nsdlh"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="10_br5h1"] [ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="10_br5h1"]
[ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="11_qluxd"] [ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="11_qluxd"]
[ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="12_h6xp0"] [ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="12_h6xp0"]
[ext_resource type="Material" uid="uid://dmolqtdktqdsl" path="res://levels/ghost_ship/guide_sign/airlock_sign.material" id="13_irt7r"] [ext_resource type="Material" uid="uid://dmolqtdktqdsl" path="res://levels/ghost_ship/guide_sign/airlock_sign.material" id="13_irt7r"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="14_olej6"] [ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_overlay_bright.material" id="14_olej6"]
[ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="15_tmnt4"] [ext_resource type="ArrayMesh" uid="uid://bm0ryb1t7ha7e" path="res://assets/level/t-junction/t-junction_1.mesh" id="15_tmnt4"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="16_x0tbd"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="16_x0tbd"]
[ext_resource type="PackedScene" uid="uid://2yqi5u5eo025" path="res://src/world/gunk_node/grunk_nodule.tscn" id="17_iwy8m"] [ext_resource type="PackedScene" uid="uid://2yqi5u5eo025" path="res://src/world/gunk_node/grunk_nodule.tscn" id="17_iwy8m"]
[ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="18_40pb5"] [ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="18_40pb5"]
[ext_resource type="PackedScene" uid="uid://cjqayfrj2oxyr" path="res://src/props/tarp_crate/tarp_crate_logo.tscn" id="19_iuevq"] [ext_resource type="PackedScene" uid="uid://cjqayfrj2oxyr" path="res://src/props/tarp_crate/tarp_crate_logo.tscn" id="19_iuevq"]
@ -38,9 +39,9 @@ sky_material = SubResource("ProceduralSkyMaterial_1lom2")
background_mode = 2 background_mode = 2
sky = SubResource("Sky_18csx") sky = SubResource("Sky_18csx")
[sub_resource type="NavigationMesh" id="NavigationMesh_gyhlh"] [sub_resource type="NavigationMesh" id="NavigationMesh_hv7qb"]
vertices = PackedVector3Array(-26.25, 0.499, -29.25, -26.5, 0.499, -30.75, -27.5, 0.499, -30.75, -27.5, 0.499, -27.5, -26.25, 0.499, -26.75, -18, 0.499, -17.5, -19.75, 0.499, -17.5, -19.25, 0.499, -17.25, -16.5, 0.499, -17.25, -13.75, 0.499, -17.25, -13.5, 0.499, -18.5, -17, 0.499, -18.5, -27.5, 0.499, -20.75, -27.5, 0.499, -17.25, -26.75, 0.499, -18.25, -26.25, 0.499, -19, -26.25, 0.499, -21.75, -27.5, 0.499, -24, -26.25, 0.499, -24.25, -11, 0.499, -17.25, -9.75, 0.499, -18.5, -6.25, 0.499, -18.5, -8.25, 0.499, -17.25, -5.5, 0.499, -17.25, -2.5, 0.499, -17.25, -2.5, 0.499, -18.5, -25.75, 0.499, -18.5, -25.5, 0.499, -18.25, -23, 0.499, -18.5, -22, 0.499, -17.25, -24.75, 0.499, -17.25, -20.25, 0.499, -18.5, -21.75, 0.499, -24.25, -24.25, 0.499, -24.25, -24.25, 0.499, -20.25, -21.75, 0.499, -20.25, -11.25, 0.499, -24.25, -13.75, 0.499, -24.25, -13.75, 0.499, -20.25, -11.25, 0.499, -20.25, -3, 0.499, -20.25, -3, 0.499, -24.25, -5.75, 0.499, -24.25, -5.75, 0.499, -20.25, -8.5, 0.499, -20.25, -8.5, 0.499, -24.25, -19, 0.499, -24.25, -19, 0.499, -20.25, -16.5, 0.499, -24.25, -16.5, 0.499, -20.25, -0.25, 0.499, -17.5, 0.75, 0.499, -18, 0.75, 0.499, -19.75, -0.5, 0.499, -19.75, -0.5, 0.499, -9.5, -0.5, 0.499, -6, 0.75, 0.499, -6, 0.75, 0.499, -9.5, 1.75, 0.499, -20.25, 1.75, 0.499, -24.25, -0.75, 0.499, -24.25, -1, 0.499, -20.25, -0.5, 0.499, -13, 0.75, 0.499, -12.75, 0, 0.499, -13.25, -0.5, 0.499, -16.5, -0.25, 0.499, -15.25, 24.25, 0.499, -22, 24.25, 0.499, -24.25, 21.25, 0.499, -24.25, 2.5, 0.499, -19.75, 4.5, 0.499, -24.25, 24.25, 0.499, -10.25, 24.25, 0.499, -12.75, 15.75, 0.499, -24.25, 24.25, 0.499, -19.75, 7.25, 0.499, -24.25, 18.5, 0.499, -24.25, 24.25, 0.499, -17.5, 10, 0.499, -24.25, 24.25, 0.499, -5.5, 24.25, 0.499, -8, 2.5, 0.499, -9.25, 2.5, 0.499, -5.75, 24.25, 0.499, -15, 2.5, 0.499, -16.25, 13, 0.499, -24.25, 2.5, 0.499, -12.75, -21.5, 0.499, -15.5, -24.25, 0.499, -15.5, -24.25, 0.499, -13.25, -24.25, 0.499, 21.75, -24.25, 0.499, 24.25, -21.5, 0.499, 24.25, -2.25, 0.499, -12.75, -2.25, 0.499, -15.5, -5, 0.499, -15.5, -24.25, 0.499, -10.75, -24.25, 0.499, 19.25, -2.25, 0.499, -10, -7.75, 0.499, -15.5, -18.75, 0.499, -15.5, -24.25, 0.499, -8.25, -18.75, 0.499, 24.25, -24.25, 0.499, 16.75, -1.5, 0.499, -3.75, -2.25, 0.499, -4.25, -24.25, 0.499, 4.25, -24.25, 0.499, 6.75, -4.5, 0.499, 24.25, -1.5, 0.499, 24.25, -24.25, 0.499, 9.25, -10.25, 0.499, 24.25, -7.25, 0.499, 24.25, -2.25, 0.499, -7.25, -10.5, 0.499, -15.5, -16, 0.499, -15.5, -24.25, 0.499, -5.75, -16, 0.499, 24.25, -24.25, 0.499, 14.25, -13.25, 0.499, -15.5, -24.25, 0.499, -3.25, -24.25, 0.499, -0.75, -24.25, 0.499, 11.75, -13, 0.499, 24.25, -24.25, 0.499, 1.75, 0.75, 0.499, -4.25, -0.5, 0.499, -4.25, 1.75, 0.499, -3.75, 1.75, 0.499, 24.25, 21.25, 0.499, 24.25, 24.25, 0.499, 24.25, 24.25, 0.499, 20.5, 18.5, 0.499, 24.25, 15.75, 0.499, 24.25, 24.25, 0.499, 16.75, 13, 0.499, 24.25, 7.25, 0.499, 24.25, 24.25, 0.499, 13, 24.25, 0.499, 9.25, 4.5, 0.499, 24.25, 10, 0.499, 24.25, 24.25, 0.499, 1.75, 2.5, 0.499, -4.25, 24.25, 0.499, 5.5, 24.25, 0.499, -2) vertices = PackedVector3Array(-27.5, 0.499, -20.75, -27.5, 0.499, -17.25, -26.75, 0.499, -18.25, -26.25, 0.499, -19, -26.25, 0.499, -22.25, -26.25, 0.499, -28.25, -26.25, 0.499, -30.75, -27.5, 0.499, -30.75, -27.5, 0.499, -27.5, -13.5, 0.499, -18.5, -13.75, 0.499, -17.25, -11, 0.499, -17.25, -9.75, 0.499, -18.5, -26.25, 0.499, -25.25, -27.5, 0.499, -24, -6.25, 0.499, -18.5, -8.25, 0.499, -17.25, -5.5, 0.499, -17.25, -2.5, 0.499, -17.25, -2.5, 0.499, -18.5, -16.5, 0.499, -17.25, -17, 0.499, -18.5, -18, 0.499, -17.5, -25.75, 0.499, -18.5, -25.5, 0.499, -18.25, -23, 0.499, -18.5, -19.75, 0.499, -17.5, -19.25, 0.499, -17.25, -24.75, 0.499, -17.25, -22, 0.499, -17.25, -20.25, 0.499, -18.5, -21.75, 0.499, -24.25, -24.25, 0.499, -24.25, -24.25, 0.499, -20.25, -21.75, 0.499, -20.25, -11.25, 0.499, -24.25, -13.75, 0.499, -24.25, -13.75, 0.499, -20.25, -11.25, 0.499, -20.25, -3, 0.499, -20.25, -3, 0.499, -24.25, -5.75, 0.499, -24.25, -5.75, 0.499, -20.25, -8.5, 0.499, -20.25, -8.5, 0.499, -24.25, -19, 0.499, -24.25, -19, 0.499, -20.25, -16.5, 0.499, -24.25, -16.5, 0.499, -20.25, -0.25, 0.499, -17.5, 0.75, 0.499, -18, 0.75, 0.499, -19.75, -0.5, 0.499, -19.75, -0.5, 0.499, -9.5, -0.5, 0.499, -6, 0.75, 0.499, -6, 0.75, 0.499, -9.5, 1.75, 0.499, -20.25, 1.75, 0.499, -24.25, -0.75, 0.499, -24.25, -1, 0.499, -20.25, -0.5, 0.499, -13, 0.75, 0.499, -12.75, 0, 0.499, -13.25, -0.5, 0.499, -16.5, -0.25, 0.499, -15.25, 24.25, 0.499, -22, 24.25, 0.499, -24.25, 21.25, 0.499, -24.25, 2.5, 0.499, -19.75, 4.5, 0.499, -24.25, 24.25, 0.499, -10.25, 24.25, 0.499, -12.75, 15.75, 0.499, -24.25, 24.25, 0.499, -19.75, 7.25, 0.499, -24.25, 18.5, 0.499, -24.25, 24.25, 0.499, -17.5, 10, 0.499, -24.25, 24.25, 0.499, -5.5, 24.25, 0.499, -8, 2.5, 0.499, -9.25, 2.5, 0.499, -5.75, 24.25, 0.499, -15, 2.5, 0.499, -16.25, 13, 0.499, -24.25, 2.5, 0.499, -12.75, -21.5, 0.499, -15.5, -24.25, 0.499, -15.5, -24.25, 0.499, -13.25, -24.25, 0.499, 21.75, -24.25, 0.499, 24.25, -21.5, 0.499, 24.25, -2.25, 0.499, -12.75, -2.25, 0.499, -15.5, -5, 0.499, -15.5, -24.25, 0.499, -10.75, -24.25, 0.499, 19.25, -2.25, 0.499, -10, -7.75, 0.499, -15.5, -18.75, 0.499, -15.5, -24.25, 0.499, -8.25, -18.75, 0.499, 24.25, -24.25, 0.499, 16.75, -1.5, 0.499, -3.75, -2.25, 0.499, -4.25, -24.25, 0.499, 4.25, -24.25, 0.499, 6.75, -4.5, 0.499, 24.25, -1.5, 0.499, 24.25, -24.25, 0.499, 9.25, -10.25, 0.499, 24.25, -7.25, 0.499, 24.25, -2.25, 0.499, -7.25, -10.5, 0.499, -15.5, -16, 0.499, -15.5, -24.25, 0.499, -5.75, -16, 0.499, 24.25, -24.25, 0.499, 14.25, -13.25, 0.499, -15.5, -24.25, 0.499, -3.25, -24.25, 0.499, -0.75, -24.25, 0.499, 11.75, -13, 0.499, 24.25, -24.25, 0.499, 1.75, 0.75, 0.499, -4.25, -0.5, 0.499, -4.25, 1.75, 0.499, -3.75, 1.75, 0.499, 24.25, 21.25, 0.499, 24.25, 24.25, 0.499, 24.25, 24.25, 0.499, 20.5, 18.5, 0.499, 24.25, 15.75, 0.499, 24.25, 24.25, 0.499, 16.75, 13, 0.499, 24.25, 7.25, 0.499, 24.25, 24.25, 0.499, 13, 24.25, 0.499, 9.25, 4.5, 0.499, 24.25, 10, 0.499, 24.25, 24.25, 0.499, 1.75, 2.5, 0.499, -4.25, 24.25, 0.499, 5.5, 24.25, 0.499, -2)
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(6, 5, 7), PackedInt32Array(7, 5, 8), PackedInt32Array(5, 11, 8), PackedInt32Array(8, 11, 9), PackedInt32Array(9, 11, 10), PackedInt32Array(14, 13, 15), PackedInt32Array(15, 13, 12), PackedInt32Array(15, 12, 16), PackedInt32Array(18, 17, 4), PackedInt32Array(4, 17, 3), PackedInt32Array(9, 10, 19), PackedInt32Array(19, 10, 20), PackedInt32Array(18, 16, 17), PackedInt32Array(17, 16, 12), PackedInt32Array(23, 22, 21), PackedInt32Array(21, 22, 20), PackedInt32Array(24, 23, 25), PackedInt32Array(25, 23, 21), PackedInt32Array(20, 22, 19), PackedInt32Array(26, 14, 15), PackedInt32Array(14, 26, 27), PackedInt32Array(27, 26, 28), PackedInt32Array(7, 29, 6), PackedInt32Array(6, 29, 31), PackedInt32Array(31, 29, 28), PackedInt32Array(28, 29, 30), PackedInt32Array(28, 30, 27), PackedInt32Array(35, 34, 32), PackedInt32Array(32, 34, 33), PackedInt32Array(39, 38, 36), PackedInt32Array(36, 38, 37), PackedInt32Array(43, 42, 40), PackedInt32Array(40, 42, 41), PackedInt32Array(45, 42, 44), PackedInt32Array(44, 42, 43), PackedInt32Array(47, 35, 46), PackedInt32Array(46, 35, 32), PackedInt32Array(36, 45, 39), PackedInt32Array(39, 45, 44), PackedInt32Array(49, 47, 48), PackedInt32Array(48, 47, 46), PackedInt32Array(38, 49, 37), PackedInt32Array(37, 49, 48), PackedInt32Array(52, 51, 53), PackedInt32Array(53, 51, 50), PackedInt32Array(57, 56, 54), PackedInt32Array(54, 56, 55), PackedInt32Array(53, 61, 52), PackedInt32Array(52, 61, 58), PackedInt32Array(58, 61, 60), PackedInt32Array(58, 60, 59), PackedInt32Array(64, 63, 62), PackedInt32Array(62, 63, 57), PackedInt32Array(62, 57, 54), PackedInt32Array(40, 41, 61), PackedInt32Array(61, 41, 60), PackedInt32Array(66, 65, 50), PackedInt32Array(50, 65, 53), PackedInt32Array(64, 62, 66), PackedInt32Array(66, 62, 65), PackedInt32Array(69, 68, 67), PackedInt32Array(58, 59, 70), PackedInt32Array(70, 59, 71), PackedInt32Array(74, 73, 72), PackedInt32Array(69, 67, 75), PackedInt32Array(70, 71, 76), PackedInt32Array(75, 78, 69), PackedInt32Array(69, 78, 77), PackedInt32Array(70, 76, 79), PackedInt32Array(81, 80, 74), PackedInt32Array(74, 80, 82), PackedInt32Array(82, 80, 83), PackedInt32Array(78, 84, 77), PackedInt32Array(77, 84, 74), PackedInt32Array(79, 86, 70), PackedInt32Array(70, 86, 85), PackedInt32Array(74, 72, 81), PackedInt32Array(82, 87, 74), PackedInt32Array(74, 84, 73), PackedInt32Array(86, 74, 85), PackedInt32Array(85, 74, 87), PackedInt32Array(90, 89, 88), PackedInt32Array(93, 92, 91), PackedInt32Array(96, 95, 94), PackedInt32Array(97, 90, 88), PackedInt32Array(93, 91, 98), PackedInt32Array(94, 99, 96), PackedInt32Array(96, 99, 100), PackedInt32Array(88, 101, 97), PackedInt32Array(97, 101, 102), PackedInt32Array(93, 98, 103), PackedInt32Array(103, 98, 104), PackedInt32Array(106, 105, 107), PackedInt32Array(107, 105, 108), PackedInt32Array(108, 105, 109), PackedInt32Array(109, 105, 110), PackedInt32Array(111, 108, 112), PackedInt32Array(112, 108, 113), PackedInt32Array(109, 113, 108), PackedInt32Array(99, 114, 100), PackedInt32Array(100, 114, 115), PackedInt32Array(102, 101, 117), PackedInt32Array(117, 101, 116), PackedInt32Array(103, 104, 118), PackedInt32Array(118, 104, 119), PackedInt32Array(122, 121, 120), PackedInt32Array(123, 111, 124), PackedInt32Array(124, 111, 112), PackedInt32Array(125, 122, 120), PackedInt32Array(115, 114, 120), PackedInt32Array(120, 114, 106), PackedInt32Array(120, 106, 125), PackedInt32Array(125, 106, 107), PackedInt32Array(117, 116, 121), PackedInt32Array(121, 116, 120), PackedInt32Array(119, 123, 118), PackedInt32Array(118, 123, 124), PackedInt32Array(127, 55, 126), PackedInt32Array(126, 55, 56), PackedInt32Array(126, 128, 127), PackedInt32Array(127, 128, 105), PackedInt32Array(105, 128, 129), PackedInt32Array(105, 129, 110), PackedInt32Array(132, 131, 130), PackedInt32Array(132, 130, 133), PackedInt32Array(132, 133, 134), PackedInt32Array(134, 136, 132), PackedInt32Array(132, 136, 135), PackedInt32Array(137, 140, 138), PackedInt32Array(138, 140, 139), PackedInt32Array(136, 141, 135), PackedInt32Array(135, 141, 138), PackedInt32Array(143, 142, 128), PackedInt32Array(128, 142, 144), PackedInt32Array(138, 141, 137), PackedInt32Array(83, 80, 143), PackedInt32Array(143, 80, 145), PackedInt32Array(144, 139, 128), PackedInt32Array(128, 139, 140), PackedInt32Array(128, 140, 129), PackedInt32Array(143, 145, 142)] polygons = [PackedInt32Array(2, 1, 3), PackedInt32Array(3, 1, 0), PackedInt32Array(3, 0, 4), PackedInt32Array(6, 5, 7), PackedInt32Array(7, 5, 8), PackedInt32Array(10, 9, 11), PackedInt32Array(11, 9, 12), PackedInt32Array(5, 13, 8), PackedInt32Array(8, 13, 14), PackedInt32Array(17, 16, 15), PackedInt32Array(15, 16, 12), PackedInt32Array(13, 4, 14), PackedInt32Array(14, 4, 0), PackedInt32Array(18, 17, 19), PackedInt32Array(19, 17, 15), PackedInt32Array(22, 21, 20), PackedInt32Array(20, 21, 10), PackedInt32Array(10, 21, 9), PackedInt32Array(12, 16, 11), PackedInt32Array(23, 2, 3), PackedInt32Array(2, 23, 24), PackedInt32Array(24, 23, 25), PackedInt32Array(26, 22, 27), PackedInt32Array(27, 22, 20), PackedInt32Array(26, 29, 30), PackedInt32Array(30, 29, 25), PackedInt32Array(25, 29, 28), PackedInt32Array(25, 28, 24), PackedInt32Array(27, 29, 26), PackedInt32Array(34, 33, 31), PackedInt32Array(31, 33, 32), PackedInt32Array(38, 37, 35), PackedInt32Array(35, 37, 36), PackedInt32Array(42, 41, 39), PackedInt32Array(39, 41, 40), PackedInt32Array(44, 41, 43), PackedInt32Array(43, 41, 42), PackedInt32Array(46, 34, 45), PackedInt32Array(45, 34, 31), PackedInt32Array(35, 44, 38), PackedInt32Array(38, 44, 43), PackedInt32Array(48, 46, 47), PackedInt32Array(47, 46, 45), PackedInt32Array(37, 48, 36), PackedInt32Array(36, 48, 47), PackedInt32Array(51, 50, 52), PackedInt32Array(52, 50, 49), PackedInt32Array(56, 55, 53), PackedInt32Array(53, 55, 54), PackedInt32Array(52, 60, 51), PackedInt32Array(51, 60, 57), PackedInt32Array(57, 60, 59), PackedInt32Array(57, 59, 58), PackedInt32Array(63, 62, 61), PackedInt32Array(61, 62, 56), PackedInt32Array(61, 56, 53), PackedInt32Array(39, 40, 60), PackedInt32Array(60, 40, 59), PackedInt32Array(65, 64, 49), PackedInt32Array(49, 64, 52), PackedInt32Array(63, 61, 65), PackedInt32Array(65, 61, 64), PackedInt32Array(68, 67, 66), PackedInt32Array(57, 58, 69), PackedInt32Array(69, 58, 70), PackedInt32Array(73, 72, 71), PackedInt32Array(68, 66, 74), PackedInt32Array(69, 70, 75), PackedInt32Array(74, 77, 68), PackedInt32Array(68, 77, 76), PackedInt32Array(69, 75, 78), PackedInt32Array(80, 79, 73), PackedInt32Array(73, 79, 81), PackedInt32Array(81, 79, 82), PackedInt32Array(77, 83, 76), PackedInt32Array(76, 83, 73), PackedInt32Array(78, 85, 69), PackedInt32Array(69, 85, 84), PackedInt32Array(73, 71, 80), PackedInt32Array(81, 86, 73), PackedInt32Array(73, 83, 72), PackedInt32Array(85, 73, 84), PackedInt32Array(84, 73, 86), PackedInt32Array(89, 88, 87), PackedInt32Array(92, 91, 90), PackedInt32Array(95, 94, 93), PackedInt32Array(96, 89, 87), PackedInt32Array(92, 90, 97), PackedInt32Array(93, 98, 95), PackedInt32Array(95, 98, 99), PackedInt32Array(87, 100, 96), PackedInt32Array(96, 100, 101), PackedInt32Array(92, 97, 102), PackedInt32Array(102, 97, 103), PackedInt32Array(105, 104, 106), PackedInt32Array(106, 104, 107), PackedInt32Array(107, 104, 108), PackedInt32Array(108, 104, 109), PackedInt32Array(110, 107, 111), PackedInt32Array(111, 107, 112), PackedInt32Array(108, 112, 107), PackedInt32Array(98, 113, 99), PackedInt32Array(99, 113, 114), PackedInt32Array(101, 100, 116), PackedInt32Array(116, 100, 115), PackedInt32Array(102, 103, 117), PackedInt32Array(117, 103, 118), PackedInt32Array(121, 120, 119), PackedInt32Array(122, 110, 123), PackedInt32Array(123, 110, 111), PackedInt32Array(124, 121, 119), PackedInt32Array(114, 113, 119), PackedInt32Array(119, 113, 105), PackedInt32Array(119, 105, 124), PackedInt32Array(124, 105, 106), PackedInt32Array(116, 115, 120), PackedInt32Array(120, 115, 119), PackedInt32Array(118, 122, 117), PackedInt32Array(117, 122, 123), PackedInt32Array(126, 54, 125), PackedInt32Array(125, 54, 55), PackedInt32Array(125, 127, 126), PackedInt32Array(126, 127, 104), PackedInt32Array(104, 127, 128), PackedInt32Array(104, 128, 109), PackedInt32Array(131, 130, 129), PackedInt32Array(131, 129, 132), PackedInt32Array(131, 132, 133), PackedInt32Array(133, 135, 131), PackedInt32Array(131, 135, 134), PackedInt32Array(136, 139, 137), PackedInt32Array(137, 139, 138), PackedInt32Array(135, 140, 134), PackedInt32Array(134, 140, 137), PackedInt32Array(142, 141, 127), PackedInt32Array(127, 141, 143), PackedInt32Array(137, 140, 136), PackedInt32Array(82, 79, 142), PackedInt32Array(142, 79, 144), PackedInt32Array(143, 138, 127), PackedInt32Array(127, 138, 139), PackedInt32Array(127, 139, 128), PackedInt32Array(142, 144, 141)]
geometry_parsed_geometry_type = 1 geometry_parsed_geometry_type = 1
geometry_collision_mask = 4278190081 geometry_collision_mask = 4278190081
agent_height = 2.0 agent_height = 2.0
@ -59,7 +60,7 @@ data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0,
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u8j4k"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u8j4k"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6) data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e2fuu"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hv7qb"]
resource_local_to_scene = true resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu") albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0 metallic = 1.0
@ -85,7 +86,7 @@ _surfaces = [{
}] }]
blend_shape_mode = 0 blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_hv7qb"] [sub_resource type="ArrayMesh" id="ArrayMesh_wxmii"]
resource_local_to_scene = true resource_local_to_scene = true
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), "aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -94,7 +95,7 @@ _surfaces = [{
"index_count": 84, "index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), "index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], "lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_e2fuu"), "material": SubResource("StandardMaterial3D_hv7qb"),
"name": "Cube", "name": "Cube",
"primitive": 3, "primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0), "uv_scale": Vector4(0, 0, 0, 0),
@ -104,7 +105,7 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_isly2") shadow_mesh = SubResource("ArrayMesh_isly2")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wxmii"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nsdlh"]
resource_local_to_scene = true resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu") albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0 metallic = 1.0
@ -115,7 +116,7 @@ normal_texture = ExtResource("8_wxmii")
ao_enabled = true ao_enabled = true
texture_filter = 2 texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_nsdlh"] [sub_resource type="ArrayMesh" id="ArrayMesh_br5h1"]
resource_local_to_scene = true resource_local_to_scene = true
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), "aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -124,7 +125,7 @@ _surfaces = [{
"index_count": 84, "index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), "index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], "lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_wxmii"), "material": SubResource("StandardMaterial3D_nsdlh"),
"name": "Cube", "name": "Cube",
"primitive": 3, "primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0), "uv_scale": Vector4(0, 0, 0, 0),
@ -134,7 +135,7 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_isly2") shadow_mesh = SubResource("ArrayMesh_isly2")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_br5h1"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qluxd"]
resource_local_to_scene = true resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu") albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0 metallic = 1.0
@ -145,7 +146,7 @@ normal_texture = ExtResource("8_wxmii")
ao_enabled = true ao_enabled = true
texture_filter = 2 texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_qluxd"] [sub_resource type="ArrayMesh" id="ArrayMesh_h6xp0"]
resource_local_to_scene = true resource_local_to_scene = true
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), "aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -154,7 +155,7 @@ _surfaces = [{
"index_count": 84, "index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), "index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], "lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_br5h1"), "material": SubResource("StandardMaterial3D_qluxd"),
"name": "Cube", "name": "Cube",
"primitive": 3, "primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0), "uv_scale": Vector4(0, 0, 0, 0),
@ -240,7 +241,7 @@ data = PackedVector3Array(-1, 0, 0.2, -1, -0.4, 0, -1, 0, -0.2, -1, 0, -0.2, -1,
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_o1heh"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_o1heh"]
data = PackedVector3Array(-1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 3, -1.5, -1.5, 3, -1.5, -1.5, 0, 1.5, -1.5, 3, 1.5, -1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, 1.5, 1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, -1.5, 1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, 1.5, -1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, -1.5) data = PackedVector3Array(-1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 3, -1.5, -1.5, 3, -1.5, -1.5, 0, 1.5, -1.5, 3, 1.5, -1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, 1.5, 1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, -1.5, 1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, 1.5, -1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, -1.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h6xp0"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_irt7r"]
resource_local_to_scene = true resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu") albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0 metallic = 1.0
@ -266,7 +267,7 @@ _surfaces = [{
}] }]
blend_shape_mode = 0 blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_irt7r"] [sub_resource type="ArrayMesh" id="ArrayMesh_olej6"]
resource_local_to_scene = true resource_local_to_scene = true
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), "aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -275,7 +276,7 @@ _surfaces = [{
"index_count": 84, "index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), "index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], "lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_h6xp0"), "material": SubResource("StandardMaterial3D_irt7r"),
"name": "Cube", "name": "Cube",
"primitive": 3, "primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0), "uv_scale": Vector4(0, 0, 0, 0),
@ -323,9 +324,13 @@ shadow_mesh = SubResource("ArrayMesh_h1nog")
data = PackedVector3Array(-0.7, 0, 0.14, -0.7, -0.28, 0, -0.7, 0, -0.14, -0.7, 0, -0.14, -0.7, -0.28, 0, 0.7, 0, -0.14, 0.7, 0, -0.14, -0.7, -0.28, 0, 0.7, -0.28, 0, 0.7, 0, -0.14, 0.7, -0.28, 0, 0.7, 0, 0.14, 0.7, 0, 0.14, 0.7, -0.28, 0, -0.7, 0, 0.14, -0.7, 0, 0.14, 0.7, -0.28, 0, -0.7, -0.28, 0, -0.7, 0, -0.14, 0.7, 0, -0.14, -0.7, 0, 0.14, -0.7, 0, 0.14, 0.7, 0, -0.14, 0.7, 0, 0.14) data = PackedVector3Array(-0.7, 0, 0.14, -0.7, -0.28, 0, -0.7, 0, -0.14, -0.7, 0, -0.14, -0.7, -0.28, 0, 0.7, 0, -0.14, 0.7, 0, -0.14, -0.7, -0.28, 0, 0.7, -0.28, 0, 0.7, 0, -0.14, 0.7, -0.28, 0, 0.7, 0, 0.14, 0.7, 0, 0.14, 0.7, -0.28, 0, -0.7, 0, 0.14, -0.7, 0, 0.14, 0.7, -0.28, 0, -0.7, -0.28, 0, -0.7, 0, -0.14, 0.7, 0, -0.14, -0.7, 0, 0.14, -0.7, 0, 0.14, 0.7, 0, -0.14, 0.7, 0, 0.14)
[node name="PathingTest" type="Node3D"] [node name="PathingTest" type="Node3D"]
script = ExtResource("1_hv7qb")
id = "pathing_test"
pretty_name = "NPC Pathing Test"
[node name="Player" parent="." instance=ExtResource("1_fgk6j")] [node name="Player" parent="." instance=ExtResource("1_fgk6j")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
godmode = true
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.866025, -0.156955, -0.474726, 0.5, 0.271854, 0.82225, 0, -0.949453, 0.31391, 0, 0, 0) transform = Transform3D(0.866025, -0.156955, -0.474726, 0.5, 0.271854, 0.82225, 0, -0.949453, 0.31391, 0, 0, 0)
@ -337,7 +342,7 @@ environment = SubResource("Environment_pwykw")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.7, 1.5, -18.3) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.7, 1.5, -18.3)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
navigation_mesh = SubResource("NavigationMesh_gyhlh") navigation_mesh = SubResource("NavigationMesh_hv7qb")
[node name="WorldFloor" type="StaticBody3D" parent="NavigationRegion3D" groups=["PlasticMaterial"]] [node name="WorldFloor" type="StaticBody3D" parent="NavigationRegion3D" groups=["PlasticMaterial"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0)
@ -375,17 +380,17 @@ source_gunk_material = ExtResource("7_nsdlh")
[node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")] [node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5.9) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5.9)
mesh = SubResource("ArrayMesh_hv7qb") mesh = SubResource("ArrayMesh_wxmii")
skeleton = NodePath("") skeleton = NodePath("")
[node name="CrateLong3" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")] [node name="CrateLong3" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3.9) transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3.9)
mesh = SubResource("ArrayMesh_nsdlh") mesh = SubResource("ArrayMesh_br5h1")
skeleton = NodePath("") skeleton = NodePath("")
[node name="CrateLong2" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")] [node name="CrateLong2" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5.9) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5.9)
mesh = SubResource("ArrayMesh_qluxd") mesh = SubResource("ArrayMesh_h6xp0")
skeleton = NodePath("") skeleton = NodePath("")
[node name="FloatingDust" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("10_br5h1")] [node name="FloatingDust" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("10_br5h1")]
@ -521,7 +526,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -1.5)
[node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway3" instance=ExtResource("5_18csx")] [node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway3" instance=ExtResource("5_18csx")]
transform = Transform3D(-4.37114e-08, -0.965926, 0.258819, 1.77636e-15, 0.258819, 0.965926, -1, 4.2222e-08, -1.13133e-08, 1.06072, 0.789149, 6.6) transform = Transform3D(-4.37114e-08, -0.965926, 0.258819, 1.77636e-15, 0.258819, 0.965926, -1, 4.2222e-08, -1.13133e-08, 1.06072, 0.789149, 6.6)
mesh = SubResource("ArrayMesh_irt7r") mesh = SubResource("ArrayMesh_olej6")
skeleton = NodePath("../..") skeleton = NodePath("../..")
[node name="T-Junction2" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"] [node name="T-Junction2" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]

View File

@ -8,7 +8,7 @@
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_l64ek"] [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_l64ek"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="7_fk1xc"] [ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="7_fk1xc"]
[ext_resource type="Material" uid="uid://byyjoruj8mwe0" path="res://levels/sandbox/debug_gunk_mat.tres" id="7_sh2xs"] [ext_resource type="Material" uid="uid://byyjoruj8mwe0" path="res://levels/sandbox/debug_gunk_mat.tres" id="7_sh2xs"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_tpfln"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_tpfln"]
[ext_resource type="ArrayMesh" uid="uid://5jt7xxr05lw3" path="res://assets/level/hallway/hallway_2.mesh" id="8_hrvvi"] [ext_resource type="ArrayMesh" uid="uid://5jt7xxr05lw3" path="res://assets/level/hallway/hallway_2.mesh" id="8_hrvvi"]
[ext_resource type="ArrayMesh" uid="uid://o6k7ebet848p" path="res://assets/level/hallway/hallway_3.mesh" id="9_2roq2"] [ext_resource type="ArrayMesh" uid="uid://o6k7ebet848p" path="res://assets/level/hallway/hallway_3.mesh" id="9_2roq2"]
[ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="9_p27ol"] [ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="9_p27ol"]

View File

@ -288,7 +288,8 @@ script = ExtResource("2_hknvo")
surface_material_override/0 = SubResource("StandardMaterial3D_aj7tk") surface_material_override/0 = SubResource("StandardMaterial3D_aj7tk")
[node name="StaticBody3D" type="StaticBody3D" parent="Frame" index="0" groups=["MetalMaterial"]] [node name="StaticBody3D" type="StaticBody3D" parent="Frame" index="0" groups=["MetalMaterial"]]
collision_layer = 5 collision_layer = 100
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Frame/StaticBody3D" index="0"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Frame/StaticBody3D" index="0"]
shape = SubResource("ConcavePolygonShape3D_88qrs") shape = SubResource("ConcavePolygonShape3D_88qrs")
@ -309,6 +310,7 @@ surface_material_override/0 = SubResource("StandardMaterial3D_gk4si")
[node name="StaticBody3D" type="StaticBody3D" parent="Door" index="0" groups=["MetalMaterial"]] [node name="StaticBody3D" type="StaticBody3D" parent="Door" index="0" groups=["MetalMaterial"]]
collision_layer = 5 collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/StaticBody3D" index="0"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Door/StaticBody3D" index="0"]
shape = SubResource("ConcavePolygonShape3D_w7oba") shape = SubResource("ConcavePolygonShape3D_w7oba")
@ -319,6 +321,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.9, 0)
stream = ExtResource("5_4jho1") stream = ExtResource("5_4jho1")
[node name="Ramp" type="StaticBody3D" parent="." index="4" groups=["MetalMaterial"]] [node name="Ramp" type="StaticBody3D" parent="." index="4" groups=["MetalMaterial"]]
collision_layer = 32
collision_mask = 0
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp" index="0"] [node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp" index="0"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0.1, 0.525) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0.1, 0.525)

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://6nrac2ciprd4" path="res://assets/props/cafe_table/cafe_table_N.png" id="3_4grlf"] [ext_resource type="Texture2D" uid="uid://6nrac2ciprd4" path="res://assets/props/cafe_table/cafe_table_N.png" id="3_4grlf"]
[ext_resource type="Texture2D" uid="uid://dryw5kjktefst" path="res://assets/props/cafe_table/cafe_table_R.png" id="4_naoko"] [ext_resource type="Texture2D" uid="uid://dryw5kjktefst" path="res://assets/props/cafe_table/cafe_table_R.png" id="4_naoko"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_atatm"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_atatm"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="8_4grlf"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="8_4grlf"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q50g7"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q50g7"]
albedo_texture = ExtResource("1_8c2wd") albedo_texture = ExtResource("1_8c2wd")

View File

@ -7,7 +7,7 @@
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_q4djj"] [ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_q4djj"]
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_eb8p8"] [ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_eb8p8"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_064yj"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_064yj"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_rlyiq"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="7_rlyiq"]
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="8_p8srg"] [ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="8_p8srg"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8j27j"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8j27j"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_d06p6"] [ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_d06p6"]
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_cmp6v"] [ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_cmp6v"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_agrnx"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_agrnx"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="6_c6a2t"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="6_c6a2t"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5pe4w"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5pe4w"]
albedo_texture = ExtResource("2_oy2vn") albedo_texture = ExtResource("2_oy2vn")

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://c0qid1gqplbly" path="res://assets/props/cupboard/cupboard_N.png" id="3_ssqwt"] [ext_resource type="Texture2D" uid="uid://c0qid1gqplbly" path="res://assets/props/cupboard/cupboard_N.png" id="3_ssqwt"]
[ext_resource type="Texture2D" uid="uid://cdmgbmje8ub3y" path="res://assets/props/cupboard/cupboard_R.png" id="4_q3cl1"] [ext_resource type="Texture2D" uid="uid://cdmgbmje8ub3y" path="res://assets/props/cupboard/cupboard_R.png" id="4_q3cl1"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_wyuua"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_wyuua"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="8_rgfsf"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="8_rgfsf"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyuua"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyuua"]
albedo_texture = ExtResource("1_00yk4") albedo_texture = ExtResource("1_00yk4")

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://sksndhqyo2bn" path="res://src/props/physics/persistent_prop.gd" id="1_3jm8i"] [ext_resource type="Script" uid="uid://sksndhqyo2bn" path="res://src/props/physics/persistent_prop.gd" id="1_3jm8i"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="1_fu1y0"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="1_fu1y0"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="2_8v7ae"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="2_8v7ae"]
[ext_resource type="ArrayMesh" uid="uid://b3p2eh3b8jg4r" path="res://assets/props/med_cart/med_cart.obj" id="3_3jm8i"] [ext_resource type="ArrayMesh" uid="uid://b3p2eh3b8jg4r" path="res://assets/props/med_cart/med_cart.obj" id="3_3jm8i"]
[ext_resource type="Texture2D" uid="uid://biqh5uq67dl55" path="res://assets/props/med_cart/med_cart_C.png" id="4_r1b3g"] [ext_resource type="Texture2D" uid="uid://biqh5uq67dl55" path="res://assets/props/med_cart/med_cart_C.png" id="4_r1b3g"]
[ext_resource type="Texture2D" uid="uid://bds4qx6kqhplb" path="res://assets/props/med_cart/med_cart_M.png" id="5_u14ky"] [ext_resource type="Texture2D" uid="uid://bds4qx6kqhplb" path="res://assets/props/med_cart/med_cart_M.png" id="5_u14ky"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://v4j34fh4vm06" path="res://assets/props/med_cart/med_cart_N.png" id="4_yjujg"] [ext_resource type="Texture2D" uid="uid://v4j34fh4vm06" path="res://assets/props/med_cart/med_cart_N.png" id="4_yjujg"]
[ext_resource type="Texture2D" uid="uid://bcnsofhrfxyjk" path="res://assets/props/med_cart/med_cart_R.png" id="5_6xe2u"] [ext_resource type="Texture2D" uid="uid://bcnsofhrfxyjk" path="res://assets/props/med_cart/med_cart_R.png" id="5_6xe2u"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_cp525"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_cp525"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_n1l4q"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="7_n1l4q"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ygl0i"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ygl0i"]
transparency = 2 transparency = 2

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://uk3m431m6r0" path="res://assets/props/operating_table/operating_table_N.png" id="4_mevr1"] [ext_resource type="Texture2D" uid="uid://uk3m431m6r0" path="res://assets/props/operating_table/operating_table_N.png" id="4_mevr1"]
[ext_resource type="Texture2D" uid="uid://c4u3qvdtyoq4a" path="res://assets/props/operating_table/operating_table_R.png" id="5_lcrh2"] [ext_resource type="Texture2D" uid="uid://c4u3qvdtyoq4a" path="res://assets/props/operating_table/operating_table_R.png" id="5_lcrh2"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_mevr1"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_mevr1"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_lcrh2"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_lcrh2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lhd0e"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lhd0e"]
albedo_texture = ExtResource("2_73alj") albedo_texture = ExtResource("2_73alj")

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://buxuntbbfwvfg" path="res://assets/props/overhead_light/overhead_light_burnout_N.png" id="3_vg5ej"] [ext_resource type="Texture2D" uid="uid://buxuntbbfwvfg" path="res://assets/props/overhead_light/overhead_light_burnout_N.png" id="3_vg5ej"]
[ext_resource type="Texture2D" uid="uid://c40m0iq5tot1a" path="res://assets/props/overhead_light/overhead_light_burnout_R.png" id="4_0f8x7"] [ext_resource type="Texture2D" uid="uid://c40m0iq5tot1a" path="res://assets/props/overhead_light/overhead_light_burnout_R.png" id="4_0f8x7"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_1oo6x"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_1oo6x"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="6_8nypc"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="6_8nypc"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_niury"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_niury"]
albedo_texture = ExtResource("1_1oo6x") albedo_texture = ExtResource("1_1oo6x")

View File

@ -7,7 +7,7 @@
[ext_resource type="Texture2D" uid="uid://bh2jmk7jfjmyr" path="res://assets/props/overhead_light/overhead_light_M.png" id="3_ngq1d"] [ext_resource type="Texture2D" uid="uid://bh2jmk7jfjmyr" path="res://assets/props/overhead_light/overhead_light_M.png" id="3_ngq1d"]
[ext_resource type="Texture2D" uid="uid://no4s7dsg8tih" path="res://assets/props/overhead_light/overhead_light_N.png" id="4_3gl0p"] [ext_resource type="Texture2D" uid="uid://no4s7dsg8tih" path="res://assets/props/overhead_light/overhead_light_N.png" id="4_3gl0p"]
[ext_resource type="Texture2D" uid="uid://cr5e4hk33wmwf" path="res://assets/props/overhead_light/overhead_light_R.png" id="5_210ch"] [ext_resource type="Texture2D" uid="uid://cr5e4hk33wmwf" path="res://assets/props/overhead_light/overhead_light_R.png" id="5_210ch"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="8_3gl0p"] [ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_overlay_bright.material" id="8_3gl0p"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="10_ljcul"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="10_ljcul"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ljcul"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ljcul"]

View File

@ -5,7 +5,7 @@
[ext_resource type="Texture2D" uid="uid://dgyk61lmv3q66" path="res://assets/props/railing/railing_M.png" id="3_vgbo1"] [ext_resource type="Texture2D" uid="uid://dgyk61lmv3q66" path="res://assets/props/railing/railing_M.png" id="3_vgbo1"]
[ext_resource type="Texture2D" uid="uid://cd142v5tbh10j" path="res://assets/props/railing/railing_N.png" id="4_d75t1"] [ext_resource type="Texture2D" uid="uid://cd142v5tbh10j" path="res://assets/props/railing/railing_N.png" id="4_d75t1"]
[ext_resource type="Texture2D" uid="uid://tpweuhaqj3uy" path="res://assets/props/railing/railing_R.png" id="5_557y4"] [ext_resource type="Texture2D" uid="uid://tpweuhaqj3uy" path="res://assets/props/railing/railing_R.png" id="5_557y4"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_vgbo1"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="7_vgbo1"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="8_d75t1"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="8_d75t1"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nyaqk"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nyaqk"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://c0fmlt2f7h0l7" path="res://assets/props/sofa/sofa_N.png" id="5_p1o88"] [ext_resource type="Texture2D" uid="uid://c0fmlt2f7h0l7" path="res://assets/props/sofa/sofa_N.png" id="5_p1o88"]
[ext_resource type="Texture2D" uid="uid://bgedr6qe65yve" path="res://assets/props/sofa/sofa_R.png" id="6_xa6g3"] [ext_resource type="Texture2D" uid="uid://bgedr6qe65yve" path="res://assets/props/sofa/sofa_R.png" id="6_xa6g3"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_twcgi"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="7_twcgi"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="8_pr1sr"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="8_pr1sr"]
[ext_resource type="ArrayMesh" uid="uid://bc4otwcwsiu2m" path="res://assets/props/sofa/sofa_bottom_cushion.obj" id="9_p1o88"] [ext_resource type="ArrayMesh" uid="uid://bc4otwcwsiu2m" path="res://assets/props/sofa/sofa_bottom_cushion.obj" id="9_p1o88"]
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="10_xa6g3"] [ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="10_xa6g3"]
[ext_resource type="ArrayMesh" uid="uid://drr1wn0wmt5bi" path="res://assets/props/sofa/sofa_top_cushion.obj" id="11_yib26"] [ext_resource type="ArrayMesh" uid="uid://drr1wn0wmt5bi" path="res://assets/props/sofa/sofa_top_cushion.obj" id="11_yib26"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://c0fmlt2f7h0l7" path="res://assets/props/sofa/sofa_N.png" id="4_gvxvv"] [ext_resource type="Texture2D" uid="uid://c0fmlt2f7h0l7" path="res://assets/props/sofa/sofa_N.png" id="4_gvxvv"]
[ext_resource type="Texture2D" uid="uid://bgedr6qe65yve" path="res://assets/props/sofa/sofa_R.png" id="5_v4bqu"] [ext_resource type="Texture2D" uid="uid://bgedr6qe65yve" path="res://assets/props/sofa/sofa_R.png" id="5_v4bqu"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_oo3l6"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_oo3l6"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_84i3a"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_84i3a"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dd1m6"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dd1m6"]
albedo_texture = ExtResource("2_8uuk4") albedo_texture = ExtResource("2_8uuk4")

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://2eg8lmfp1r45" path="res://assets/props/tarp_crate/tarp_crate_N.png" id="3_vis60"] [ext_resource type="Texture2D" uid="uid://2eg8lmfp1r45" path="res://assets/props/tarp_crate/tarp_crate_N.png" id="3_vis60"]
[ext_resource type="Texture2D" uid="uid://i031i4c162sf" path="res://assets/props/tarp_crate/tarp_crate_R.png" id="4_p1cm3"] [ext_resource type="Texture2D" uid="uid://i031i4c162sf" path="res://assets/props/tarp_crate/tarp_crate_R.png" id="4_p1cm3"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_p1cm3"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_p1cm3"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="6_vis60"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="6_vis60"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qbm60"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qbm60"]
transparency = 2 transparency = 2

View File

@ -7,7 +7,7 @@
[ext_resource type="Texture2D" uid="uid://c1ksjm73dg0jy" path="res://assets/props/trash_can/trash_can_N.png" id="4_g1iq2"] [ext_resource type="Texture2D" uid="uid://c1ksjm73dg0jy" path="res://assets/props/trash_can/trash_can_N.png" id="4_g1iq2"]
[ext_resource type="Texture2D" uid="uid://b8wb1tr3lpdap" path="res://assets/props/trash_can/trash_can_R.png" id="5_gtvu8"] [ext_resource type="Texture2D" uid="uid://b8wb1tr3lpdap" path="res://assets/props/trash_can/trash_can_R.png" id="5_gtvu8"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_teaen"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_teaen"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_7amwm"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="7_7amwm"]
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="9_kxk5h"] [ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="9_kxk5h"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_kxk5h"] [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_kxk5h"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://c1ksjm73dg0jy" path="res://assets/props/trash_can/trash_can_N.png" id="4_o6pi7"] [ext_resource type="Texture2D" uid="uid://c1ksjm73dg0jy" path="res://assets/props/trash_can/trash_can_N.png" id="4_o6pi7"]
[ext_resource type="Texture2D" uid="uid://b8wb1tr3lpdap" path="res://assets/props/trash_can/trash_can_R.png" id="5_m8g0a"] [ext_resource type="Texture2D" uid="uid://b8wb1tr3lpdap" path="res://assets/props/trash_can/trash_can_R.png" id="5_m8g0a"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_dmpmb"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_dmpmb"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_c2e1y"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="7_c2e1y"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7ctwk"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7ctwk"]
albedo_texture = ExtResource("2_hbp6j") albedo_texture = ExtResource("2_hbp6j")

View File

@ -7,7 +7,7 @@
[ext_resource type="Texture2D" uid="uid://8v7jta2qdvut" path="res://assets/props/vending_machine/vending_machine_N.png" id="4_m0mqe"] [ext_resource type="Texture2D" uid="uid://8v7jta2qdvut" path="res://assets/props/vending_machine/vending_machine_N.png" id="4_m0mqe"]
[ext_resource type="Texture2D" uid="uid://gbvtbiurxrop" path="res://assets/props/vending_machine/vending_machine_R.png" id="5_pmvmu"] [ext_resource type="Texture2D" uid="uid://gbvtbiurxrop" path="res://assets/props/vending_machine/vending_machine_R.png" id="5_pmvmu"]
[ext_resource type="Script" uid="uid://jybe7wejrtuj" path="res://src/props/vending_machine/vending_machine.gd" id="6_5b31a"] [ext_resource type="Script" uid="uid://jybe7wejrtuj" path="res://src/props/vending_machine/vending_machine.gd" id="6_5b31a"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="8_b7lht"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="8_b7lht"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="10_8xld6"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="10_8xld6"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v4lrk"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v4lrk"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://bur4dtt4irwgd" path="res://assets/props/wall_switch/wall_switch_M.png" id="3_3fhmv"] [ext_resource type="Texture2D" uid="uid://bur4dtt4irwgd" path="res://assets/props/wall_switch/wall_switch_M.png" id="3_3fhmv"]
[ext_resource type="Texture2D" uid="uid://ddve6jcfcuthx" path="res://assets/props/wall_switch/wall_switch_N.png" id="4_pg3hp"] [ext_resource type="Texture2D" uid="uid://ddve6jcfcuthx" path="res://assets/props/wall_switch/wall_switch_N.png" id="4_pg3hp"]
[ext_resource type="Texture2D" uid="uid://rq5e0a3sco88" path="res://assets/props/wall_switch/wall_switch_R.png" id="5_555wb"] [ext_resource type="Texture2D" uid="uid://rq5e0a3sco88" path="res://assets/props/wall_switch/wall_switch_R.png" id="5_555wb"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="8_2qpft"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_overlay_lowrez.material" id="8_2qpft"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="9_eim2y"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="9_eim2y"]
[ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="10_qw6jt"] [ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="10_qw6jt"]
[ext_resource type="AudioStream" uid="uid://bgayfws34lg7q" path="res://assets/sfx/click_electronic_04.wav" id="11_7shuc"] [ext_resource type="AudioStream" uid="uid://bgayfws34lg7q" path="res://assets/sfx/click_electronic_04.wav" id="11_7shuc"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://bd7up85yqwurw" path="res://assets/props/wire_shelves/wire_shelves_N.png" id="4_hb7yx"] [ext_resource type="Texture2D" uid="uid://bd7up85yqwurw" path="res://assets/props/wire_shelves/wire_shelves_N.png" id="4_hb7yx"]
[ext_resource type="Texture2D" uid="uid://dqphwq5u125hf" path="res://assets/props/wire_shelves/wire_shelves_R.png" id="5_ap18a"] [ext_resource type="Texture2D" uid="uid://dqphwq5u125hf" path="res://assets/props/wire_shelves/wire_shelves_R.png" id="5_ap18a"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_pg3d3"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_pg3d3"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_hb7yx"] [ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk_overlay.material" id="7_hb7yx"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t12qs"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t12qs"]
transparency = 2 transparency = 2

View File

@ -19,10 +19,6 @@ uniform vec2 uv_scale = vec2(1.0);
uniform float time_scale = 1.0; uniform float time_scale = 1.0;
uniform float edge_bleed = 0.25;
uniform sampler2D gunk_mask;
uniform highp sampler3D gunk_noise; uniform highp sampler3D gunk_noise;
uniform highp sampler3D gunk_normal_map; uniform highp sampler3D gunk_normal_map;
@ -80,12 +76,4 @@ void fragment() {
EMISSION = emission; EMISSION = emission;
SPECULAR = 0.5 * inversesqrt(specular_contribution); SPECULAR = 0.5 * inversesqrt(specular_contribution);
NORMAL_MAP = texture(gunk_normal_map, uvt).xyz; NORMAL_MAP = texture(gunk_normal_map, uvt).xyz;
float mask = texture(gunk_mask, UV).r;
// soften edges
NORMAL_MAP *= smoothstep(1.0, 0.0, mask);
// Hardish edge
ALPHA = hardstep(1.0 - mask + edge_bleed);
} }

View File

@ -1,108 +0,0 @@
shader_type spatial;
render_mode cull_back;
uniform vec4 color_1: source_color = vec4(0.0, 0.03, 0.1, 1.0);
uniform vec4 color_2: source_color = vec4(0.0, 0.1, 0.3, 1.0);
uniform vec4 color_3: source_color = vec4(0.1, 0.35, 0.4, 1.0);
uniform highp float spin_rotation;
uniform highp vec2 offset = vec2(0.0, 0.0);
uniform highp float contrast = 2.0;
uniform highp float spin_amount = 0.36;
uniform highp float pixel_filter = 700.0;
#define SPIN_EASE 1.0
uniform float convolution_factor = 0.05;
uniform float roughness: hint_range(0.0, 1.0) = 0.15;
uniform float specular_contribution = 0.2;
// Used ONLY by the gunk, does not affect the gunk mask.
uniform vec2 uv_scale = vec2(1.0);
uniform float time_scale = 1.0;
uniform float edge_bleed = 0.1;
uniform sampler2D gunk_mask;
float brightness(vec3 color) {
return 0.2 * color.r + 0.7 * color.g + 0.1 * color.b;
}
// Balatro-esque effect
vec4 effect(highp vec2 scaled_uv) {
// Pixellate
highp vec2 uv = floor(scaled_uv.xy * pixel_filter) / pixel_filter - 0.5 - offset;
highp float uv_len = length(uv);
// Adding in a center swirl, changes with time. Only applies meaningfully if `spin_amount` != 0
highp float speed = 0.2 * SPIN_EASE * spin_rotation + 302.2;
highp float new_px_angle = atan(uv.y, uv.x) + speed - 20.0 * SPIN_EASE * uv_len;
uv = uv_len * vec2(cos(new_px_angle), sin(new_px_angle));
// Now add the paint effect to the swirled uvec2
uv *= 30.0;
speed = TIME * time_scale;
highp vec2 uv2 = vec2(uv.x + uv.y);
for(int i = 0; i < 5; i++) {
uv2 += sin(max(uv.x, uv.y)) + uv;
uv += 0.5 * vec2(cos(5.1123314 + 0.353 * uv2.y + 0.131121 * speed), sin(uv2.x - 0.113 * speed));
uv -= cos(uv.x + uv.y) - 1.0 * sin(0.711 * uv.x - uv.y);
}
// Adjust contrast & clamp on [0, 2]
highp float contrast_mod = 0.25 * contrast + 0.5 * spin_amount + 1.2;
highp float paint_res = clamp(0.035 * contrast_mod * length(uv), 0.0, 2.0);
highp float c1p = max(0.0, 1.0 - contrast_mod * abs(1.0 - paint_res));
highp float c2p = max(0.0, 1.0 - contrast_mod * abs(paint_res));
highp float c3p = 1.0 - min(1.0, c1p + c2p);
return 0.3 * color_1 / contrast + (color_1 * c1p + color_2 * c2p + vec4(c3p * color_3.rgb, c3p * color_1.a)) * (1.0 - 0.3 / contrast);
}
float hardstep(float value) {
float x = clamp(value, 0.0, 1.0);
return 0.5 * tanh( (20.0 * x - 10.0) * inversesqrt(x - x * x) ) + 0.5;
}
void fragment() {
vec2 local_uv = UV * uv_scale;
vec4 effect_color = effect(local_uv);
float value = brightness(effect_color.rgb);
float roughness_mix = value * roughness;
ALBEDO = effect_color.rgb;
ROUGHNESS = roughness_mix;
SPECULAR = 0.5 * inversesqrt(specular_contribution);
// Convolutional normal map
float sample_step = convolution_factor / pixel_filter;
float n = sqrt(brightness(effect(vec2(local_uv.x, local_uv.y - sample_step)).rgb));
float s = sqrt(brightness(effect(vec2(local_uv.x, local_uv.y + sample_step)).rgb));
float e = sqrt(brightness(effect(vec2(local_uv.x + sample_step, local_uv.y)).rgb));
float w = sqrt(brightness(effect(vec2(local_uv.x - sample_step, local_uv.y)).rgb));
float x = 0.5 * (w - e) + 0.5;
float y = 0.5 * (s - n) + 0.5;
NORMAL_MAP = vec3(x, y, clamp(1.0 - abs(x - 0.5) + abs(y - 0.5), 0.5, 1));
float mask = texture(gunk_mask, UV).r;
// soften edges
NORMAL_MAP *= smoothstep(1.0, 0.0, mask);
/*
// Hard edge
if(mask + edge_bleed < 0.5) {
ALPHA = 1.0;
} else {
ALPHA = 0.0;
}
*/
// Hardish edge
ALPHA = hardstep(1.0 - mask + edge_bleed);
}

View File

@ -1 +0,0 @@
uid://b4bkd8buorhyy

View File

@ -0,0 +1,73 @@
shader_type spatial;
render_mode depth_prepass_alpha;
group_uniforms gunk_material;
uniform vec3 color_1: source_color = vec3(0.0, 0.03, 0.1);
uniform vec3 color_2: source_color = vec3(0.0, 0.1, 0.3);
uniform vec3 emission_color: source_color = vec3(0.25, 0.88, 1.0);
uniform float pixellation = 128.0;
uniform float time_pixellation = 30.0;
uniform float roughness: hint_range(0.0, 1.0) = 0.15;
uniform float specular_contribution = 0.8;
uniform float emission_strength = 0.05;
uniform float normal_scale = 1.0;
// Used ONLY by the gunk, does not affect the gunk mask.
uniform vec2 uv_scale = vec2(1.0);
uniform float time_scale = 1.0;
uniform float edge_bleed = 0.25;
uniform sampler2D gunk_mask;
uniform highp sampler3D gunk_noise;
uniform highp sampler3D gunk_normal_map;
group_uniforms overlay;
uniform sampler2D overlay_albedo: hint_default_transparent, filter_nearest;
uniform sampler2D overlay_emission: hint_default_transparent, filter_nearest;
uniform float overlay_emission_scale = 1.0;
float hardstep(float value) {
float x = clamp(value, 0.0, 1.0);
return 0.5 * tanh( (20.0 * x - 10.0) * inversesqrt(x - x * x) ) + 0.5;
}
void fragment() {
vec2 local_uv = floor(UV * uv_scale * pixellation) / pixellation;
float local_time = floor(TIME * time_scale * time_pixellation) / time_pixellation;
// swirl
vec3 uvt = vec3(local_uv.x, local_uv.y, local_time);
uvt.x += sin(uvt.y * 1.54 * PI + uvt.z) * cos(uvt.y * 1.31 * PI + uvt.z) * 0.2;
uvt.y += cos(uvt.x * 1.74 * PI + uvt.z) * -sin(uvt.y * 1.64 * PI + uvt.z) * 0.2;
float value = texture(gunk_noise, uvt).r;
vec3 color = mix(color_1, color_2, value);
vec3 emission = (1.0 - value) * emission_color * emission_strength;
// overlay texture
vec4 overlay_color = texture(overlay_albedo, UV);
color = mix(color, overlay_color.rgb, overlay_color.a);
vec4 overlay_em = texture(overlay_emission, UV);
emission = mix(emission, overlay_em.rgb * overlay_emission_scale, overlay_em.a);
ALBEDO = color.rgb;
ROUGHNESS = value * roughness;
EMISSION = emission;
SPECULAR = 0.5 * inversesqrt(specular_contribution);
NORMAL_MAP = texture(gunk_normal_map, uvt).xyz;
float mask = texture(gunk_mask, UV).r;
// soften edges
NORMAL_MAP *= smoothstep(1.0, 0.0, mask);
// Hardish edge
ALPHA = hardstep(1.0 - mask + edge_bleed);
}

View File

@ -0,0 +1 @@
uid://o1vaioor4435

View File

@ -10,6 +10,9 @@ class_name SetPlayerPriorityTarget extends ActionLeaf
func tick(_actor: Node, blackboard: Blackboard) -> int: func tick(_actor: Node, blackboard: Blackboard) -> int:
if not World.instance:
return FAILURE
if World.instance.manager.alert_level >= alert_threshold and is_instance_valid(Player.instance): if World.instance.manager.alert_level >= alert_threshold and is_instance_valid(Player.instance):
blackboard.set_value(blackboard_key, Player.instance) blackboard.set_value(blackboard_key, Player.instance)
return SUCCESS return SUCCESS

View File

@ -6,8 +6,8 @@ const STALKING_SOUND_LIMIT := 25.0
#endregion #endregion
#region Exported Properties #region Exported Properties
@export var base_speed := 60.0 @export var base_speed := 80.0
@export var pursuit_speed := 180.0 @export var pursuit_speed := 360.0
@export var debug_destroy: bool: @export var debug_destroy: bool:
set(value): set(value):
@ -24,7 +24,7 @@ var pathfinding := true
var traversing_link := false var traversing_link := false
@onready var model: BeastModel = %SlutchBeast @onready var model: BeastModel = %Shambler
@onready var nav_agent: NavigationAgent3D = %NavAgent @onready var nav_agent: NavigationAgent3D = %NavAgent
@onready var nav_probe: NavigationAgent3D = %NavProbe @onready var nav_probe: NavigationAgent3D = %NavProbe
@ -103,6 +103,7 @@ func _physics_process(delta: float) -> void:
if motion: if motion:
model.set_target_rotation(atan2(motion.x, motion.z)) model.set_target_rotation(atan2(motion.x, motion.z))
model.set_move_speed(velocity.length())
move_and_slide() move_and_slide()

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=35 format=3 uid="uid://ehf5sg3ahvbf"] [gd_scene load_steps=35 format=3 uid="uid://ehf5sg3ahvbf"]
[ext_resource type="PackedScene" uid="uid://brrd33217oplv" path="res://src/world/grunk_beast/shambler/shambler.tscn" id="2_csisu"]
[ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="2_lak6w"] [ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="2_lak6w"]
[ext_resource type="Script" uid="uid://gwwmqwixqqr5" path="res://src/world/grunk_beast/grunk_beast.gd" id="2_qqnhb"] [ext_resource type="Script" uid="uid://gwwmqwixqqr5" path="res://src/world/grunk_beast/grunk_beast.gd" id="2_qqnhb"]
[ext_resource type="PackedScene" uid="uid://cvq81xegbwv87" path="res://src/world/grunk_beast/slutch_beast/slutch_beast.tscn" id="2_xs4mp"]
[ext_resource type="Script" uid="uid://fpfcg6s7b1nj" path="res://src/world/grunk_beast/navigation.gd" id="4_csisu"] [ext_resource type="Script" uid="uid://fpfcg6s7b1nj" path="res://src/world/grunk_beast/navigation.gd" id="4_csisu"]
[ext_resource type="Script" uid="uid://cfsiyhhrcua6o" path="res://src/world/game_sound/game_sound_listener.gd" id="5_3gbao"] [ext_resource type="Script" uid="uid://cfsiyhhrcua6o" path="res://src/world/game_sound/game_sound_listener.gd" id="5_3gbao"]
[ext_resource type="Script" uid="uid://bb0t2ovl7wifo" path="res://addons/beehave/nodes/beehave_tree.gd" id="6_d4ex2"] [ext_resource type="Script" uid="uid://bb0t2ovl7wifo" path="res://addons/beehave/nodes/beehave_tree.gd" id="6_d4ex2"]
@ -55,11 +55,12 @@ script = ExtResource("2_qqnhb")
[node name="FrameSkipper" type="Node3D" parent="."] [node name="FrameSkipper" type="Node3D" parent="."]
script = ExtResource("2_lak6w") script = ExtResource("2_lak6w")
frame_skip = 4 frame_skip = 3
[node name="SlutchBeast" parent="FrameSkipper" instance=ExtResource("2_xs4mp")] [node name="Shambler" parent="FrameSkipper" instance=ExtResource("2_csisu")]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
time_scale_factor = 3.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_faau1") shape = SubResource("CapsuleShape3D_faau1")
@ -71,7 +72,6 @@ script = ExtResource("4_csisu")
[node name="NavAgent" type="NavigationAgent3D" parent="Navigation"] [node name="NavAgent" type="NavigationAgent3D" parent="Navigation"]
unique_name_in_owner = true unique_name_in_owner = true
path_height_offset = 0.25 path_height_offset = 0.25
path_postprocessing = 1
avoidance_enabled = true avoidance_enabled = true
debug_enabled = true debug_enabled = true
@ -218,7 +218,7 @@ metadata/_custom_type_script = "uid://om57w2acvgb7"
script = ExtResource("11_mbqcc") script = ExtResource("11_mbqcc")
mean_time = 4.0 mean_time = 4.0
st_dev_time = 0.6 st_dev_time = 0.6
wait_time = 3.60136 wait_time = 4.5337
metadata/_custom_type_script = "uid://beyk2xtbjrsg4" metadata/_custom_type_script = "uid://beyk2xtbjrsg4"
[node name="RandomStalkingBehavior" type="Node" parent="GrunkBeastBehavior/StateSelector/StalkingSequence/RandomDelay"] [node name="RandomStalkingBehavior" type="Node" parent="GrunkBeastBehavior/StateSelector/StalkingSequence/RandomDelay"]
@ -264,7 +264,7 @@ metadata/_custom_type_script = "uid://cg016dbe7gs1x"
script = ExtResource("11_mbqcc") script = ExtResource("11_mbqcc")
mean_time = 5.0 mean_time = 5.0
st_dev_time = 1.0 st_dev_time = 1.0
wait_time = 4.47443 wait_time = 4.81689
metadata/_custom_type_script = "uid://beyk2xtbjrsg4" metadata/_custom_type_script = "uid://beyk2xtbjrsg4"
[node name="PickRandomLurkTarget" type="Node" parent="GrunkBeastBehavior/StateSelector/LurkSequence/RandomDelay"] [node name="PickRandomLurkTarget" type="Node" parent="GrunkBeastBehavior/StateSelector/LurkSequence/RandomDelay"]

View File

@ -0,0 +1,62 @@
class_name Shambler extends BeastModel
## Animation controller for the Shambler beast
const LOOK_TARGET_ACCELERATION := 12.0
const BLEND_ACCELERATION := 6.0
@export var time_scale_factor := 4.0
@export var walk_blend_curve: Curve
@export var walk_scale_curve: Curve
@export var look_accel_curve: Curve
var look_acceleration := 1.0
var blend_target := 0.0
@onready var target_theta := global_rotation.y
@onready var armature: Node3D = %Armature
@onready var animation_player: AnimationPlayer = %AnimationPlayer
@onready var animation_tree: AnimationTree = %AnimationTree
@onready var look_target_pivot: Node3D = %LookTargetPivot
func _ready() -> void:
animation_player.speed_scale = time_scale_factor
_update_transform()
func set_target_rotation(theta: float) -> void:
target_theta = theta
func set_move_speed(speed: float) -> void:
blend_target = walk_blend_curve.sample(speed)
animation_tree["parameters/shamble_scale/scale"] = (
walk_scale_curve.sample(speed) * time_scale_factor
)
look_acceleration = look_accel_curve.sample(speed)
func _update_transform() -> void:
# Manually update transform to enable frameskipping
armature.global_position = global_position
armature.global_rotation = global_rotation
func _process(delta: float) -> void:
var blend: float = animation_tree["parameters/shamble_blend/blend_amount"]
animation_tree["parameters/shamble_blend/blend_amount"] = lerpf(
blend, blend_target, 1 - exp(-BLEND_ACCELERATION * delta * time_scale_factor)
)
look_target_pivot.global_position = global_position
look_target_pivot.global_rotation.y = lerp_angle(
look_target_pivot.global_rotation.y,
target_theta,
1 - exp(-LOOK_TARGET_ACCELERATION * delta * time_scale_factor)
)
global_rotation.y = lerp_angle(
global_rotation.y, target_theta, 1 - exp(-look_acceleration * delta * time_scale_factor)
)
_update_transform()

View File

@ -0,0 +1 @@
uid://bueq1q2qva7gs

View File

@ -0,0 +1,117 @@
[gd_scene load_steps=15 format=3 uid="uid://brrd33217oplv"]
[ext_resource type="PackedScene" uid="uid://cyqr1ojnddyk0" path="res://assets/npc/shambler/shambler.gltf" id="1_uiw1a"]
[ext_resource type="Material" uid="uid://7xrgrvf3lymv" path="res://assets/npc/shambler/shambler.material" id="2_nayyt"]
[ext_resource type="Script" uid="uid://bueq1q2qva7gs" path="res://src/world/grunk_beast/shambler/shambler.gd" id="2_s7rwx"]
[sub_resource type="Curve" id="Curve_s7rwx"]
_limits = [0.0, 1.0, 0.0, 10.0]
_data = [Vector2(0, 0), 0.0, 0.230666, 0, 0, Vector2(5, 1), 0.0, 0.0, 0, 0, Vector2(10, 1), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="Curve" id="Curve_vmxrd"]
_limits = [0.0, 3.0, 0.0, 10.0]
_data = [Vector2(4, 1), 0.141612, 0.141612, 0, 0, Vector2(5, 1.2), 0.327899, 0.327899, 0, 0, Vector2(10, 3), 0.392484, 0.0, 0, 0]
point_count = 3
[sub_resource type="Curve" id="Curve_elp7k"]
_limits = [0.0, 6.0, 0.0, 10.0]
_data = [Vector2(2, 1), 0.0, 0.0, 0, 0, Vector2(4, 3), 0.953378, 0.953378, 0, 0, Vector2(10, 6), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nayyt"]
animation = &"idle"
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_nayyt"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_s7rwx"]
animation = &"shamble"
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_vmxrd"]
[sub_resource type="AnimationNodeOneShot" id="AnimationNodeOneShot_s7rwx"]
mix_mode = 1
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_vmxrd"]
animation = &"step_left"
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_nayyt"]
graph_offset = Vector2(-970.678, -40.9846)
nodes/idle_anim/node = SubResource("AnimationNodeAnimation_nayyt")
nodes/idle_anim/position = Vector2(-460, 20)
nodes/output/position = Vector2(500, 160)
nodes/shamble_blend/node = SubResource("AnimationNodeBlend2_nayyt")
nodes/shamble_blend/position = Vector2(20, 180)
nodes/shamble_cycle/node = SubResource("AnimationNodeAnimation_s7rwx")
nodes/shamble_cycle/position = Vector2(-460, 280)
nodes/shamble_scale/node = SubResource("AnimationNodeTimeScale_vmxrd")
nodes/shamble_scale/position = Vector2(-220, 280)
nodes/step_action/node = SubResource("AnimationNodeOneShot_s7rwx")
nodes/step_action/position = Vector2(260, 140)
nodes/step_anim/node = SubResource("AnimationNodeAnimation_vmxrd")
nodes/step_anim/position = Vector2(40, 460)
node_connections = [&"output", 0, &"step_action", &"shamble_blend", 0, &"idle_anim", &"shamble_blend", 1, &"shamble_scale", &"shamble_scale", 0, &"shamble_cycle", &"step_action", 0, &"shamble_blend", &"step_action", 1, &"step_anim"]
[sub_resource type="SphereMesh" id="SphereMesh_s7rwx"]
[node name="Shambler" instance=ExtResource("1_uiw1a")]
script = ExtResource("2_s7rwx")
walk_blend_curve = SubResource("Curve_s7rwx")
walk_scale_curve = SubResource("Curve_vmxrd")
look_accel_curve = SubResource("Curve_elp7k")
[node name="Armature" parent="." index="0"]
unique_name_in_owner = true
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
top_level = true
[node name="Shambler" parent="Armature/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource("2_nayyt")
[node name="LookIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="1"]
target_node = NodePath("../../../LookTargetPivot/LookTarget")
bone_name = "Spine.005"
bone = 5
forward_axis = 2
primary_rotation_axis = 2
use_secondary_rotation = false
use_angle_limitation = true
symmetry_limitation = true
primary_limit_angle = 1.5708
primary_damp_threshold = 0.7
[node name="ArmLIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="2"]
bone_name = "Arm.L.002"
bone = 8
forward_axis = 2
primary_rotation_axis = 2
[node name="ArmRIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="3"]
bone_name = "Arm.R.002"
bone = 11
forward_axis = 2
primary_rotation_axis = 2
[node name="AnimationPlayer" parent="." index="1"]
unique_name_in_owner = true
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
unique_name_in_owner = true
root_node = NodePath("%AnimationTree/..")
tree_root = SubResource("AnimationNodeBlendTree_nayyt")
anim_player = NodePath("../AnimationPlayer")
parameters/shamble_blend/blend_amount = 0.0
parameters/shamble_scale/scale = 1.0
parameters/step_action/active = false
parameters/step_action/internal_active = false
parameters/step_action/request = 0
[node name="LookTargetPivot" type="Node3D" parent="." index="3"]
unique_name_in_owner = true
top_level = true
[node name="LookTarget" type="Marker3D" parent="LookTargetPivot" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
[node name="MeshInstance3D" type="MeshInstance3D" parent="LookTargetPivot/LookTarget" index="0"]
mesh = SubResource("SphereMesh_s7rwx")

View File

@ -1,11 +1,10 @@
[gd_scene load_steps=34 format=3 uid="uid://kctp5erogwcb"] [gd_scene load_steps=33 format=3 uid="uid://kctp5erogwcb"]
[ext_resource type="Script" uid="uid://bde7cglaqobkd" path="res://src/world/mechanics/listener/listener.gd" id="1_htscg"] [ext_resource type="Script" uid="uid://bde7cglaqobkd" path="res://src/world/mechanics/listener/listener.gd" id="1_htscg"]
[ext_resource type="Script" uid="uid://cfsiyhhrcua6o" path="res://src/world/game_sound/game_sound_listener.gd" id="2_htscg"] [ext_resource type="Script" uid="uid://cfsiyhhrcua6o" path="res://src/world/game_sound/game_sound_listener.gd" id="2_htscg"]
[ext_resource type="PackedScene" uid="uid://c2c0ooj1re3dk" path="res://src/world/mechanics/listener/listener_model.tscn" id="3_r42ft"] [ext_resource type="PackedScene" uid="uid://c2c0ooj1re3dk" path="res://src/world/mechanics/listener/listener_model.tscn" id="3_r42ft"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="4_pp7wn"] [ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="4_gjouv"]
[ext_resource type="Texture2D" uid="uid://cm1jrvx7ftx4c" path="res://assets/black.png" id="5_c5snp"] [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="5_pp7wn"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_m4i7y"]
[ext_resource type="Texture2D" uid="uid://bl1aniu87mioa" path="res://assets/particles/light_02.png" id="7_pp7wn"] [ext_resource type="Texture2D" uid="uid://bl1aniu87mioa" path="res://assets/particles/light_02.png" id="7_pp7wn"]
[sub_resource type="SphereShape3D" id="SphereShape3D_2ibh1"] [sub_resource type="SphereShape3D" id="SphereShape3D_2ibh1"]
@ -17,7 +16,7 @@ height = 256
depth = 32 depth = 32
seamless = true seamless = true
seamless_blend_skirt = 0.5 seamless_blend_skirt = 0.5
noise = ExtResource("6_m4i7y") noise = ExtResource("5_pp7wn")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_fk1xc"] [sub_resource type="NoiseTexture3D" id="NoiseTexture3D_fk1xc"]
width = 256 width = 256
@ -25,7 +24,7 @@ height = 256
depth = 32 depth = 32
seamless = true seamless = true
seamless_blend_skirt = 0.5 seamless_blend_skirt = 0.5
noise = ExtResource("6_m4i7y") noise = ExtResource("5_pp7wn")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_7fplw"] [sub_resource type="FastNoiseLite" id="FastNoiseLite_7fplw"]
frequency = 0.0703 frequency = 0.0703
@ -45,10 +44,10 @@ gradient = SubResource("Gradient_ih22n")
fill = 1 fill = 1
fill_from = Vector2(0.5, 0.5) fill_from = Vector2(0.5, 0.5)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pp7wn"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_c5snp"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("4_pp7wn") shader = ExtResource("4_gjouv")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1) shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1) shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1) shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
@ -60,8 +59,6 @@ shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0 shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(2, 2) shader_parameter/uv_scale = Vector2(2, 2)
shader_parameter/time_scale = 0.2 shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = ExtResource("5_c5snp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_2roq2") shader_parameter/gunk_noise = SubResource("NoiseTexture3D_2roq2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_fk1xc") shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_fk1xc")
shader_parameter/jitter_magnitude = 0.4 shader_parameter/jitter_magnitude = 0.4
@ -78,7 +75,7 @@ height = 256
depth = 32 depth = 32
seamless = true seamless = true
seamless_blend_skirt = 0.5 seamless_blend_skirt = 0.5
noise = ExtResource("6_m4i7y") noise = ExtResource("5_pp7wn")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_c5snp"] [sub_resource type="NoiseTexture3D" id="NoiseTexture3D_c5snp"]
width = 256 width = 256
@ -86,7 +83,7 @@ height = 256
depth = 32 depth = 32
seamless = true seamless = true
seamless_blend_skirt = 0.5 seamless_blend_skirt = 0.5
noise = ExtResource("6_m4i7y") noise = ExtResource("5_pp7wn")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_c5snp"] [sub_resource type="FastNoiseLite" id="FastNoiseLite_c5snp"]
frequency = 0.0703 frequency = 0.0703
@ -97,24 +94,24 @@ height = 32
depth = 128 depth = 128
noise = SubResource("FastNoiseLite_c5snp") noise = SubResource("FastNoiseLite_c5snp")
[sub_resource type="Gradient" id="Gradient_pp7wn"] [sub_resource type="Gradient" id="Gradient_yuift"]
resource_local_to_scene = true resource_local_to_scene = true
offsets = PackedFloat32Array(0, 0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008) offsets = PackedFloat32Array(0, 0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008)
colors = PackedColorArray(0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1) colors = PackedColorArray(0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_c5snp"] [sub_resource type="GradientTexture2D" id="GradientTexture2D_rwi8p"]
resource_local_to_scene = true resource_local_to_scene = true
gradient = SubResource("Gradient_pp7wn") gradient = SubResource("Gradient_yuift")
width = 32 width = 32
height = 32 height = 32
fill = 1 fill = 1
fill_from = Vector2(0.5, 0.5) fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1) fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_m4i7y"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_co1mg"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("4_pp7wn") shader = ExtResource("4_gjouv")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1) shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1) shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.66, 0.943333, 1, 1) shader_parameter/emission_color = Color(0.66, 0.943333, 1, 1)
@ -126,8 +123,6 @@ shader_parameter/emission_strength = 0.2
shader_parameter/normal_scale = 1.0 shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(2, 2) shader_parameter/uv_scale = Vector2(2, 2)
shader_parameter/time_scale = 0.2 shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = ExtResource("5_c5snp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_pp7wn") shader_parameter/gunk_noise = SubResource("NoiseTexture3D_pp7wn")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_c5snp") shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_c5snp")
shader_parameter/jitter_magnitude = 0.4 shader_parameter/jitter_magnitude = 0.4
@ -135,7 +130,7 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/jitter_noise = SubResource("NoiseTexture3D_q7kpl") shader_parameter/jitter_noise = SubResource("NoiseTexture3D_q7kpl")
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission = SubResource("GradientTexture2D_c5snp") shader_parameter/overlay_emission = SubResource("GradientTexture2D_rwi8p")
shader_parameter/overlay_emission_scale = 6.0 shader_parameter/overlay_emission_scale = 6.0
[sub_resource type="Curve" id="Curve_pp7wn"] [sub_resource type="Curve" id="Curve_pp7wn"]
@ -261,15 +256,15 @@ bones/39/rotation = Quaternion(0.148338, 2.72959e-08, 3.46469e-07, 0.988937)
bones/40/rotation = Quaternion(0.237284, 5.07144e-06, -1.68211e-06, 0.97144) bones/40/rotation = Quaternion(0.237284, 5.07144e-06, -1.68211e-06, 0.97144)
[node name="Listener" parent="ListenerModel/Armature/Skeleton3D" index="0"] [node name="Listener" parent="ListenerModel/Armature/Skeleton3D" index="0"]
surface_material_override/0 = SubResource("ShaderMaterial_pp7wn") surface_material_override/0 = SubResource("ShaderMaterial_c5snp")
surface_material_override/1 = SubResource("ShaderMaterial_m4i7y") surface_material_override/1 = SubResource("ShaderMaterial_co1mg")
[node name="PhysicalBoneSimulator3D" type="PhysicalBoneSimulator3D" parent="ListenerModel/Armature/Skeleton3D" index="6"] [node name="PhysicalBoneSimulator3D" type="PhysicalBoneSimulator3D" parent="ListenerModel/Armature/Skeleton3D" index="6"]
[node name="PhysicalBone3D" type="PhysicalBone3D" parent="ListenerModel/Armature/Skeleton3D/PhysicalBoneSimulator3D"] [node name="PhysicalBone3D" type="PhysicalBone3D" parent="ListenerModel/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
transform = Transform3D(0.323524, 1.2631e-06, 1.20741, -3.57116e-07, 1.25, -1.21197e-06, -1.20741, -3.12658e-08, 0.323524, -4.8128e-06, 0.800007, -1.25657e-06) transform = Transform3D(0.323527, 1.2631e-06, 1.20741, -3.57116e-07, 1.25, -1.21197e-06, -1.20741, -3.1263e-08, 0.323527, -4.8128e-06, 0.800007, -1.25658e-06)
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.3854e-08, -5.72204e-06, 3.9816e-06) joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.3854e-08, -5.72204e-06, 3.9816e-06)
body_offset = Transform3D(1.25, 3.57627e-07, -3.57628e-07, -3.57627e-07, 1.25, -1.22189e-06, 3.57628e-07, 1.22189e-06, 1.25, -2.9814e-08, 7.15256e-06, -4.97699e-06) body_offset = Transform3D(1.25, 3.57626e-07, -3.57628e-07, -3.57627e-07, 1.25, -1.22189e-06, 3.57628e-07, 1.22189e-06, 1.25, -2.9814e-08, 7.15256e-06, -4.97699e-06)
bone_name = "Stem5" bone_name = "Stem5"
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ListenerModel/Armature/Skeleton3D/PhysicalBoneSimulator3D/PhysicalBone3D"] [node name="RemoteTransform3D" type="RemoteTransform3D" parent="ListenerModel/Armature/Skeleton3D/PhysicalBoneSimulator3D/PhysicalBone3D"]
@ -292,7 +287,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.14, 0)
shape = SubResource("CylinderShape3D_dqq13") shape = SubResource("CylinderShape3D_dqq13")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."] [node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(0.258814, 1.01046e-06, 0.96591, -2.85687e-07, 0.999981, -9.69562e-07, -0.965905, -2.50122e-08, 0.258815, -3.61278e-06, 0.875006, -1.01113e-06) transform = Transform3D(0.258816, 1.01046e-06, 0.965909, -2.85686e-07, 0.999981, -9.69562e-07, -0.965904, -2.50099e-08, 0.258817, -3.61278e-06, 0.875006, -1.01114e-06)
shape = SubResource("CylinderShape3D_r42ft") shape = SubResource("CylinderShape3D_r42ft")
[node name="CooldownTimer" type="Timer" parent="."] [node name="CooldownTimer" type="Timer" parent="."]

View File

@ -1,11 +1,10 @@
[gd_scene load_steps=34 format=3 uid="uid://c2c0ooj1re3dk"] [gd_scene load_steps=33 format=3 uid="uid://c2c0ooj1re3dk"]
[ext_resource type="PackedScene" uid="uid://coucghe370fff" path="res://assets/grunk/listener/listener.gltf" id="1_lgdkx"] [ext_resource type="PackedScene" uid="uid://coucghe370fff" path="res://assets/grunk/listener/listener.gltf" id="1_lgdkx"]
[ext_resource type="Script" uid="uid://co4gkdwyhdbmc" path="res://src/world/mechanics/listener/listener_model.gd" id="2_yh3g4"] [ext_resource type="Script" uid="uid://co4gkdwyhdbmc" path="res://src/world/mechanics/listener/listener_model.gd" id="2_yh3g4"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="4_q7kpl"] [ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="4_q7kpl"]
[ext_resource type="Animation" uid="uid://dihyn82xf67ou" path="res://assets/grunk/listener/animations/RESET.res" id="4_y4jww"] [ext_resource type="Animation" uid="uid://dihyn82xf67ou" path="res://assets/grunk/listener/animations/RESET.res" id="4_y4jww"]
[ext_resource type="Animation" uid="uid://c236lo5xytxaa" path="res://assets/grunk/listener/animations/idle.res" id="5_3vskp"] [ext_resource type="Animation" uid="uid://c236lo5xytxaa" path="res://assets/grunk/listener/animations/idle.res" id="5_3vskp"]
[ext_resource type="Texture2D" uid="uid://cm1jrvx7ftx4c" path="res://assets/black.png" id="5_6cdu3"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_ftf52"] [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_ftf52"]
[ext_resource type="Animation" uid="uid://bujor2i5icw8c" path="res://assets/grunk/listener/animations/close.res" id="6_ghw47"] [ext_resource type="Animation" uid="uid://bujor2i5icw8c" path="res://assets/grunk/listener/animations/close.res" id="6_ghw47"]
[ext_resource type="Script" uid="uid://cw0vig0h2hpaf" path="res://src/world/mechanics/listener/band_controller.gd" id="7_6cdu3"] [ext_resource type="Script" uid="uid://cw0vig0h2hpaf" path="res://src/world/mechanics/listener/band_controller.gd" id="7_6cdu3"]
@ -61,8 +60,6 @@ shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0 shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(2, 2) shader_parameter/uv_scale = Vector2(2, 2)
shader_parameter/time_scale = 0.2 shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = ExtResource("5_6cdu3")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_2roq2") shader_parameter/gunk_noise = SubResource("NoiseTexture3D_2roq2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_fk1xc") shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_fk1xc")
shader_parameter/jitter_magnitude = 0.4 shader_parameter/jitter_magnitude = 0.4
@ -127,8 +124,6 @@ shader_parameter/emission_strength = 0.2
shader_parameter/normal_scale = 1.0 shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(2, 2) shader_parameter/uv_scale = Vector2(2, 2)
shader_parameter/time_scale = 0.2 shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = ExtResource("5_6cdu3")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_pp7wn") shader_parameter/gunk_noise = SubResource("NoiseTexture3D_pp7wn")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_c5snp") shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_c5snp")
shader_parameter/jitter_magnitude = 0.4 shader_parameter/jitter_magnitude = 0.4

View File

@ -4,7 +4,7 @@
[ext_resource type="Resource" uid="uid://tgac5tnfx56r" path="res://src/world/world_manager.tres" id="2_5kmgb"] [ext_resource type="Resource" uid="uid://tgac5tnfx56r" path="res://src/world/world_manager.tres" id="2_5kmgb"]
[ext_resource type="PackedScene" uid="uid://byvjsvavbg5xe" path="res://src/ui/menus/pause_menu/pause_menu.tscn" id="2_6fy3g"] [ext_resource type="PackedScene" uid="uid://byvjsvavbg5xe" path="res://src/ui/menus/pause_menu/pause_menu.tscn" id="2_6fy3g"]
[ext_resource type="Resource" uid="uid://0i72bf8ip1lx" path="res://src/world/spook_manager.tres" id="3_l0av5"] [ext_resource type="Resource" uid="uid://0i72bf8ip1lx" path="res://src/world/spook_manager.tres" id="3_l0av5"]
[ext_resource type="PackedScene" uid="uid://b8rv6dg4tgaeb" path="res://levels/mechanic_test/mechanic_test.tscn" id="4_5kmgb"] [ext_resource type="PackedScene" uid="uid://dc4tts6342cuj" path="res://levels/prop_test/prop_test.tscn" id="4_5kmgb"]
[ext_resource type="PackedScene" uid="uid://c0uitm5cg88h1" path="res://src/ui/menus/kill_screen/kill_screen.tscn" id="6_l0av5"] [ext_resource type="PackedScene" uid="uid://c0uitm5cg88h1" path="res://src/ui/menus/kill_screen/kill_screen.tscn" id="6_l0av5"]
[ext_resource type="PackedScene" uid="uid://brknr57xc2cp0" path="res://src/ui/elements/save_icon/save_icon.tscn" id="7_5kmgb"] [ext_resource type="PackedScene" uid="uid://brknr57xc2cp0" path="res://src/ui/elements/save_icon/save_icon.tscn" id="7_5kmgb"]