9 Commits

Author SHA1 Message Date
3eca322fdd Updated menu
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 1m23s
2026-02-01 10:07:14 +01:00
4d43e7067f trying to fix mask visibility in build
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 1m23s
2026-02-01 09:49:59 +01:00
db4aa83224 debug build
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 8s
Create tag and build when new code gets to main / Export (push) Successful in 1m20s
2026-02-01 09:46:20 +01:00
3786893384 Fixed score computation and added mouth masks
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 10s
Create tag and build when new code gets to main / Export (push) Successful in 1m22s
2026-02-01 09:40:46 +01:00
1dbafe1940 set back up some masks and a third tuto level
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 1m22s
2026-02-01 08:53:10 +01:00
4e3d70cd61 lvl1 done
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 1m25s
2026-01-31 21:39:23 +01:00
69e5bea39c bro this starts looking good
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 10s
Create tag and build when new code gets to main / Export (push) Successful in 1m26s
2026-01-31 21:21:51 +01:00
c82c768ca8 basic score computing 2026-01-31 21:11:40 +01:00
76234147a2 art and stuff 2026-01-31 19:18:56 +01:00
76 changed files with 1364 additions and 218 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://spbjfmmk8o0s"
path="res://.godot/imported/Perso 3.png-5528d0ec8f6847e61963c325dd7c36e3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/characters/Perso 3.png"
dest_files=["res://.godot/imported/Perso 3.png-5528d0ec8f6847e61963c325dd7c36e3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/BG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c60m6ulhqcbga"
path="res://.godot/imported/BG.png-0111778b752606efe2613948469138d1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/BG.png"
dest_files=["res://.godot/imported/BG.png-0111778b752606efe2613948469138d1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/bell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://coahojeky8ul7"
path="res://.godot/imported/bell.png-27cebb5662dfd9fc14812dd4b93da4a0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/bell.png"
dest_files=["res://.godot/imported/bell.png-27cebb5662dfd9fc14812dd4b93da4a0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dbpdehppn5h8v"
path="res://.godot/imported/entrance_bg_objects.png-2094ffe831825016b999c9f4f9f2efac.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/entrance_bg_objects.png"
dest_files=["res://.godot/imported/entrance_bg_objects.png-2094ffe831825016b999c9f4f9f2efac.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/guest_page.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bl7tflox3huk5"
path="res://.godot/imported/guest_page.png-f5584d726a61db9a41d5e145f295e553.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/guest_page.png"
dest_files=["res://.godot/imported/guest_page.png-f5584d726a61db9a41d5e145f295e553.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cl1a50j64nnlh"
path="res://.godot/imported/guest_page_held.png-3e362d6e51c4f0cac350cea38f5294d5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/guest_page_held.png"
dest_files=["res://.godot/imported/guest_page_held.png-3e362d6e51c4f0cac350cea38f5294d5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/hand_bell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cgl8g5eqy8xm0"
path="res://.godot/imported/hand_bell.png-8625f0032520c2467e9c77147bfec033.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/hand_bell.png"
dest_files=["res://.godot/imported/hand_bell.png-8625f0032520c2467e9c77147bfec033.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/joker_card.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dka1l6m05sgfu"
path="res://.godot/imported/joker_card.png-aac9110f62f7188adc98898207325911.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/joker_card.png"
dest_files=["res://.godot/imported/joker_card.png-aac9110f62f7188adc98898207325911.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ci0eiwg65tru4"
path="res://.godot/imported/joker_in_hand.png-c35f1e54b3abdf1e1ac972c9ebb6a6e6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/joker_in_hand.png"
dest_files=["res://.godot/imported/joker_in_hand.png-c35f1e54b3abdf1e1ac972c9ebb6a6e6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/mask_page.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://f63n7r3s0fs4"
path="res://.godot/imported/mask_page.png-347190794695378e5e5237ac2e50f558.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/mask_page.png"
dest_files=["res://.godot/imported/mask_page.png-347190794695378e5e5237ac2e50f558.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c3bxwu75mcl87"
path="res://.godot/imported/mask_page_held.png-f67cc2dd03522876a591fd919f77c25e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/mask_page_held.png"
dest_files=["res://.godot/imported/mask_page_held.png-f67cc2dd03522876a591fd919f77c25e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://crjrcjpfo53t0"
path="res://.godot/imported/menu.png-6121d253eff00203ec20391aa9b477d2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/menu.png"
dest_files=["res://.godot/imported/menu.png-6121d253eff00203ec20391aa9b477d2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/reception.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ce7wdct4e27e1"
path="res://.godot/imported/reception.png-224e73e09dfcf1c403919d65bccce39f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/reception.png"
dest_files=["res://.godot/imported/reception.png-224e73e09dfcf1c403919d65bccce39f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/decor/table.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bd86sgiucdbx7"
path="res://.godot/imported/table.png-e344fde6860091f2d271dc609f093373.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/table.png"
dest_files=["res://.godot/imported/table.png-e344fde6860091f2d271dc609f093373.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dov4apmrl77jl"
path="res://.godot/imported/table_defeat.png-35fa51313c3e7b5bce8839715fedf6c4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/table_defeat.png"
dest_files=["res://.godot/imported/table_defeat.png-35fa51313c3e7b5bce8839715fedf6c4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bp3nbt23n348t"
path="res://.godot/imported/table_success.png-ebc0ddb23cb84d5c287ce693689df94c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/decor/table_success.png"
dest_files=["res://.godot/imported/table_success.png-ebc0ddb23cb84d5c287ce693689df94c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Bouche 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dr265gon4k377"
path="res://.godot/imported/Bouche 1.png-829bdfefb380a5c2146fb79677a3e54e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Bouche 1.png"
dest_files=["res://.godot/imported/Bouche 1.png-829bdfefb380a5c2146fb79677a3e54e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Bouche 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://02al0mfbvjc1"
path="res://.godot/imported/Bouche 2.png-cef33809e989213ecdcb5eaec450d079.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Bouche 2.png"
dest_files=["res://.godot/imported/Bouche 2.png-cef33809e989213ecdcb5eaec450d079.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Bouche 3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfnvs01ynm55q"
path="res://.godot/imported/Bouche 3.png-51e19461e5a132b25fc8982a596c9ed1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Bouche 3.png"
dest_files=["res://.godot/imported/Bouche 3.png-51e19461e5a132b25fc8982a596c9ed1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Masque 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://sf7sjug1spau"
path="res://.godot/imported/Masque 1.png-eb72e8eb7e9ea0118f13661678749e2c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Masque 1.png"
dest_files=["res://.godot/imported/Masque 1.png-eb72e8eb7e9ea0118f13661678749e2c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Masque 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bi2qq11fbn2yd"
path="res://.godot/imported/Masque 2.png-13d6790879ff2a0556fe608010b08611.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Masque 2.png"
dest_files=["res://.godot/imported/Masque 2.png-13d6790879ff2a0556fe608010b08611.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/masks/Masque 3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b4d451508si3t"
path="res://.godot/imported/Masque 3.png-cb754273338553c9b43425a94be03eb8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/masks/Masque 3.png"
dest_files=["res://.godot/imported/Masque 3.png-cb754273338553c9b43425a94be03eb8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -4,6 +4,10 @@
[ext_resource type="Script" uid="uid://cgj703gjwdvs1" path="res://menus/scenes/menus/main_menu/main_menu_with_animations.gd" id="2_ytpwg"] [ext_resource type="Script" uid="uid://cgj703gjwdvs1" path="res://menus/scenes/menus/main_menu/main_menu_with_animations.gd" id="2_ytpwg"]
[ext_resource type="PackedScene" uid="uid://xkqu58vkydps" path="res://menus/scenes/windows/main_menu_options_window.tscn" id="3_8i6b8"] [ext_resource type="PackedScene" uid="uid://xkqu58vkydps" path="res://menus/scenes/windows/main_menu_options_window.tscn" id="3_8i6b8"]
[ext_resource type="PackedScene" uid="uid://cvweffl7bo7bj" path="res://menus/scenes/windows/main_menu_credits_window.tscn" id="4_t55r5"] [ext_resource type="PackedScene" uid="uid://cvweffl7bo7bj" path="res://menus/scenes/windows/main_menu_credits_window.tscn" id="4_t55r5"]
[ext_resource type="Texture2D" uid="uid://c60m6ulhqcbga" path="res://assets/decor/BG.png" id="5_t55r5"]
[ext_resource type="Texture2D" uid="uid://dbpdehppn5h8v" path="res://assets/decor/entrance_bg_objects.png" id="6_cgy0s"]
[ext_resource type="Texture2D" uid="uid://ce7wdct4e27e1" path="res://assets/decor/reception.png" id="7_l4hix"]
[ext_resource type="Texture2D" uid="uid://crjrcjpfo53t0" path="res://assets/decor/menu.png" id="8_cgy0s"]
[sub_resource type="Animation" id="1"] [sub_resource type="Animation" id="1"]
resource_name = "Intro" resource_name = "Intro"
@@ -327,25 +331,84 @@ tree_root = SubResource("AnimationNodeStateMachine_vikuh")
anim_player = NodePath("../MenuAnimationPlayer") anim_player = NodePath("../MenuAnimationPlayer")
parameters/conditions/intro_done = false parameters/conditions/intro_done = false
[node name="Bg" type="Sprite2D" parent="." index="3" unique_id=1561676140]
position = Vector2(2417.25, 540)
scale = Vector2(0.5, 0.5)
texture = ExtResource("5_t55r5")
[node name="EntranceBgObjects" type="Sprite2D" parent="." index="4" unique_id=545575527]
position = Vector2(967.25, 410)
scale = Vector2(0.5, 0.5)
texture = ExtResource("6_cgy0s")
[node name="Reception" type="Sprite2D" parent="." index="5" unique_id=513064627]
position = Vector2(1063.85, 700)
scale = Vector2(0.5, 0.5)
texture = ExtResource("7_l4hix")
[node name="Menu" type="Sprite2D" parent="." index="6" unique_id=639397146]
position = Vector2(955, 552.25)
scale = Vector2(0.6, 0.6)
texture = ExtResource("8_cgy0s")
[node name="TitleMargin" parent="MenuContainer" index="0"]
theme_override_constants/margin_left = 232
theme_override_constants/margin_top = 141
[node name="TitleContainer" parent="MenuContainer/TitleMargin" index="0"] [node name="TitleContainer" parent="MenuContainer/TitleMargin" index="0"]
modulate = Color(1, 1, 1, 0) modulate = Color(1, 1, 1, 0)
[node name="TitleLabel" parent="MenuContainer/TitleMargin/TitleContainer" index="0"] [node name="TitleLabel" parent="MenuContainer/TitleMargin/TitleContainer" index="0"]
text = "GGJ26" custom_minimum_size = Vector2(200, 0)
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -268.5
offset_right = 67.359985
offset_bottom = 137.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "A majordomo in Venice"
autowrap_mode = 3
script = null
[node name="SubTitleMargin" parent="MenuContainer" index="1"]
theme_override_constants/margin_top = 256
theme_override_constants/margin_right = 84
[node name="SubTitleContainer" parent="MenuContainer/SubTitleMargin" index="0"] [node name="SubTitleContainer" parent="MenuContainer/SubTitleMargin" index="0"]
modulate = Color(1, 1, 1, 0) modulate = Color(1, 1, 1, 0)
[node name="SubTitleLabel" parent="MenuContainer/SubTitleMargin/SubTitleContainer" index="0"]
custom_minimum_size = Vector2(200, 0)
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -100.0
offset_right = 200.0
offset_bottom = 145.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "Make tables plans for the best night possible"
autowrap_mode = 3
[node name="MenuButtonsMargin" parent="MenuContainer" index="2"]
theme_override_constants/margin_top = -177
[node name="MenuButtonsContainer" parent="MenuContainer/MenuButtonsMargin" index="0"] [node name="MenuButtonsContainer" parent="MenuContainer/MenuButtonsMargin" index="0"]
modulate = Color(1, 1, 1, 0) modulate = Color(1, 1, 1, 0)
[node name="MenuButtonsBoxContainer" parent="MenuContainer/MenuButtonsMargin/MenuButtonsContainer" index="0"] [node name="MenuButtonsBoxContainer" parent="MenuContainer/MenuButtonsMargin/MenuButtonsContainer" index="0"]
lock = true lock = true
[node name="OptionsButton" parent="MenuContainer/MenuButtonsMargin/MenuButtonsContainer/MenuButtonsBoxContainer" index="1"]
visible = false
[node name="CreditsButton" parent="MenuContainer/MenuButtonsMargin/MenuButtonsContainer/MenuButtonsBoxContainer" index="2"]
visible = false
[node name="VersionContainer" parent="VersionMargin" index="0"] [node name="VersionContainer" parent="VersionMargin" index="0"]
modulate = Color(1, 1, 1, 0) modulate = Color(1, 1, 1, 0)
[node name="MouseFilter" type="Control" parent="." index="6" unique_id=420264660] [node name="MouseFilter" type="Control" parent="." index="10" unique_id=420264660]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0

View File

@@ -2,27 +2,23 @@
[ext_resource type="Texture2D" uid="uid://dwy3kklywl0ci" path="res://assets/characters/Perso 1.png" id="1_tppor"] [ext_resource type="Texture2D" uid="uid://dwy3kklywl0ci" path="res://assets/characters/Perso 1.png" id="1_tppor"]
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_cyb15"] [ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_cyb15"]
[ext_resource type="Resource" uid="uid://b6614fqoymxur" path="res://resources/traits/silent.tres" id="3_q0kni"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_s53hh"] [ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_s53hh"]
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="4_tppor"] [ext_resource type="Resource" uid="uid://lhskiwag15k" path="res://resources/traits/talkative.tres" id="4_w5qmk"]
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="5_cyb15"] [ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="6_cyb15"]
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="6_tppor"] [ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="7_s53hh"]
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="7_03y2d"] [ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="8_p10lp"]
[resource] [resource]
script = ExtResource("2_cyb15") script = ExtResource("2_cyb15")
name = "Duchex" name = "Duchex"
chara_sprite = ExtResource("1_tppor") chara_sprite = ExtResource("1_tppor")
mask_eyes_position = Vector2(59.355, 227) mask_eyes_position = Vector2(92.37, 201.415)
mask_mouth_position = Vector2(64.8, 432.04) mask_eyes_rotation = -0.017453292519943295
traits = Array[ExtResource("3_s53hh")]([ExtResource("4_tppor"), ExtResource("5_cyb15"), ExtResource("6_tppor"), ExtResource("7_03y2d")]) mask_mouth_position = Vector2(60.92, 208.96)
preferences = Dictionary[int, int]({ mask_mouth_rotation = -0.05235987755982989
0: 0, traits = Array[ExtResource("3_s53hh")]([ExtResource("4_w5qmk"), ExtResource("6_cyb15"), ExtResource("7_s53hh"), ExtResource("8_p10lp")])
2: 0, preferences = Dictionary[ExtResource("3_s53hh"), int]({
3: 0, ExtResource("3_q0kni"): 0
5: 0,
6: 2,
8: 2,
13: 0,
14: 3
}) })
metadata/_custom_type_script = "uid://bwam50qxikpw4" metadata/_custom_type_script = "uid://bwam50qxikpw4"

View File

@@ -1,25 +1,19 @@
[gd_resource type="Resource" script_class="CharacterResource" format=3 uid="uid://gy4ygqrjj5ys"] [gd_resource type="Resource" script_class="CharacterResource" format=3 uid="uid://gy4ygqrjj5ys"]
[ext_resource type="Texture2D" uid="uid://b8xlbx8iub20m" path="res://assets/sprites/sprites by judas la carotte/sprite4 happy.png" id="1_d1fpd"] [ext_resource type="Texture2D" uid="uid://spbjfmmk8o0s" path="res://assets/characters/Perso 3.png" id="1_d1fpd"]
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_ce0p8"] [ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_ce0p8"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_n21sh"] [ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_n21sh"]
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="4_d1fpd"] [ext_resource type="Resource" uid="uid://lhskiwag15k" path="res://resources/traits/talkative.tres" id="3_tvmgq"]
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="5_12asi"] [ext_resource type="Resource" uid="uid://b6614fqoymxur" path="res://resources/traits/silent.tres" id="5_tl7uu"]
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="6_12asi"]
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="7_d1fpd"]
[resource] [resource]
script = ExtResource("2_ce0p8") script = ExtResource("2_ce0p8")
name = "Duke" name = "Duke"
chara_sprite = ExtResource("1_d1fpd") chara_sprite = ExtResource("1_d1fpd")
mask_eyes_position = Vector2(-87.17, -459.345) mask_eyes_rotation = -0.03490658503988659
mask_eyes_rotation = 0.11693705988361988 mask_mouth_position = Vector2(-12.15, 2.27)
mask_mouth_position = Vector2(-60.07, -343.01) traits = Array[ExtResource("3_n21sh")]([ExtResource("5_tl7uu")])
traits = Array[ExtResource("3_n21sh")]([ExtResource("4_d1fpd"), ExtResource("5_12asi"), ExtResource("6_12asi"), ExtResource("7_d1fpd")]) preferences = Dictionary[ExtResource("3_n21sh"), int]({
preferences = Dictionary[int, int]({ ExtResource("3_tvmgq"): 0
5: 0,
6: 0,
8: 3,
11: 0
}) })
metadata/_custom_type_script = "uid://bwam50qxikpw4" metadata/_custom_type_script = "uid://bwam50qxikpw4"

View File

@@ -3,10 +3,6 @@
[ext_resource type="Texture2D" uid="uid://c57s3oksagauh" path="res://assets/sprites/sprites by judas la carotte/sprite3 happy small.png" id="1_k1rnw"] [ext_resource type="Texture2D" uid="uid://c57s3oksagauh" path="res://assets/sprites/sprites by judas la carotte/sprite3 happy small.png" id="1_k1rnw"]
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="3_vvog1"] [ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="3_vvog1"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="4_0s3fj"] [ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="4_0s3fj"]
[ext_resource type="Resource" uid="uid://bc376om20da8m" path="res://resources/traits/royal.tres" id="7_0s3fj"]
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="8_u46dm"]
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="9_fvshn"]
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="10_hcmf1"]
[resource] [resource]
script = ExtResource("3_vvog1") script = ExtResource("3_vvog1")
@@ -16,13 +12,4 @@ mask_eyes_position = Vector2(-21.75, -274.015)
mask_eyes_rotation = 0.06981317007977318 mask_eyes_rotation = 0.06981317007977318
mask_mouth_position = Vector2(-7.63, -186.87) mask_mouth_position = Vector2(-7.63, -186.87)
mask_mouth_rotation = -0.1884955592153878 mask_mouth_rotation = -0.1884955592153878
traits = Array[ExtResource("4_0s3fj")]([ExtResource("8_u46dm"), ExtResource("9_fvshn"), ExtResource("10_hcmf1"), ExtResource("7_0s3fj")])
preferences = Dictionary[int, int]({
4: 0,
6: 0,
11: 1,
12: 3,
13: 0,
14: 1
})
metadata/_custom_type_script = "uid://bwam50qxikpw4" metadata/_custom_type_script = "uid://bwam50qxikpw4"

View File

@@ -3,25 +3,25 @@
[ext_resource type="Texture2D" uid="uid://c726frtpkk1a8" path="res://assets/characters/Perso 2.png" id="1_d1164"] [ext_resource type="Texture2D" uid="uid://c726frtpkk1a8" path="res://assets/characters/Perso 2.png" id="1_d1164"]
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_g8bvo"] [ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_g8bvo"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_dkw07"] [ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_dkw07"]
[ext_resource type="Resource" uid="uid://bc376om20da8m" path="res://resources/traits/royal.tres" id="8_d1164"] [ext_resource type="Resource" uid="uid://lhskiwag15k" path="res://resources/traits/talkative.tres" id="3_y3hrs"]
[ext_resource type="Resource" uid="uid://b6614fqoymxur" path="res://resources/traits/silent.tres" id="4_hdamc"]
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="5_wjlcp"]
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="8_j0xhd"] [ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="8_j0xhd"]
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="9_aywjr"] [ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="9_aywjr"]
[ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="10_tw1u2"] [ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="10_tw1u2"]
[ext_resource type="Resource" uid="uid://deygyo2n88228" path="res://resources/traits/speaks_of_cats.tres" id="11_utmh4"]
[resource] [resource]
script = ExtResource("2_g8bvo") script = ExtResource("2_g8bvo")
name = "Queen" name = "Queen"
chara_sprite = ExtResource("1_d1164") chara_sprite = ExtResource("1_d1164")
mask_eyes_position = Vector2(13.285, 181.09) mask_eyes_position = Vector2(48, 130)
mask_mouth_position = Vector2(26.595, 398.745) mask_eyes_rotation = 0.05235987755982989
traits = Array[ExtResource("3_dkw07")]([ExtResource("9_aywjr"), ExtResource("8_j0xhd"), ExtResource("10_tw1u2"), ExtResource("8_d1164"), ExtResource("11_utmh4")]) mask_mouth_position = Vector2(31.595, 176.245)
preferences = Dictionary[int, int]({ mask_mouth_rotation = 0.017453292519943295
5: 2, traits = Array[ExtResource("3_dkw07")]([ExtResource("3_y3hrs"), ExtResource("9_aywjr"), ExtResource("10_tw1u2"), ExtResource("8_j0xhd")])
6: 0, preferences = Dictionary[ExtResource("3_dkw07"), int]({
9: 2, ExtResource("3_y3hrs"): 4,
11: 3, ExtResource("4_hdamc"): 0,
12: 0, ExtResource("5_wjlcp"): 3
14: 3
}) })
metadata/_custom_type_script = "uid://bwam50qxikpw4" metadata/_custom_type_script = "uid://bwam50qxikpw4"

View File

@@ -1,12 +0,0 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://ctqdbo8xg3v88"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_mu37d"]
[ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="1_vsvkr"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_f07ys"]
[ext_resource type="Resource" uid="uid://cuf1ocb4px4m3" path="res://resources/masks/cat.tres" id="3_4tayd"]
[resource]
script = ExtResource("2_f07ys")
character = ExtResource("1_vsvkr")
masks = Array[ExtResource("1_mu37d")]([ExtResource("3_4tayd")])
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://c25kg6um2k1dy"]
[ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="1_nsuhm"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_lb6bi"]
[ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="2_xmkje"]
[resource]
script = ExtResource("2_lb6bi")
character = ExtResource("1_nsuhm")
mouth_mask = ExtResource("2_xmkje")
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://cfargib0urafc"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="1_cnap1"]
[ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="1_ts6dw"]
[resource]
script = ExtResource("1_cnap1")
character = ExtResource("1_ts6dw")
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://bfvky2dpu6vv0"]
[ext_resource type="Resource" uid="uid://gy4ygqrjj5ys" path="res://resources/characters/duke.tres" id="1_b31ng"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="1_yqugq"]
[resource]
script = ExtResource("1_yqugq")
character = ExtResource("1_b31ng")
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://im83307vumpx"]
[ext_resource type="Resource" uid="uid://wq3g1j3l4gl6" path="res://resources/characters/queen.tres" id="1_8rhpq"]
[ext_resource type="Resource" uid="uid://vsvgpvluq7sh" path="res://resources/masks/blind.tres" id="2_57tio"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_84xil"]
[resource]
script = ExtResource("2_84xil")
character = ExtResource("1_8rhpq")
face_mask = ExtResource("2_57tio")
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -1,12 +0,0 @@
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://ca2fcdibf0mdm"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_ns508"]
[ext_resource type="Resource" uid="uid://wq3g1j3l4gl6" path="res://resources/characters/queen.tres" id="1_xr5g8"]
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_5n8mj"]
[ext_resource type="Resource" uid="uid://cbcqtj8mxngfy" path="res://resources/masks/unracist.tres" id="3_ugmdk"]
[resource]
script = ExtResource("2_5n8mj")
character = ExtResource("1_xr5g8")
masks = Array[ExtResource("1_ns508")]([ExtResource("3_ugmdk")])
metadata/_custom_type_script = "uid://b8peyg02l0mrn"

View File

@@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://vsvgpvluq7sh"]
[ext_resource type="Texture2D" uid="uid://sf7sjug1spau" path="res://assets/masks/Masque 1.png" id="1_ls5lh"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_namv3"]
[resource]
script = ExtResource("1_namv3")
mask_sprite = ExtResource("1_ls5lh")
stimuli_multiplier = 0.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -1,12 +0,0 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://cuf1ocb4px4m3"]
[ext_resource type="Texture2D" uid="uid://buql3bcbqx4pp" path="res://menus/assets/git_logo/Git-Logo-2Color.png" id="1_1u1n5"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="2_ypt8w"]
[resource]
script = ExtResource("2_ypt8w")
mask_sprite = ExtResource("1_1u1n5")
tags_multipliers = Dictionary[int, int]({
12: 0
})
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

11
resources/masks/deaf.tres Normal file
View File

@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://t2n1q71ce4x6"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_ef12a"]
[ext_resource type="Texture2D" uid="uid://bi2qq11fbn2yd" path="res://assets/masks/Masque 2.png" id="1_ubhtg"]
[resource]
script = ExtResource("1_ef12a")
mask_sprite = ExtResource("1_ubhtg")
stimuli = 1
stimuli_multiplier = 0.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://kau80jesm22w"]
[ext_resource type="Texture2D" uid="uid://dr265gon4k377" path="res://assets/masks/Bouche 1.png" id="1_r5drl"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="2_ncal4"]
[resource]
script = ExtResource("2_ncal4")
mask_sprite = ExtResource("1_r5drl")
region = 1
stimuli = 1
stimuli_multiplier = -2.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -1,11 +1,12 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://pdiaprcknftw"] [gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://pdiaprcknftw"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_urvbb"] [ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_urvbb"]
[ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="1_wp4x3"] [ext_resource type="Texture2D" uid="uid://bfnvs01ynm55q" path="res://assets/masks/Bouche 3.png" id="1_wp4x3"]
[resource] [resource]
script = ExtResource("1_urvbb") script = ExtResource("1_urvbb")
mask_sprite = ExtResource("1_wp4x3") mask_sprite = ExtResource("1_wp4x3")
region = 1 region = 1
stimuli = 1 stimuli = 1
stimuli_multiplier = 0.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt" metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://q3o5oxegjx2"]
[ext_resource type="Texture2D" uid="uid://b4d451508si3t" path="res://assets/masks/Masque 3.png" id="1_kk6ma"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_tqqjf"]
[resource]
script = ExtResource("1_tqqjf")
mask_sprite = ExtResource("1_kk6ma")
stimuli = 2
stimuli_multiplier = 0.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://divy6byhpwgs2"]
[ext_resource type="Texture2D" uid="uid://02al0mfbvjc1" path="res://assets/masks/Bouche 2.png" id="1_dunu4"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="2_cle5s"]
[resource]
script = ExtResource("2_cle5s")
mask_sprite = ExtResource("1_dunu4")
region = 1
stimuli = 1
stimuli_multiplier = 2.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -1,12 +0,0 @@
[gd_resource type="Resource" script_class="MaskResource" format=3 uid="uid://cbcqtj8mxngfy"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="1_fs0fy"]
[ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="1_fv3id"]
[resource]
script = ExtResource("1_fs0fy")
mask_sprite = ExtResource("1_fv3id")
mask_transform = null
category = 3
category_multiplier = 0.0
metadata/_custom_type_script = "uid://d26mv2xtvmpqt"

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Trait" format=3 uid="uid://b6614fqoymxur"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_750wv"]
[resource]
script = ExtResource("1_750wv")
name = "silent"
stimulis = Array[int]([1])
metadata/_custom_type_script = "uid://cya40uohlvgbr"

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Trait" format=3 uid="uid://lhskiwag15k"]
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_rcjnw"]
[resource]
script = ExtResource("1_rcjnw")
name = "talkative"
stimulis = Array[int]([1])
metadata/_custom_type_script = "uid://cya40uohlvgbr"

View File

@@ -5,6 +5,5 @@
[resource] [resource]
script = ExtResource("1_msbkw") script = ExtResource("1_msbkw")
name = "young" name = "young"
stimulis = Array[int]([1, 2]) stimulis = Array[int]([1])
tags = Array[int]([0])
metadata/_custom_type_script = "uid://cya40uohlvgbr" metadata/_custom_type_script = "uid://cya40uohlvgbr"

View File

@@ -6,6 +6,7 @@ class_name CharacterResource
enum Preference { enum Preference {
LOVE, LOVE,
APPROVE, APPROVE,
DONT_CARE,
DISAPPROVE, DISAPPROVE,
HATE HATE
} }
@@ -41,4 +42,4 @@ var mask_mouth_rotation : float = 0.0:
@export_category("Traits and preferences") @export_category("Traits and preferences")
@export var traits: Array[Trait] @export var traits: Array[Trait]
@export var preferences: Dictionary[Trait.Tag, Preference] @export var preferences: Dictionary[Trait, Preference]

View File

@@ -1,8 +1,8 @@
[gd_scene format=3 uid="uid://bvpyqyftqhy45"] [gd_scene format=3 uid="uid://bvpyqyftqhy45"]
[ext_resource type="Script" uid="uid://dnt4l1eghm1gi" path="res://scenes/character/character.gd" id="1_cuyo6"] [ext_resource type="Script" uid="uid://dnt4l1eghm1gi" path="res://scenes/character/character.gd" id="1_cuyo6"]
[ext_resource type="Resource" uid="uid://wq3g1j3l4gl6" path="res://resources/characters/queen.tres" id="2_fgi2k"] [ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="2_fgi2k"]
[ext_resource type="Texture2D" uid="uid://c726frtpkk1a8" path="res://assets/characters/Perso 2.png" id="3_f8hpl"] [ext_resource type="Texture2D" uid="uid://dwy3kklywl0ci" path="res://assets/characters/Perso 1.png" id="3_f8hpl"]
[ext_resource type="PackedScene" uid="uid://3jlukpb5hefb" path="res://scenes/mask/mask.tscn" id="3_mutn8"] [ext_resource type="PackedScene" uid="uid://3jlukpb5hefb" path="res://scenes/mask/mask.tscn" id="3_mutn8"]
[sub_resource type="Animation" id="Animation_fgi2k"] [sub_resource type="Animation" id="Animation_fgi2k"]
@@ -17,7 +17,7 @@ tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 0, "update": 0,
"values": [Vector2(0.5, 0.5)] "values": [Vector2(0.2, 0.2)]
} }
tracks/1/type = "value" tracks/1/type = "value"
tracks/1/imported = false tracks/1/imported = false
@@ -69,7 +69,7 @@ tracks/0/keys = {
"times": PackedFloat32Array(0, 1.2), "times": PackedFloat32Array(0, 1.2),
"transitions": PackedFloat32Array(1, 1), "transitions": PackedFloat32Array(1, 1),
"update": 0, "update": 0,
"values": [Vector2(0.4, 0.4), Vector2(0.5, 0.5)] "values": [Vector2(0.2, 0.2), Vector2(0.35, 0.35)]
} }
tracks/1/type = "value" tracks/1/type = "value"
tracks/1/imported = false tracks/1/imported = false
@@ -81,7 +81,7 @@ tracks/1/keys = {
"times": PackedFloat32Array(0, 0.20000002, 0.40000004, 0.6, 0.8000001, 1, 1.2), "times": PackedFloat32Array(0, 0.20000002, 0.40000004, 0.6, 0.8000001, 1, 1.2),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 0, "update": 0,
"values": [Vector2(0, 0), Vector2(0, -20), Vector2(0, 0), Vector2(0, -30), Vector2(0, 0), Vector2(0, -40), Vector2(0, 0)] "values": [Vector2(0, -50), Vector2(0, -75), Vector2(0, -60), Vector2(0, -180), Vector2(0, -160), Vector2(0, -280), Vector2(0, -260)]
} }
tracks/2/type = "value" tracks/2/type = "value"
tracks/2/imported = false tracks/2/imported = false
@@ -133,7 +133,7 @@ tracks/1/keys = {
"times": PackedFloat32Array(0, 0.20000002, 0.40000004, 0.6, 0.8000001, 1, 1.2), "times": PackedFloat32Array(0, 0.20000002, 0.40000004, 0.6, 0.8000001, 1, 1.2),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 0, "update": 0,
"values": [Vector2(0, 0), Vector2(109.185, -40), Vector2(338.474, 0), Vector2(651.017, -40), Vector2(999.045, 0), Vector2(1314.317, -40), Vector2(1474, 0)] "values": [Vector2(0, -260), Vector2(109.185, -300), Vector2(338.474, -260), Vector2(651.017, -300), Vector2(999.045, -260), Vector2(1314.317, -300), Vector2(1474, -260)]
} }
tracks/2/type = "value" tracks/2/type = "value"
tracks/2/imported = false tracks/2/imported = false
@@ -156,7 +156,7 @@ _data = {
} }
[node name="Character" type="Node2D" unique_id=138741531] [node name="Character" type="Node2D" unique_id=138741531]
scale = Vector2(0.5, 0.5) scale = Vector2(0.2, 0.2)
script = ExtResource("1_cuyo6") script = ExtResource("1_cuyo6")
chara_resource = ExtResource("2_fgi2k") chara_resource = ExtResource("2_fgi2k")
@@ -164,10 +164,12 @@ chara_resource = ExtResource("2_fgi2k")
texture = ExtResource("3_f8hpl") texture = ExtResource("3_f8hpl")
[node name="MaskMouth" parent="." unique_id=1087336064 instance=ExtResource("3_mutn8")] [node name="MaskMouth" parent="." unique_id=1087336064 instance=ExtResource("3_mutn8")]
position = Vector2(26.595, 398.745) position = Vector2(60.92, 208.96)
rotation = -0.05235988
[node name="MaskEyes" parent="." unique_id=428968220 instance=ExtResource("3_mutn8")] [node name="MaskEyes" parent="." unique_id=428968220 instance=ExtResource("3_mutn8")]
position = Vector2(13.285, 181.09) position = Vector2(92.37, 201.415)
rotation = -0.017453292
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=713965213] [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=713965213]
libraries/ = SubResource("AnimationLibrary_7ex5l") libraries/ = SubResource("AnimationLibrary_7ex5l")

View File

@@ -18,23 +18,31 @@
[ext_resource type="AudioStream" uid="uid://x6erlvj03nlm" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-8.ogg" id="9_i7in8"] [ext_resource type="AudioStream" uid="uid://x6erlvj03nlm" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-8.ogg" id="9_i7in8"]
[ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="9_m4h2d"] [ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="9_m4h2d"]
[ext_resource type="AudioStream" uid="uid://vrw6idscfnei" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-1.ogg" id="10_6llfj"] [ext_resource type="AudioStream" uid="uid://vrw6idscfnei" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-1.ogg" id="10_6llfj"]
[ext_resource type="Resource" uid="uid://cuf1ocb4px4m3" path="res://resources/masks/cat.tres" id="10_p8abn"]
[ext_resource type="AudioStream" uid="uid://b5ea6pr6bv85d" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-2.ogg" id="11_0bhws"] [ext_resource type="AudioStream" uid="uid://b5ea6pr6bv85d" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-2.ogg" id="11_0bhws"]
[ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="11_s17dp"] [ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="11_s17dp"]
[ext_resource type="Resource" uid="uid://cbcqtj8mxngfy" path="res://resources/masks/unracist.tres" id="12_37hlw"]
[ext_resource type="AudioStream" uid="uid://dpv07j0ia0ayl" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-3.ogg" id="12_62atk"] [ext_resource type="AudioStream" uid="uid://dpv07j0ia0ayl" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-3.ogg" id="12_62atk"]
[ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="13_6llfj"]
[ext_resource type="AudioStream" uid="uid://b7pe3ogc8rbvx" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-4.ogg" id="13_i7in8"] [ext_resource type="AudioStream" uid="uid://b7pe3ogc8rbvx" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-4.ogg" id="13_i7in8"]
[ext_resource type="Script" uid="uid://cgctwciolfqe5" path="res://scenes/camera/camera_controller.gd" id="14_0bhws"] [ext_resource type="Script" uid="uid://cgctwciolfqe5" path="res://scenes/camera/camera_controller.gd" id="14_0bhws"]
[ext_resource type="Texture2D" uid="uid://by4hnqxl0rtwg" path="res://assets/decor/environment_wip_001.png" id="14_62atk"] [ext_resource type="Texture2D" uid="uid://c60m6ulhqcbga" path="res://assets/decor/BG.png" id="14_os81g"]
[ext_resource type="Texture2D" uid="uid://dbpdehppn5h8v" path="res://assets/decor/entrance_bg_objects.png" id="15_1k3ck"]
[ext_resource type="Resource" uid="uid://vsvgpvluq7sh" path="res://resources/masks/blind.tres" id="24_g2upo"]
[ext_resource type="PackedScene" uid="uid://0rq12xgcteak" path="res://scenes/list/list.tscn" id="25_6llfj"] [ext_resource type="PackedScene" uid="uid://0rq12xgcteak" path="res://scenes/list/list.tscn" id="25_6llfj"]
[ext_resource type="Resource" uid="uid://dfguca2526tk6" path="res://resources/guests/queen_unmasked.tres" id="26_rofvo"] [ext_resource type="Resource" uid="uid://t2n1q71ce4x6" path="res://resources/masks/deaf.tres" id="25_38d3o"]
[ext_resource type="Resource" uid="uid://bk7f67x08r8vm" path="res://resources/guests/king_unmasked.tres" id="27_tbnf8"] [ext_resource type="Resource" uid="uid://kau80jesm22w" path="res://resources/masks/falsy.tres" id="26_i6fjx"]
[ext_resource type="Resource" uid="uid://ca2fcdibf0mdm" path="res://resources/guests/queen_unracist.tres" id="28_r1bmu"] [ext_resource type="Resource" uid="uid://bfvky2dpu6vv0" path="res://resources/guests/duke_unmasked.tres" id="27_6w6mm"]
[ext_resource type="Resource" uid="uid://ctqdbo8xg3v88" path="res://resources/guests/duchex_cat.tres" id="29_6w6mm"] [ext_resource type="Resource" uid="uid://cfargib0urafc" path="res://resources/guests/duchex_unmasked.tres" id="27_62f45"]
[ext_resource type="Texture2D" uid="uid://c3bx6kf7frbwk" path="res://example/Random Upgrades/icons/all_icons/all_icons_1.tres" id="29_i7in8"] [ext_resource type="Resource" uid="uid://q3o5oxegjx2" path="res://resources/masks/no_smell.tres" id="28_7dg2i"]
[ext_resource type="Resource" uid="uid://divy6byhpwgs2" path="res://resources/masks/truthy.tres" id="29_08tbl"]
[ext_resource type="Resource" uid="uid://c25kg6um2k1dy" path="res://resources/guests/duchex_mute.tres" id="29_62f45"]
[ext_resource type="Resource" uid="uid://dfguca2526tk6" path="res://resources/guests/queen_unmasked.tres" id="30_6g32y"]
[ext_resource type="Resource" uid="uid://im83307vumpx" path="res://resources/guests/queen_blind.tres" id="33_f4j1x"]
[ext_resource type="Script" uid="uid://bb0od2qqdx3or" path="res://scenes/main/ready_bell.gd" id="33_tbnf8"] [ext_resource type="Script" uid="uid://bb0od2qqdx3or" path="res://scenes/main/ready_bell.gd" id="33_tbnf8"]
[ext_resource type="Texture2D" uid="uid://c3bxwu75mcl87" path="res://assets/decor/mask_page_held.png" id="35_1k3ck"]
[ext_resource type="Texture2D" uid="uid://ce7wdct4e27e1" path="res://assets/decor/reception.png" id="35_62f45"]
[ext_resource type="PackedScene" uid="uid://cayrxqnypoytu" path="res://scenes/table/table.tscn" id="35_r1bmu"] [ext_resource type="PackedScene" uid="uid://cayrxqnypoytu" path="res://scenes/table/table.tscn" id="35_r1bmu"]
[ext_resource type="Texture2D" uid="uid://cl1a50j64nnlh" path="res://assets/decor/guest_page_held.png" id="36_62f45"]
[ext_resource type="Texture2D" uid="uid://coahojeky8ul7" path="res://assets/decor/bell.png" id="37_6g32y"]
[ext_resource type="Texture2D" uid="uid://cgl8g5eqy8xm0" path="res://assets/decor/hand_bell.png" id="39_62f45"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"] [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"]
random_pitch = 1.122462 random_pitch = 1.122462
@@ -308,6 +316,44 @@ _data = {
[sub_resource type="CircleShape2D" id="CircleShape2D_62atk"] [sub_resource type="CircleShape2D" id="CircleShape2D_62atk"]
radius = 150.0 radius = 150.0
[sub_resource type="Animation" id="Animation_6g32y"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(131, 317.00003)]
}
[sub_resource type="Animation" id="Animation_62f45"]
resource_name = "idle"
length = 0.3
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.16666667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(131, 317.00003), Vector2(131, 478)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6g32y"]
_data = {
&"RESET": SubResource("Animation_6g32y"),
&"idle": SubResource("Animation_62f45")
}
[node name="Main" type="Node2D" unique_id=875553242] [node name="Main" type="Node2D" unique_id=875553242]
script = ExtResource("1_7smn1") script = ExtResource("1_7smn1")
@@ -316,38 +362,32 @@ stream = SubResource("AudioStreamInteractive_7smn1")
autoplay = true autoplay = true
bus = &"SFX" bus = &"SFX"
[node name="EnvironmentWip001" type="Sprite2D" parent="." unique_id=290861722] [node name="Bg" type="Sprite2D" parent="." unique_id=1478548170]
position = Vector2(1286.785, 0) position = Vector2(1480, 0)
scale = Vector2(0.5, 0.5) scale = Vector2(0.5, 0.5)
texture = ExtResource("14_62atk") texture = ExtResource("14_os81g")
[node name="EntranceBgObjects" type="Sprite2D" parent="." unique_id=1029618154]
position = Vector2(30, -129)
scale = Vector2(0.5, 0.5)
texture = ExtResource("15_1k3ck")
[node name="Character" parent="." unique_id=138741531 instance=ExtResource("2_raeie")] [node name="Character" parent="." unique_id=138741531 instance=ExtResource("2_raeie")]
[node name="GameManager" type="Node" parent="." unique_id=528989100 node_paths=PackedStringArray("character", "guest_list", "mask_list")] [node name="GameManager" type="Node" parent="." unique_id=528989100 node_paths=PackedStringArray("character", "guest_list", "mask_list", "tables")]
script = ExtResource("3_hxu8e") script = ExtResource("3_hxu8e")
character_roster = Array[ExtResource("4_nvumn")]([ExtResource("5_ou6is"), ExtResource("6_necax"), ExtResource("7_r4lks"), ExtResource("8_pg34l")]) character_roster = Array[ExtResource("4_nvumn")]([ExtResource("5_ou6is"), ExtResource("6_necax"), ExtResource("7_r4lks"), ExtResource("8_pg34l")])
mask_roster = Array[ExtResource("9_m4h2d")]([ExtResource("10_p8abn"), ExtResource("11_s17dp"), ExtResource("12_37hlw")]) mask_roster = Array[ExtResource("9_m4h2d")]([ExtResource("24_g2upo"), ExtResource("25_38d3o"), ExtResource("26_i6fjx"), ExtResource("11_s17dp"), ExtResource("28_7dg2i"), ExtResource("29_08tbl")])
character = NodePath("../Character") character = NodePath("../Character")
guest_list = NodePath("../GuestList") guest_list = NodePath("../GuestList")
mask_list = NodePath("../MaskList") mask_list = NodePath("../MaskList")
lvl1_guest_1 = ExtResource("26_rofvo") tables = [NodePath("../Table"), NodePath("../Table2"), NodePath("../Table3")]
lvl1_guest_2 = ExtResource("27_tbnf8") lvl1_guest_1 = ExtResource("27_62f45")
lvl2_guest_1 = ExtResource("28_r1bmu") lvl1_guest_2 = ExtResource("27_6w6mm")
lvl2_guest_2 = ExtResource("29_6w6mm") lvl2_guest_1 = ExtResource("27_62f45")
lvl2_guest_2 = ExtResource("30_6g32y")
[node name="MaskList" parent="." unique_id=437192154 instance=ExtResource("25_6llfj")] lvl3_guest_1 = ExtResource("33_f4j1x")
position = Vector2(409, 523) lvl3_guest_2 = ExtResource("29_62f45")
rotation = 0.1675516
[node name="Sprite2D" type="Sprite2D" parent="MaskList" unique_id=1216540471]
texture = ExtResource("13_6llfj")
[node name="GuestList" parent="." unique_id=2089675317 instance=ExtResource("25_6llfj")]
position = Vector2(-409, 523)
rotation = -0.16732943
[node name="Sprite2D" type="Sprite2D" parent="GuestList" unique_id=2026369586]
texture = ExtResource("13_6llfj")
[node name="Camera2D" type="Camera2D" parent="." unique_id=1166192115] [node name="Camera2D" type="Camera2D" parent="." unique_id=1166192115]
limit_left = -960 limit_left = -960
@@ -374,36 +414,72 @@ shape = SubResource("RectangleShape2D_ya4ey")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1813843404] [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1813843404]
libraries/ = SubResource("AnimationLibrary_hxu8e") libraries/ = SubResource("AnimationLibrary_hxu8e")
[node name="Table" parent="." unique_id=1315188460 instance=ExtResource("35_r1bmu")]
position = Vector2(2711, 22)
[node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")]
position = Vector2(2029, 236)
[node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")]
position = Vector2(3430, 217)
[node name="Reception" type="Sprite2D" parent="." unique_id=96935292]
position = Vector2(95, 156)
scale = Vector2(0.5, 0.5)
texture = ExtResource("35_62f45")
[node name="MaskList" parent="." unique_id=437192154 instance=ExtResource("25_6llfj")]
visible = false
position = Vector2(409, 523)
rotation = 0.1675516
scale = Vector2(0.99999994, 0.99999994)
[node name="Sprite2D" type="Sprite2D" parent="MaskList" unique_id=1216540471]
position = Vector2(209.40524, 188.72063)
scale = Vector2(0.5, 0.5)
texture = ExtResource("35_1k3ck")
flip_h = true
[node name="GuestList" parent="." unique_id=2089675317 instance=ExtResource("25_6llfj")]
position = Vector2(-409, 523)
rotation = -0.16732943
[node name="Sprite2D" type="Sprite2D" parent="GuestList" unique_id=2026369586]
position = Vector2(-218.29799, 139.59222)
scale = Vector2(0.5, 0.5)
texture = ExtResource("36_62f45")
[node name="ReadyBell" type="Area2D" parent="." unique_id=1350504622] [node name="ReadyBell" type="Area2D" parent="." unique_id=1350504622]
position = Vector2(0, 426) position = Vector2(-5, 376)
script = ExtResource("33_tbnf8") script = ExtResource("33_tbnf8")
[node name="CollisionShape2D" type="CollisionShape2D" parent="ReadyBell" unique_id=403528288] [node name="CollisionShape2D" type="CollisionShape2D" parent="ReadyBell" unique_id=403528288]
shape = SubResource("CircleShape2D_62atk") shape = SubResource("CircleShape2D_62atk")
[node name="Sprite2D" type="Sprite2D" parent="ReadyBell" unique_id=1323765091] [node name="Sprite2D" type="Sprite2D" parent="ReadyBell" unique_id=1323765091]
texture = ExtResource("29_i7in8") scale = Vector2(0.3, 0.3)
texture = ExtResource("37_6g32y")
[node name="Table" parent="." unique_id=1315188460 instance=ExtResource("35_r1bmu")] [node name="RingBell" type="Sprite2D" parent="." unique_id=1001478580]
position = Vector2(2589, 56) position = Vector2(131, 317.00003)
scale = Vector2(0.3, 0.3)
texture = ExtResource("39_62f45")
[node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")] [node name="AnimationPlayer" type="AnimationPlayer" parent="RingBell" unique_id=1180701987]
position = Vector2(2272, 285) libraries/ = SubResource("AnimationLibrary_6g32y")
autoplay = &"idle"
[node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")]
position = Vector2(3014, 285)
[connection signal="mouse_entered" from="MaskList" to="." method="_on_mask_list_mouse_entered"]
[connection signal="mouse_exited" from="MaskList" to="." method="_on_mask_list_mouse_exited"]
[connection signal="mouse_entered" from="GuestList" to="." method="_on_guest_list_mouse_entered"]
[connection signal="mouse_exited" from="GuestList" to="." method="_on_guest_list_mouse_exited"]
[connection signal="mouse_entered" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_entered"] [connection signal="mouse_entered" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_entered"]
[connection signal="mouse_exited" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_exited"] [connection signal="mouse_exited" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_exited"]
[connection signal="mouse_entered" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_entered"] [connection signal="mouse_entered" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_entered"]
[connection signal="mouse_exited" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_exited"] [connection signal="mouse_exited" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_exited"]
[connection signal="input_event" from="ReadyBell" to="GameManager" method="_on_ready_bell_input_event"]
[connection signal="mouse_entered" from="ReadyBell" to="ReadyBell" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="ReadyBell" to="ReadyBell" method="_on_mouse_exited"]
[connection signal="seat_clicked" from="Table" to="GameManager" method="on_seat_clicked"] [connection signal="seat_clicked" from="Table" to="GameManager" method="on_seat_clicked"]
[connection signal="seat_clicked" from="Table2" to="GameManager" method="on_seat_clicked"] [connection signal="seat_clicked" from="Table2" to="GameManager" method="on_seat_clicked"]
[connection signal="seat_clicked" from="Table3" to="GameManager" method="on_seat_clicked"] [connection signal="seat_clicked" from="Table3" to="GameManager" method="on_seat_clicked"]
[connection signal="mouse_entered" from="MaskList" to="." method="_on_mask_list_mouse_entered"]
[connection signal="mouse_exited" from="MaskList" to="." method="_on_mask_list_mouse_exited"]
[connection signal="mouse_entered" from="GuestList" to="." method="_on_guest_list_mouse_entered"]
[connection signal="mouse_exited" from="GuestList" to="." method="_on_guest_list_mouse_exited"]
[connection signal="input_event" from="ReadyBell" to="GameManager" method="_on_ready_bell_input_event"]
[connection signal="mouse_entered" from="ReadyBell" to="ReadyBell" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="ReadyBell" to="ReadyBell" method="_on_mouse_exited"]

View File

@@ -11,6 +11,9 @@ class_name GameManager
@export var guest_list: List @export var guest_list: List
@export var mask_list: List @export var mask_list: List
@export_category("Tables")
@export var tables: Array[Table]
@export_category("Predetermined levels") @export_category("Predetermined levels")
@export_group("Level 1") @export_group("Level 1")
@export var lvl1_guest_1: MaskedChara @export var lvl1_guest_1: MaskedChara
@@ -20,8 +23,12 @@ class_name GameManager
@export var lvl2_guest_1: MaskedChara @export var lvl2_guest_1: MaskedChara
@export var lvl2_guest_2: MaskedChara @export var lvl2_guest_2: MaskedChara
@export_group("Level 3")
@export var lvl3_guest_1: MaskedChara
@export var lvl3_guest_2: MaskedChara
@export_category("Random levels") @export_category("Random levels")
@export var max_roster_size: int = 3; @export var current_level: Levels = Levels.LVL1
@export_tool_button("Create chara roster") var create_roster_action = create_new_roster @export_tool_button("Create chara roster") var create_roster_action = create_new_roster
var current_chara_roster: Array[MaskedChara] var current_chara_roster: Array[MaskedChara]
@@ -34,35 +41,29 @@ enum GameState {
enum Levels { enum Levels {
LVL1, LVL1,
LVL2, LVL2,
LVL3,
RANDOM RANDOM
} }
var current_game_state = GameState.READY var current_game_state = GameState.READY
var current_level = Levels.LVL1
var first_guest = true var first_guest = true
var current_guest: MaskedChara var current_guest: MaskedChara
var selected_seat: Seat var selected_seat: Seat
var roster_size: int = 2
@onready var camera_2d: Camera2D = $"../Camera2D" @onready var camera_2d: Camera2D = $"../Camera2D"
@onready var ring_bell: Sprite2D = $"../RingBell"
func create_new_roster() -> void: func create_new_roster() -> void:
print("Create new roster") print("Create new roster")
current_chara_roster = [] current_chara_roster = []
var already_picked_charas: Array[String] = [] print(character_roster.size())
for i in range(max_roster_size): var roster_for_this_round = character_roster.duplicate()
# Make sure we don't plan on more people than available var max_number_of_people = min(roster_size, character_roster.size())
if already_picked_charas.size() >= character_roster.size(): for i in range(max_number_of_people):
break
# Pick unique characters for the roster # Pick unique characters for the roster
var chara: CharacterResource var random_index = randi_range(0, roster_for_this_round.size() - 1)
var is_chara_already_in_roster = true var chara: CharacterResource = roster_for_this_round.pop_at(random_index)
while is_chara_already_in_roster:
chara = character_roster.pick_random()
for already_there in already_picked_charas:
if already_there != chara.name:
already_picked_charas.append(chara.name)
is_chara_already_in_roster = false
# Associate a single mask (for now) to the character # Associate a single mask (for now) to the character
var mask: MaskResource = mask_roster.pick_random() var mask: MaskResource = mask_roster.pick_random()
@@ -72,6 +73,7 @@ func create_new_roster() -> void:
current_chara_roster.append(masked_chara) current_chara_roster.append(masked_chara)
print("Added %s to roster" % chara.name) print("Added %s to roster" % chara.name)
print(character_roster.size())
func review_next_guest(): func review_next_guest():
# See previous guest out # See previous guest out
@@ -97,7 +99,31 @@ func review_next_guest():
character.come_in() character.come_in()
func compute_ending(): func compute_ending():
print("to ending") var camera_tween = get_tree().create_tween()
camera_tween.set_ease(Tween.EASE_IN_OUT)
camera_tween.set_trans(Tween.TRANS_CUBIC)
camera_tween.tween_property(camera_2d, "position", Vector2(2720.0, 0), 1.0)
camera_tween.tween_callback(ending_tween_cb)
func ending_tween_cb():
var final_score = 0.0
for table in tables:
final_score += table.compute_score()
print("Final score: %s" % final_score)
# Progress levels
current_game_state = GameState.READY
ring_bell.visible = true
mask_list.visible = false
if current_level == Levels.LVL1:
current_level = Levels.LVL2
elif current_level == Levels.LVL2:
current_level = Levels.LVL3
else:
roster_size += 1
current_level = Levels.RANDOM
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
@@ -113,25 +139,23 @@ func _on_ready_bell_input_event(viewport: Node, event: InputEvent, shape_idx: in
if event is InputEventMouseButton and event.is_pressed(): if event is InputEventMouseButton and event.is_pressed():
if current_game_state == GameState.READY: if current_game_state == GameState.READY:
on_ready_bell_pressed() on_ready_bell_pressed()
else: # debug
review_next_guest()
func on_ready_bell_pressed() -> void: func on_ready_bell_pressed() -> void:
if(current_game_state != GameState.READY): if(current_game_state != GameState.READY):
return return
print("ready bell pressed")
if current_level == Levels.LVL1: if current_level == Levels.LVL1:
print("prepare_level_one")
current_chara_roster = [lvl1_guest_1, lvl1_guest_2] current_chara_roster = [lvl1_guest_1, lvl1_guest_2]
elif current_level == Levels.LVL2: elif current_level == Levels.LVL2:
print("prepare_level_two")
current_chara_roster = [lvl2_guest_1, lvl2_guest_2] current_chara_roster = [lvl2_guest_1, lvl2_guest_2]
elif current_level == Levels.LVL3:
current_chara_roster = [lvl3_guest_1, lvl3_guest_2]
else: else:
create_new_roster() create_new_roster()
current_game_state = GameState.GUEST_REVIEW current_game_state = GameState.GUEST_REVIEW
ring_bell.visible = false
mask_list.visible = true
first_guest = true first_guest = true
review_next_guest() review_next_guest()

View File

@@ -5,10 +5,14 @@ class_name MaskedChara
@export var face_mask: MaskResource @export var face_mask: MaskResource
@export var mouth_mask: MaskResource @export var mouth_mask: MaskResource
var pref_score_map: Dictionary[CharacterResource.Preference, float] = {
CharacterResource.Preference.LOVE: 2.0,
CharacterResource.Preference.APPROVE: 1.0,
CharacterResource.Preference.DONT_CARE: 0.0,
CharacterResource.Preference.DISAPPROVE: -1.0,
CharacterResource.Preference.HATE: -2.0,
}
# Make sure that every parameter has a default value.
# Otherwise, there will be problems with creating and editing
# your resource via the inspector.
func _init( func _init(
p_character: CharacterResource = CharacterResource.new(), p_character: CharacterResource = CharacterResource.new(),
p_mask_face: MaskResource = MaskResource.new(), p_mask_face: MaskResource = MaskResource.new(),
@@ -16,3 +20,37 @@ func _init(
character = p_character character = p_character
face_mask = p_mask_face face_mask = p_mask_face
mouth_mask = p_mask_mouth mouth_mask = p_mask_mouth
func compute_score(other_guests: Array[MaskedChara]) -> float:
var overall_score = 0.0
var preferences = character.preferences
for guest in other_guests:
if guest == null:
continue
var guest_mouth_mask = guest.mouth_mask
var guest_traits = guest.character.traits
var guest_appreciation = 0.0
for guest_trait in guest_traits:
var trait_strength = 0.0
for stimuli in guest_trait.stimulis:
var strength = stimuli
if guest_mouth_mask != null and stimuli == guest_mouth_mask.stimuli:
strength *= guest_mouth_mask.stimuli_multiplier
if face_mask != null and stimuli == face_mask.stimuli:
strength *= face_mask.stimuli_multiplier
trait_strength += strength
var preference = character.preferences.get(guest_trait) if guest_trait in character.preferences else CharacterResource.Preference.DONT_CARE
var score_multiplier = pref_score_map.get(preference) if preference in pref_score_map else 0.0
guest_appreciation += trait_strength*score_multiplier
print("%s guest appreciation %s" % [character.name, guest_appreciation])
overall_score += guest_appreciation
print("%s score: %s" % [character.name, overall_score])
return overall_score

View File

@@ -12,28 +12,9 @@ class_name Mask
func _on_mask_resource_changed() -> void: func _on_mask_resource_changed() -> void:
if mask_resource == null: if mask_resource == null:
mask_sprite.visible = false
return return
if mask_sprite != null: if mask_sprite != null:
mask_sprite.visible = true
mask_sprite.texture = mask_resource.mask_sprite mask_sprite.texture = mask_resource.mask_sprite
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Engine.is_editor_hint():
_engine_process(delta)
else:
_game_process(delta)
func _game_process(delta: float) -> void:
pass
func _engine_process(delta: float) -> void:
if mask_resource == null:
return

View File

@@ -1,12 +1,12 @@
[gd_scene format=3 uid="uid://3jlukpb5hefb"] [gd_scene format=3 uid="uid://3jlukpb5hefb"]
[ext_resource type="Script" uid="uid://cfo3mk5f2q3ej" path="res://scenes/mask/mask.gd" id="1_61b51"] [ext_resource type="Script" uid="uid://cfo3mk5f2q3ej" path="res://scenes/mask/mask.gd" id="1_61b51"]
[ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="1_jlvus"] [ext_resource type="Resource" uid="uid://q3o5oxegjx2" path="res://resources/masks/no_smell.tres" id="2_0pm64"]
[ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="2_0pm64"] [ext_resource type="Texture2D" uid="uid://b4d451508si3t" path="res://assets/masks/Masque 3.png" id="3_htpgb"]
[node name="Mask" type="Node2D" unique_id=428968220] [node name="Mask" type="Node2D" unique_id=428968220]
script = ExtResource("1_61b51") script = ExtResource("1_61b51")
mask_resource = ExtResource("2_0pm64") mask_resource = ExtResource("2_0pm64")
[node name="MaskSprite" type="Sprite2D" parent="." unique_id=1997645103] [node name="MaskSprite" type="Sprite2D" parent="." unique_id=1997645103]
texture = ExtResource("1_jlvus") texture = ExtResource("3_htpgb")

View File

@@ -1,8 +1,9 @@
[gd_scene format=3 uid="uid://l0hl170iqkgx"] [gd_scene format=3 uid="uid://l0hl170iqkgx"]
[ext_resource type="Script" uid="uid://cuojjiwxidmwu" path="res://scenes/seat/seat.gd" id="1_pceab"] [ext_resource type="Script" uid="uid://cuojjiwxidmwu" path="res://scenes/seat/seat.gd" id="1_pceab"]
[ext_resource type="Resource" uid="uid://ca2fcdibf0mdm" path="res://resources/guests/queen_unracist.tres" id="2_wnjs1"] [ext_resource type="Resource" uid="uid://c25kg6um2k1dy" path="res://resources/guests/duchex_mute.tres" id="2_i14o5"]
[ext_resource type="PackedScene" uid="uid://bvpyqyftqhy45" path="res://scenes/character/character.tscn" id="3_dxmy0"] [ext_resource type="PackedScene" uid="uid://bvpyqyftqhy45" path="res://scenes/character/character.tscn" id="3_dxmy0"]
[ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="4_ipxud"]
[ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="4_wnjs1"] [ext_resource type="Texture2D" uid="uid://cftllq6l7xclt" path="res://icon.svg" id="4_wnjs1"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rofvo"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_rofvo"]
@@ -10,11 +11,13 @@ size = Vector2(128, 128)
[node name="Seat" type="Area2D" unique_id=1604639021] [node name="Seat" type="Area2D" unique_id=1604639021]
script = ExtResource("1_pceab") script = ExtResource("1_pceab")
guest = ExtResource("2_wnjs1") guest = ExtResource("2_i14o5")
[node name="Character" parent="." unique_id=138741531 instance=ExtResource("3_dxmy0")] [node name="Character" parent="." unique_id=138741531 instance=ExtResource("3_dxmy0")]
chara_resource = ExtResource("4_ipxud")
[node name="Empty" type="Sprite2D" parent="." unique_id=357649392] [node name="Empty" type="Sprite2D" parent="." unique_id=357649392]
visible = false
texture = ExtResource("4_wnjs1") texture = ExtResource("4_wnjs1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1054126207] [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1054126207]

View File

@@ -15,3 +15,15 @@ func _ready() -> void:
func on_seat_clicked(seat: Seat) -> void: func on_seat_clicked(seat: Seat) -> void:
seat_clicked.emit(seat) seat_clicked.emit(seat)
func compute_score() -> float:
var score_guest1 = seat_1.guest.compute_score([seat_2.guest, seat_3.guest]) if seat_1.guest != null else 0.0
var score_guest2 = seat_2.guest.compute_score([seat_1.guest, seat_3.guest]) if seat_2.guest != null else 0.0
var score_guest3 = seat_3.guest.compute_score([seat_1.guest, seat_2.guest]) if seat_3.guest != null else 0.0
var table_score = score_guest1 + score_guest2 + score_guest3
print("%s score: %s" % [name, table_score])
return table_score

View File

@@ -2,18 +2,41 @@
[ext_resource type="Script" uid="uid://r542aaur4vsc" path="res://scenes/table/table.gd" id="1_ov72x"] [ext_resource type="Script" uid="uid://r542aaur4vsc" path="res://scenes/table/table.gd" id="1_ov72x"]
[ext_resource type="PackedScene" uid="uid://l0hl170iqkgx" path="res://scenes/seat/seat.tscn" id="1_qavd0"] [ext_resource type="PackedScene" uid="uid://l0hl170iqkgx" path="res://scenes/seat/seat.tscn" id="1_qavd0"]
[ext_resource type="Texture2D" uid="uid://bd86sgiucdbx7" path="res://assets/decor/table.png" id="3_qxbf1"]
[ext_resource type="Texture2D" uid="uid://dov4apmrl77jl" path="res://assets/decor/table_defeat.png" id="4_wpgb8"]
[ext_resource type="Texture2D" uid="uid://bp3nbt23n348t" path="res://assets/decor/table_success.png" id="5_0y6hh"]
[node name="Table" type="Node2D" unique_id=1315188460] [node name="Table" type="Node2D" unique_id=1315188460]
script = ExtResource("1_ov72x") script = ExtResource("1_ov72x")
[node name="Seat1" parent="." unique_id=1604639021 instance=ExtResource("1_qavd0")] [node name="Seat1" parent="." unique_id=1604639021 instance=ExtResource("1_qavd0")]
position = Vector2(-204, -87) position = Vector2(-204, -87)
guest = null
[node name="Seat2" parent="." unique_id=848918585 instance=ExtResource("1_qavd0")] [node name="Seat2" parent="." unique_id=848918585 instance=ExtResource("1_qavd0")]
position = Vector2(-14, -117) position = Vector2(-14, -117)
guest = null
[node name="Seat3" parent="." unique_id=150555678 instance=ExtResource("1_qavd0")] [node name="Seat3" parent="." unique_id=150555678 instance=ExtResource("1_qavd0")]
position = Vector2(173, -98) position = Vector2(173, -98)
guest = null
[node name="Table" type="Sprite2D" parent="." unique_id=466061690]
position = Vector2(0, 100)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_qxbf1")
[node name="TableDefeat" type="Sprite2D" parent="." unique_id=1228068963]
visible = false
position = Vector2(0, 100)
scale = Vector2(0.5, 0.5)
texture = ExtResource("4_wpgb8")
[node name="TableVictory" type="Sprite2D" parent="." unique_id=136666064]
visible = false
position = Vector2(0, 100)
scale = Vector2(0.5, 0.5)
texture = ExtResource("5_0y6hh")
[connection signal="seat_clicked" from="Seat1" to="." method="on_seat_clicked"] [connection signal="seat_clicked" from="Seat1" to="." method="on_seat_clicked"]
[connection signal="seat_clicked" from="Seat2" to="." method="on_seat_clicked"] [connection signal="seat_clicked" from="Seat2" to="." method="on_seat_clicked"]