Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a37aeb620d | |||
| effb8769d8 | |||
| 15f95e5ed0 | |||
| a9f2e3c035 | |||
| c8a391c72f | |||
| 661510d7f6 | |||
| f760cecbf7 | |||
| 8b4590b980 | |||
| fa2062b87d | |||
| b775c73ffa | |||
| 17874619ce |
BIN
assets/audio/Crowd Talking.mp3
Normal file
19
assets/audio/Crowd Talking.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://chaoj2vma62x2"
|
||||
path="res://.godot/imported/Crowd Talking.mp3-54eae53ae22393453e154122c0e91197.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/Crowd Talking.mp3"
|
||||
dest_files=["res://.godot/imported/Crowd Talking.mp3-54eae53ae22393453e154122c0e91197.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/Small Bell Jingle.mp3
Normal file
19
assets/audio/Small Bell Jingle.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bw1g10f27vaja"
|
||||
path="res://.godot/imported/Small Bell Jingle.mp3-bcee597e1ed958399e9a60a41b80894c.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/Small Bell Jingle.mp3"
|
||||
dest_files=["res://.godot/imported/Small Bell Jingle.mp3-bcee597e1ed958399e9a60a41b80894c.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/bell-98033.mp3
Normal file
19
assets/audio/bell-98033.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bd6ac4eygdsqn"
|
||||
path="res://.godot/imported/bell-98033.mp3-77cb4cbb334a5c7855df689915d64cf2.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/bell-98033.mp3"
|
||||
dest_files=["res://.godot/imported/bell-98033.mp3-77cb4cbb334a5c7855df689915d64cf2.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/crowd_ambiance/Crowd Talking.mp3
Normal file
19
assets/audio/crowd_ambiance/Crowd Talking.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://ba5cwdtw0ddj6"
|
||||
path="res://.godot/imported/Crowd Talking.mp3-7e400e26e7a8d1fa2cd64122cdfb3389.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/crowd_ambiance/Crowd Talking.mp3"
|
||||
dest_files=["res://.godot/imported/Crowd Talking.mp3-7e400e26e7a8d1fa2cd64122cdfb3389.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/crowd_ambiance/crowd-noise-390947.mp3
Normal file
19
assets/audio/crowd_ambiance/crowd-noise-390947.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://qg0u7cllfipq"
|
||||
path="res://.godot/imported/crowd-noise-390947.mp3-7d3932240df6664e41ca33d97c2af36a.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/crowd_ambiance/crowd-noise-390947.mp3"
|
||||
dest_files=["res://.godot/imported/crowd-noise-390947.mp3-7d3932240df6664e41ca33d97c2af36a.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/crowd_ambiance/desktop.ini
Normal file
BIN
assets/audio/defeat/crowd-shocked-reaction-352766.mp3
Normal file
19
assets/audio/defeat/crowd-shocked-reaction-352766.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://cr22cxcqc7cli"
|
||||
path="res://.godot/imported/crowd-shocked-reaction-352766.mp3-1ddd837eeacd14c74718368d4a52c878.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/defeat/crowd-shocked-reaction-352766.mp3"
|
||||
dest_files=["res://.godot/imported/crowd-shocked-reaction-352766.mp3-1ddd837eeacd14c74718368d4a52c878.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/defeat/desktop.ini
Normal file
BIN
assets/audio/defeat/fiasco-154915.mp3
Normal file
19
assets/audio/defeat/fiasco-154915.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://btmwxdhsu8ckf"
|
||||
path="res://.godot/imported/fiasco-154915.mp3-ce326d3fc14c7204034b57c2a12d217a.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/defeat/fiasco-154915.mp3"
|
||||
dest_files=["res://.godot/imported/fiasco-154915.mp3-ce326d3fc14c7204034b57c2a12d217a.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/paper picked up 2.wav
Normal file
24
assets/audio/paper picked up 2.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dwhw36p5gijof"
|
||||
path="res://.godot/imported/paper picked up 2.wav-b83618f171c543385ff9d22360ba0713.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/paper picked up 2.wav"
|
||||
dest_files=["res://.godot/imported/paper picked up 2.wav-b83618f171c543385ff9d22360ba0713.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
assets/audio/victory/correct_answer_toy_bi-bling-476370.mp3
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://dhdak0bbkksm"
|
||||
path="res://.godot/imported/correct_answer_toy_bi-bling-476370.mp3-c110f32f7bedf605e8d481bc2db68a17.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/victory/correct_answer_toy_bi-bling-476370.mp3"
|
||||
dest_files=["res://.godot/imported/correct_answer_toy_bi-bling-476370.mp3-c110f32f7bedf605e8d481bc2db68a17.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/victory/cute_happy_victory-476376.mp3
Normal file
19
assets/audio/victory/cute_happy_victory-476376.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bnxtexx6ofcip"
|
||||
path="res://.godot/imported/cute_happy_victory-476376.mp3-3c41a12412c724b44c2e1ca612052398.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/victory/cute_happy_victory-476376.mp3"
|
||||
dest_files=["res://.godot/imported/cute_happy_victory-476376.mp3-3c41a12412c724b44c2e1ca612052398.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
assets/audio/victory/desktop.ini
Normal file
BIN
assets/audio/victory/gaming-victory-464016.mp3
Normal file
19
assets/audio/victory/gaming-victory-464016.mp3.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bmncpx0cwrp8n"
|
||||
path="res://.godot/imported/gaming-victory-464016.mp3-3ca2333917d0441113f738ecff702afd.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/victory/gaming-victory-464016.mp3"
|
||||
dest_files=["res://.godot/imported/gaming-victory-464016.mp3-3ca2333917d0441113f738ecff702afd.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
|
Before Width: | Height: | Size: 993 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 462 KiB After Width: | Height: | Size: 414 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 277 KiB After Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 159 KiB |
@@ -5,11 +5,17 @@ bus/1/name = &"Music"
|
||||
bus/1/solo = false
|
||||
bus/1/mute = false
|
||||
bus/1/bypass_fx = false
|
||||
bus/1/volume_db = -9.632782
|
||||
bus/1/volume_db = -3.7683105
|
||||
bus/1/send = &"Master"
|
||||
bus/2/name = &"SFX"
|
||||
bus/2/solo = false
|
||||
bus/2/mute = false
|
||||
bus/2/bypass_fx = false
|
||||
bus/2/volume_db = -1.4192572
|
||||
bus/2/volume_db = -2.6102495
|
||||
bus/2/send = &"Master"
|
||||
bus/3/name = &"Ambiance"
|
||||
bus/3/solo = false
|
||||
bus/3/mute = false
|
||||
bus/3/bypass_fx = false
|
||||
bus/3/volume_db = -6.91795
|
||||
bus/3/send = &"Master"
|
||||
|
||||
@@ -42,6 +42,10 @@ window/size/viewport_width=1920
|
||||
window/size/viewport_height=1080
|
||||
window/stretch/mode="canvas_items"
|
||||
|
||||
[dotnet]
|
||||
|
||||
project/assembly_name="GGJ26"
|
||||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=PackedStringArray("res://addons/maaacks_game_template/plugin.cfg", "res://addons/resources_spreadsheet_view/plugin.cfg")
|
||||
|
||||
@@ -4,29 +4,25 @@
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_kq1ar"]
|
||||
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_ilqpx"]
|
||||
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="3_kbmal"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="4_yew24"]
|
||||
[ext_resource type="Resource" uid="uid://dxrbtwv4hfs71" path="res://resources/traits/married.tres" id="5_d7rom"]
|
||||
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="6_4wm6o"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="6_l6cdd"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="7_d7rom"]
|
||||
[ext_resource type="Resource" uid="uid://exoxxj84dvsf" path="res://resources/traits/peasant.tres" id="8_l6cdd"]
|
||||
[ext_resource type="Resource" uid="uid://b3lg32juui18i" path="res://resources/traits/noisy.tres" id="9_yew24"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="12_0p75g"]
|
||||
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="13_lkxga"]
|
||||
[ext_resource type="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="14_lkxga"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ilqpx")
|
||||
name = "Bishop"
|
||||
chara_sprite = ExtResource("1_ilqpx")
|
||||
mask_eyes_position = Vector2(58.7, 91.365)
|
||||
mask_eyes_rotation = -0.05934119456780681
|
||||
mask_mouth_position = Vector2(46.125, 123.665)
|
||||
traits = Array[ExtResource("1_kq1ar")]([ExtResource("6_4wm6o"), ExtResource("7_d7rom"), ExtResource("8_l6cdd"), ExtResource("9_yew24"), ExtResource("12_0p75g"), ExtResource("13_lkxga"), ExtResource("14_lkxga")])
|
||||
mask_eyes_position = Vector2(63.135, 91.365)
|
||||
mask_eyes_rotation = 0.015707963267948568
|
||||
mask_mouth_position = Vector2(47.37, 103.725)
|
||||
traits = Array[ExtResource("1_kq1ar")]([ExtResource("6_4wm6o"), ExtResource("9_yew24"), ExtResource("14_lkxga")])
|
||||
preferences = Dictionary[ExtResource("1_kq1ar"), int]({
|
||||
ExtResource("3_kbmal"): 4,
|
||||
ExtResource("4_yew24"): 1,
|
||||
ExtResource("5_d7rom"): 4,
|
||||
ExtResource("6_l6cdd"): 0
|
||||
ExtResource("6_l6cdd"): 0,
|
||||
ExtResource("7_d7rom"): 0
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -9,27 +9,21 @@
|
||||
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="6_cyb15"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="6_f6mh3"]
|
||||
[ext_resource type="Resource" uid="uid://dbuom8v744v36" path="res://resources/traits/weak.tres" id="7_nck5w"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="7_s53hh"]
|
||||
[ext_resource type="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="8_4lcng"]
|
||||
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="8_p10lp"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="10_p10lp"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="15_4rlsx"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="12_gjt75"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_cyb15")
|
||||
name = "Duchex"
|
||||
chara_sprite = ExtResource("1_tppor")
|
||||
mask_eyes_position = Vector2(61.445, 168.635)
|
||||
mask_eyes_position = Vector2(78.08, 232.575)
|
||||
mask_eyes_rotation = -0.06981317007977318
|
||||
mask_mouth_position = Vector2(76.505, 203.355)
|
||||
mask_mouth_rotation = -0.05235987755982989
|
||||
traits = Array[ExtResource("3_s53hh")]([ExtResource("4_w5qmk"), ExtResource("6_cyb15"), ExtResource("7_s53hh"), ExtResource("8_p10lp"), ExtResource("10_p10lp"), ExtResource("15_4rlsx")])
|
||||
traits = Array[ExtResource("3_s53hh")]([ExtResource("4_w5qmk"), ExtResource("6_cyb15"), ExtResource("12_gjt75")])
|
||||
preferences = Dictionary[ExtResource("3_s53hh"), int]({
|
||||
ExtResource("3_q0kni"): 0,
|
||||
ExtResource("4_s53hh"): 4,
|
||||
ExtResource("8_p10lp"): 1,
|
||||
ExtResource("6_f6mh3"): 0,
|
||||
ExtResource("7_nck5w"): 4,
|
||||
ExtResource("8_4lcng"): 3
|
||||
ExtResource("4_s53hh"): 3
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -5,30 +5,24 @@
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="3_n21sh"]
|
||||
[ext_resource type="Resource" uid="uid://lhskiwag15k" path="res://resources/traits/talkative.tres" id="3_tvmgq"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="4_tl7uu"]
|
||||
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="5_n21sh"]
|
||||
[ext_resource type="Resource" uid="uid://b6614fqoymxur" path="res://resources/traits/silent.tres" id="5_tl7uu"]
|
||||
[ext_resource type="Resource" uid="uid://dbuom8v744v36" path="res://resources/traits/weak.tres" id="6_smh37"]
|
||||
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="7_12asi"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="7_l5u5b"]
|
||||
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="8_ce0p8"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="8_pnqlj"]
|
||||
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="9_ce0p8"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="11_afn2m"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="9_ce0p8"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ce0p8")
|
||||
name = "Duke"
|
||||
chara_sprite = ExtResource("1_d1fpd")
|
||||
mask_eyes_position = Vector2(-23.295, -0.335)
|
||||
mask_eyes_position = Vector2(-9.205, -13.46)
|
||||
mask_eyes_rotation = -0.03490658503988659
|
||||
mask_mouth_position = Vector2(-1.83, 2.27)
|
||||
traits = Array[ExtResource("3_n21sh")]([ExtResource("5_tl7uu"), ExtResource("7_12asi"), ExtResource("8_ce0p8"), ExtResource("9_ce0p8"), ExtResource("11_afn2m"), ExtResource("8_pnqlj")])
|
||||
mask_mouth_position = Vector2(4.755, -2.32)
|
||||
traits = Array[ExtResource("3_n21sh")]([ExtResource("5_tl7uu"), ExtResource("7_12asi"), ExtResource("9_ce0p8")])
|
||||
preferences = Dictionary[ExtResource("3_n21sh"), int]({
|
||||
ExtResource("3_tvmgq"): 0,
|
||||
ExtResource("4_tl7uu"): 1,
|
||||
ExtResource("5_n21sh"): 3,
|
||||
ExtResource("6_smh37"): 4,
|
||||
ExtResource("7_l5u5b"): 4,
|
||||
ExtResource("8_pnqlj"): 1
|
||||
ExtResource("4_tl7uu"): 1
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -3,36 +3,25 @@
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_jl8hl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bveq6mbi1yuku" path="res://assets/characters/Perso 8.png" id="1_qptnb"]
|
||||
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_vlbot"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="3_s7agw"]
|
||||
[ext_resource type="Resource" uid="uid://exoxxj84dvsf" path="res://resources/traits/peasant.tres" id="4_qptnb"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="3_s3hb5"]
|
||||
[ext_resource type="Resource" uid="uid://bsayj3pugsg54" path="res://resources/traits/animals.tres" id="5_6sspe"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="6_nvopw"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="7_4gs1w"]
|
||||
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="7_kqqyx"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="9_6sspe"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="9_tk0st"]
|
||||
[ext_resource type="Resource" uid="uid://b3lg32juui18i" path="res://resources/traits/noisy.tres" id="10_nvopw"]
|
||||
[ext_resource type="Resource" uid="uid://lhskiwag15k" path="res://resources/traits/talkative.tres" id="11_4gs1w"]
|
||||
[ext_resource type="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="11_tclm6"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="12_kqqyx"]
|
||||
[ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="13_tk0st"]
|
||||
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="14_tclm6"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_vlbot")
|
||||
name = "Farmer"
|
||||
chara_sprite = ExtResource("1_qptnb")
|
||||
mask_eyes_position = Vector2(112.37, 228.755)
|
||||
mask_mouth_position = Vector2(78.295, 132.145)
|
||||
traits = Array[ExtResource("1_jl8hl")]([ExtResource("5_6sspe"), ExtResource("9_6sspe"), ExtResource("10_nvopw"), ExtResource("4_qptnb"), ExtResource("6_nvopw"), ExtResource("11_4gs1w"), ExtResource("12_kqqyx"), ExtResource("13_tk0st"), ExtResource("14_tclm6")])
|
||||
mask_eyes_position = Vector2(128.185, 164.43)
|
||||
mask_eyes_rotation = 0.11170107212763669
|
||||
mask_mouth_position = Vector2(106.575, 137.815)
|
||||
mask_mouth_rotation = 0.07504915783575637
|
||||
traits = Array[ExtResource("1_jl8hl")]([ExtResource("5_6sspe"), ExtResource("11_tclm6"), ExtResource("10_nvopw")])
|
||||
preferences = Dictionary[ExtResource("1_jl8hl"), int]({
|
||||
ExtResource("3_s7agw"): 4,
|
||||
ExtResource("4_qptnb"): 0,
|
||||
ExtResource("3_s3hb5"): 4,
|
||||
ExtResource("5_6sspe"): 0,
|
||||
ExtResource("7_4gs1w"): 3,
|
||||
ExtResource("7_kqqyx"): 0,
|
||||
ExtResource("9_6sspe"): 1,
|
||||
ExtResource("9_tk0st"): 3,
|
||||
ExtResource("11_tclm6"): 1
|
||||
ExtResource("11_tclm6"): 1,
|
||||
ExtResource("7_4gs1w"): 3
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -2,17 +2,12 @@
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bpuuh3i22lkxq" path="res://assets/characters/Perso 7.png" id="1_u46dm"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="3_ic6rb"]
|
||||
[ext_resource type="Resource" uid="uid://b3lg32juui18i" path="res://resources/traits/noisy.tres" id="3_j8s63"]
|
||||
[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="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="4_k1rnw"]
|
||||
[ext_resource type="Resource" uid="uid://bsayj3pugsg54" path="res://resources/traits/animals.tres" id="5_0mgot"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="5_6ktt3"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="6_u46dm"]
|
||||
[ext_resource type="Resource" uid="uid://dxrbtwv4hfs71" path="res://resources/traits/married.tres" id="6_vvog1"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="7_fvshn"]
|
||||
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="7_k1rnw"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="8_0mgot"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="7_j8s63"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="8_2v1ds"]
|
||||
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="9_teajx"]
|
||||
|
||||
@@ -20,18 +15,15 @@
|
||||
script = ExtResource("3_vvog1")
|
||||
name = "King"
|
||||
chara_sprite = ExtResource("1_u46dm")
|
||||
mask_eyes_position = Vector2(6.675, -38.825)
|
||||
mask_eyes_position = Vector2(12.56, -38.825)
|
||||
mask_eyes_rotation = 0.06981317007977318
|
||||
mask_mouth_position = Vector2(-12.43, -47.06)
|
||||
mask_mouth_rotation = -0.12915436464757998
|
||||
traits = Array[ExtResource("4_0s3fj")]([ExtResource("5_6ktt3"), ExtResource("6_vvog1"), ExtResource("7_k1rnw"), ExtResource("8_0mgot"), ExtResource("9_teajx")])
|
||||
mask_mouth_position = Vector2(12.375, -68.335)
|
||||
mask_mouth_rotation = 0.019198621771938023
|
||||
traits = Array[ExtResource("4_0s3fj")]([ExtResource("7_j8s63"), ExtResource("6_vvog1"), ExtResource("9_teajx")])
|
||||
preferences = Dictionary[ExtResource("4_0s3fj"), int]({
|
||||
ExtResource("3_j8s63"): 4,
|
||||
ExtResource("4_k1rnw"): 4,
|
||||
ExtResource("5_0mgot"): 4,
|
||||
ExtResource("6_u46dm"): 0,
|
||||
ExtResource("7_fvshn"): 1,
|
||||
ExtResource("8_2v1ds"): 0,
|
||||
ExtResource("3_ic6rb"): 1
|
||||
ExtResource("3_ic6rb"): 1,
|
||||
ExtResource("4_k1rnw"): 4
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -2,37 +2,29 @@
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bc402aj61r77q" path="res://assets/characters/Perso 6.png" id="1_3vdcn"]
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_iqt1j"]
|
||||
[ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="2_h0v0n"]
|
||||
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_tdxmb"]
|
||||
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="3_3vdcn"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="3_bsgk7"]
|
||||
[ext_resource type="Resource" uid="uid://cefwc4j3p7m3v" path="res://resources/traits/black.tres" id="4_aiy02"]
|
||||
[ext_resource type="Resource" uid="uid://bsayj3pugsg54" path="res://resources/traits/animals.tres" id="4_lag8f"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="5_0cnfx"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="5_862cf"]
|
||||
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="6_xxla0"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="4_bsgk7"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="6_0cnfx"]
|
||||
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="7_2tfi0"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="7_5qve6"]
|
||||
[ext_resource type="Resource" uid="uid://b3lg32juui18i" path="res://resources/traits/noisy.tres" id="8_asft4"]
|
||||
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="8_so1uv"]
|
||||
[ext_resource type="Resource" uid="uid://exoxxj84dvsf" path="res://resources/traits/peasant.tres" id="9_h0v0n"]
|
||||
[ext_resource type="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="11_xxla0"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_tdxmb")
|
||||
name = "Knight"
|
||||
chara_sprite = ExtResource("1_3vdcn")
|
||||
mask_eyes_position = Vector2(-94.815, 12.665)
|
||||
mask_eyes_rotation = 0.029670597283903404
|
||||
mask_mouth_position = Vector2(-84.16, -17.325)
|
||||
mask_eyes_position = Vector2(-103.465, -11.925)
|
||||
mask_eyes_rotation = -0.026179938779914945
|
||||
mask_mouth_position = Vector2(-76.23, -5.335)
|
||||
mask_mouth_rotation = 0.029670597283903404
|
||||
traits = Array[ExtResource("1_iqt1j")]([ExtResource("3_bsgk7"), ExtResource("4_aiy02"), ExtResource("5_0cnfx"), ExtResource("6_xxla0"), ExtResource("7_5qve6"), ExtResource("8_so1uv"), ExtResource("9_h0v0n")])
|
||||
traits = Array[ExtResource("1_iqt1j")]([ExtResource("3_bsgk7"), ExtResource("4_aiy02"), ExtResource("7_5qve6"), ExtResource("11_xxla0")])
|
||||
preferences = Dictionary[ExtResource("1_iqt1j"), int]({
|
||||
ExtResource("2_h0v0n"): 0,
|
||||
ExtResource("3_3vdcn"): 0,
|
||||
ExtResource("4_lag8f"): 1,
|
||||
ExtResource("5_862cf"): 1,
|
||||
ExtResource("9_h0v0n"): 1,
|
||||
ExtResource("4_bsgk7"): 1,
|
||||
ExtResource("7_2tfi0"): 4,
|
||||
ExtResource("8_asft4"): 3
|
||||
ExtResource("6_0cnfx"): 4
|
||||
})
|
||||
metadata/_custom_type_script = "uid://bwam50qxikpw4"
|
||||
|
||||
@@ -3,33 +3,26 @@
|
||||
[ext_resource type="Texture2D" uid="uid://d3rxk5m1dls7f" path="res://assets/characters/Perso 9.png" id="1_8e28v"]
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_83ubb"]
|
||||
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_8e28v"]
|
||||
[ext_resource type="Resource" uid="uid://exoxxj84dvsf" path="res://resources/traits/peasant.tres" id="3_jv2gf"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="4_35s6h"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="5_7x2sw"]
|
||||
[ext_resource type="Resource" uid="uid://dbuom8v744v36" path="res://resources/traits/weak.tres" id="6_5buei"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="3_hp0jd"]
|
||||
[ext_resource type="Resource" uid="uid://cqhrgihss2k46" path="res://resources/traits/smelly.tres" id="7_xfxs5"]
|
||||
[ext_resource type="Resource" uid="uid://dxrbtwv4hfs71" path="res://resources/traits/married.tres" id="8_580ri"]
|
||||
[ext_resource type="Resource" uid="uid://b3lg32juui18i" path="res://resources/traits/noisy.tres" id="8_yhtr4"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="9_ma1bg"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="11_solp4"]
|
||||
[ext_resource type="Resource" uid="uid://bvophatys2o1o" path="res://resources/traits/old.tres" id="12_xalqb"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="13_pnqe2"]
|
||||
[ext_resource type="Resource" uid="uid://bsayj3pugsg54" path="res://resources/traits/animals.tres" id="10_emld2"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="14_1axfg"]
|
||||
[ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="15_ay8ov"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_8e28v")
|
||||
name = "Nun"
|
||||
chara_sprite = ExtResource("1_8e28v")
|
||||
mask_eyes_position = Vector2(156.99, 241.13)
|
||||
mask_mouth_position = Vector2(151.42, 203.93)
|
||||
mask_eyes_position = Vector2(159.75, 247.26)
|
||||
mask_eyes_rotation = 0.07504915783575637
|
||||
mask_mouth_position = Vector2(152.9, 203.93)
|
||||
mask_mouth_rotation = 0.029670597283903404
|
||||
traits = Array[ExtResource("1_83ubb")]([ExtResource("11_solp4"), ExtResource("12_xalqb"), ExtResource("3_jv2gf"), ExtResource("13_pnqe2"), ExtResource("14_1axfg"), ExtResource("15_ay8ov")])
|
||||
traits = Array[ExtResource("1_83ubb")]([ExtResource("8_yhtr4"), ExtResource("10_emld2"), ExtResource("14_1axfg")])
|
||||
preferences = Dictionary[ExtResource("1_83ubb"), int]({
|
||||
ExtResource("3_jv2gf"): 0,
|
||||
ExtResource("4_35s6h"): 0,
|
||||
ExtResource("5_7x2sw"): 0,
|
||||
ExtResource("6_5buei"): 0,
|
||||
ExtResource("7_xfxs5"): 1,
|
||||
ExtResource("3_hp0jd"): 0,
|
||||
ExtResource("7_xfxs5"): 0,
|
||||
ExtResource("8_580ri"): 4,
|
||||
ExtResource("9_ma1bg"): 1
|
||||
})
|
||||
|
||||
@@ -3,36 +3,25 @@
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_3d6c6"]
|
||||
[ext_resource type="Texture2D" uid="uid://c61n5v2xrlwy2" path="res://assets/characters/Perso 5.png" id="1_ef0f3"]
|
||||
[ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="2_ef0f3"]
|
||||
[ext_resource type="Resource" uid="uid://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="3_gfeqf"]
|
||||
[ext_resource type="Resource" uid="uid://cb8jguybr1tlj" path="res://resources/traits/white.tres" id="4_eghjc"]
|
||||
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="5_33mra"]
|
||||
[ext_resource type="Resource" uid="uid://bmx28vnfhcs8b" path="res://resources/traits/man.tres" id="6_0c7tx"]
|
||||
[ext_resource type="Resource" uid="uid://dca6k1gmnp6os" path="res://resources/traits/single.tres" id="7_drjus"]
|
||||
[ext_resource type="Resource" uid="uid://b6614fqoymxur" path="res://resources/traits/silent.tres" id="8_p23qa"]
|
||||
[ext_resource type="Resource" uid="uid://exoxxj84dvsf" path="res://resources/traits/peasant.tres" id="9_yfnhp"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="8_bwj4q"]
|
||||
[ext_resource type="Resource" uid="uid://bobrwfsc3tg04" path="res://resources/traits/brave.tres" id="10_bl3mp"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="11_eghjc"]
|
||||
[ext_resource type="Resource" uid="uid://3a6ivamvrnqj" path="res://resources/traits/clean.tres" id="12_5sqej"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="13_rcuko"]
|
||||
[ext_resource type="Resource" uid="uid://dbuom8v744v36" path="res://resources/traits/weak.tres" id="14_6apw1"]
|
||||
[ext_resource type="Resource" uid="uid://blu5de2dhiu46" path="res://resources/traits/young.tres" id="15_hu8wx"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ef0f3")
|
||||
name = "Prince"
|
||||
chara_sprite = ExtResource("1_ef0f3")
|
||||
mask_eyes_position = Vector2(104.295, 9.395)
|
||||
mask_eyes_position = Vector2(106.405, -3.38)
|
||||
mask_eyes_rotation = -0.017453292519943295
|
||||
mask_mouth_position = Vector2(88.32, -14.73)
|
||||
traits = Array[ExtResource("1_3d6c6")]([ExtResource("12_5sqej"), ExtResource("6_0c7tx"), ExtResource("13_rcuko"), ExtResource("7_drjus"), ExtResource("14_6apw1"), ExtResource("4_eghjc"), ExtResource("15_hu8wx")])
|
||||
mask_mouth_position = Vector2(79.52, -53.32)
|
||||
mask_mouth_rotation = 0.038397243543875054
|
||||
traits = Array[ExtResource("1_3d6c6")]([ExtResource("8_bwj4q"), ExtResource("7_drjus"), ExtResource("14_6apw1")])
|
||||
preferences = Dictionary[ExtResource("1_3d6c6"), int]({
|
||||
ExtResource("3_gfeqf"): 0,
|
||||
ExtResource("4_eghjc"): 1,
|
||||
ExtResource("5_33mra"): 0,
|
||||
ExtResource("6_0c7tx"): 0,
|
||||
ExtResource("7_drjus"): 0,
|
||||
ExtResource("8_p23qa"): 3,
|
||||
ExtResource("9_yfnhp"): 3,
|
||||
ExtResource("10_bl3mp"): 4,
|
||||
ExtResource("11_eghjc"): 3
|
||||
})
|
||||
|
||||
@@ -8,20 +8,18 @@
|
||||
[ext_resource type="Resource" uid="uid://ct4iy75ai7lmy" path="res://resources/traits/enby.tres" id="5_wjlcp"]
|
||||
[ext_resource type="Resource" uid="uid://c4kpcm4tplsgg" path="res://resources/traits/alone.tres" id="6_hdamc"]
|
||||
[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://dmd7gilnmcefr" path="res://resources/traits/woman.tres" id="10_tw1u2"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/noble.tres" id="11_wjlcp"]
|
||||
[ext_resource type="Resource" uid="uid://b118uebk1ldog" path="res://resources/traits/perfumed.tres" id="9_hdamc"]
|
||||
[ext_resource type="Resource" uid="uid://dxrbtwv4hfs71" path="res://resources/traits/married.tres" id="12_4ysbx"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_g8bvo")
|
||||
name = "Queen"
|
||||
chara_sprite = ExtResource("1_d1164")
|
||||
mask_eyes_position = Vector2(48, 187.345)
|
||||
mask_eyes_rotation = 0.05235987755982989
|
||||
mask_eyes_position = Vector2(47.78, 170.79)
|
||||
mask_eyes_rotation = 0.03316125578789186
|
||||
mask_mouth_position = Vector2(31.595, 176.245)
|
||||
mask_mouth_rotation = 0.01745329251994329
|
||||
traits = Array[ExtResource("3_dkw07")]([ExtResource("3_y3hrs"), ExtResource("9_aywjr"), ExtResource("10_tw1u2"), ExtResource("8_j0xhd"), ExtResource("11_wjlcp"), ExtResource("12_4ysbx")])
|
||||
traits = Array[ExtResource("3_dkw07")]([ExtResource("3_y3hrs"), ExtResource("8_j0xhd"), ExtResource("9_hdamc"), ExtResource("12_4ysbx")])
|
||||
preferences = Dictionary[ExtResource("3_dkw07"), int]({
|
||||
ExtResource("3_y3hrs"): 4,
|
||||
ExtResource("4_hdamc"): 0,
|
||||
|
||||
11
resources/guests/bishop_blind.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://dw8ckdqphstum"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://c2v05fqr7cwll" path="res://resources/characters/bishop.tres" id="1_1jsty"]
|
||||
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_bjdg5"]
|
||||
[ext_resource type="Resource" uid="uid://vsvgpvluq7sh" path="res://resources/masks/blind.tres" id="2_ilfyw"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_bjdg5")
|
||||
character = ExtResource("1_1jsty")
|
||||
face_mask = ExtResource("2_ilfyw")
|
||||
metadata/_custom_type_script = "uid://b8peyg02l0mrn"
|
||||
9
resources/guests/bishop_unmasked.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://k561jqkq8jpa"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://c2v05fqr7cwll" path="res://resources/characters/bishop.tres" id="1_srvwa"]
|
||||
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="3_u3km6"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_u3km6")
|
||||
character = ExtResource("1_srvwa")
|
||||
metadata/_custom_type_script = "uid://b8peyg02l0mrn"
|
||||
11
resources/guests/duchex_falsy.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://bhigq5xthp5ee"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="1_2k678"]
|
||||
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_lfr00"]
|
||||
[ext_resource type="Resource" uid="uid://kau80jesm22w" path="res://resources/masks/falsy.tres" id="2_r25b7"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_lfr00")
|
||||
character = ExtResource("1_2k678")
|
||||
mouth_mask = ExtResource("2_r25b7")
|
||||
metadata/_custom_type_script = "uid://b8peyg02l0mrn"
|
||||
11
resources/guests/duke_falsy.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="MaskedChara" format=3 uid="uid://bbnabwyoewgym"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://gy4ygqrjj5ys" path="res://resources/characters/duke.tres" id="1_iaxr1"]
|
||||
[ext_resource type="Script" uid="uid://b8peyg02l0mrn" path="res://scenes/managers/masked_chara.gd" id="2_7bwff"]
|
||||
[ext_resource type="Resource" uid="uid://kau80jesm22w" path="res://resources/masks/falsy.tres" id="2_mhs2o"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_7bwff")
|
||||
character = ExtResource("1_iaxr1")
|
||||
mouth_mask = ExtResource("2_mhs2o")
|
||||
metadata/_custom_type_script = "uid://b8peyg02l0mrn"
|
||||
@@ -6,7 +6,7 @@
|
||||
[resource]
|
||||
script = ExtResource("2_ncal4")
|
||||
name = "Mask of the Liar"
|
||||
description = "Invert all preferences"
|
||||
description = "Invert all traits"
|
||||
mask_sprite = ExtResource("1_r5drl")
|
||||
region = 1
|
||||
stimuli = 1
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
[gd_resource type="Resource" script_class="Trait" format=3 uid="uid://3a6ivamvrnqj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_kdrvf"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_kdrvf")
|
||||
name = "Clean"
|
||||
stimulis = Array[int]([2])
|
||||
metadata/_custom_type_script = "uid://cya40uohlvgbr"
|
||||
@@ -1,11 +0,0 @@
|
||||
[gd_resource type="Resource" script_class="Trait" format=3 uid="uid://exoxxj84dvsf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_7inbg"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_7inbg")
|
||||
name = "Peasant"
|
||||
stimulis = Array[int]([0])
|
||||
category = 2
|
||||
tag = 8
|
||||
metadata/_custom_type_script = "uid://cya40uohlvgbr"
|
||||
@@ -1,11 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="Trait" format=3 uid="uid://b118uebk1ldog"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_p35wh"]
|
||||
[ext_resource type="Script" uid="uid://cya40uohlvgbr" path="res://scenes/character/trait.gd" id="1_18eva"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_p35wh")
|
||||
name = "Noble"
|
||||
stimulis = Array[int]([0])
|
||||
script = ExtResource("1_18eva")
|
||||
name = "Perfumed"
|
||||
stimulis = Array[int]([2])
|
||||
category = 2
|
||||
tag = 7
|
||||
metadata/_custom_type_script = "uid://cya40uohlvgbr"
|
||||
63
scenes/arrow/arrow.tscn
Normal file
@@ -0,0 +1,63 @@
|
||||
[gd_scene format=3 uid="uid://xwccasmeo5cy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d3f721y4183yy" path="res://utils/clickable.gd" id="1_8e2im"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgrudt5ev651p" path="res://assets/ui/arrow_001.png" id="1_uynht"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ftp6y"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.5, 0.5)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pd34m"]
|
||||
resource_name = "idle"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:scale")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.5, 0.5), Vector2(0.4, 0.4)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qjyke"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_ftp6y"),
|
||||
&"idle": SubResource("Animation_pd34m")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_hp5o0"]
|
||||
radius = 115.15642
|
||||
|
||||
[node name="Area2D" type="Area2D" unique_id=1884209541]
|
||||
script = ExtResource("1_8e2im")
|
||||
|
||||
[node name="Arrow001" type="Sprite2D" parent="." unique_id=774581185]
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("1_uynht")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Arrow001" unique_id=684818971]
|
||||
libraries/ = SubResource("AnimationLibrary_qjyke")
|
||||
autoplay = &"idle"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=9151517]
|
||||
shape = SubResource("CircleShape2D_hp5o0")
|
||||
|
||||
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
||||
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://qemsayf5o7r2" path="res://scenes/audio/background_music_player.gd" id="1_c6vpr"]
|
||||
[ext_resource type="AudioStream" uid="uid://d4jic41p1g113" path="res://assets/audio/Troubadeck 32 Perserverance.ogg" id="2_ybvjt"]
|
||||
[ext_resource type="AudioStream" uid="uid://ba5cwdtw0ddj6" path="res://assets/audio/crowd_ambiance/Crowd Talking.mp3" id="3_fyp3t"]
|
||||
|
||||
[node name="BackgroundMusicPlayer" type="Node" unique_id=547672891]
|
||||
script = ExtResource("1_c6vpr")
|
||||
@@ -10,3 +11,8 @@ script = ExtResource("1_c6vpr")
|
||||
stream = ExtResource("2_ybvjt")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
|
||||
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="." unique_id=1238498609]
|
||||
stream = ExtResource("3_fyp3t")
|
||||
autoplay = true
|
||||
bus = &"Ambiance"
|
||||
|
||||
@@ -6,38 +6,31 @@ extends Camera2D
|
||||
var should_move_right = false
|
||||
var should_move_left = false
|
||||
|
||||
signal move_to_reception_finished
|
||||
signal move_to_dining_room_finished
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
func move_to_reception() -> void:
|
||||
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(self, "position", Vector2.ZERO, 0.5)
|
||||
camera_tween.tween_callback(on_move_to_reception_finished)
|
||||
|
||||
func on_move_to_reception_finished() -> void:
|
||||
move_to_reception_finished.emit()
|
||||
|
||||
func move_to_dining_room() -> void:
|
||||
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(self, "position", Vector2(2720.0, 0), 0.5)
|
||||
camera_tween.tween_callback(on_move_to_dining_room_finished)
|
||||
|
||||
func on_move_to_dining_room_finished() -> void:
|
||||
move_to_dining_room_finished.emit()
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
var limit_left_at_center = limit_left + get_viewport_rect().size.x/2
|
||||
var limit_right_at_center = limit_right - get_viewport_rect().size.x/2
|
||||
if position.x < limit_left_at_center:
|
||||
position.x = limit_left_at_center
|
||||
if position.x > limit_right_at_center:
|
||||
position.x = limit_right_at_center
|
||||
|
||||
if should_move_right and position.x < limit_right_at_center:
|
||||
position.x += pan_speed
|
||||
if should_move_left and position.x > limit_left_at_center:
|
||||
position.x -= pan_speed
|
||||
func _on_arrow_right_on_clicked() -> void:
|
||||
move_to_dining_room()
|
||||
|
||||
|
||||
func _on_pan_right_mouse_entered() -> void:
|
||||
should_move_right = true
|
||||
|
||||
|
||||
func _on_pan_right_mouse_exited() -> void:
|
||||
should_move_right = false
|
||||
|
||||
|
||||
func _on_pan_left_mouse_entered() -> void:
|
||||
should_move_left = true
|
||||
|
||||
|
||||
func _on_pan_left_mouse_exited() -> void:
|
||||
should_move_left = false
|
||||
func _on_arrow_left_on_clicked() -> void:
|
||||
move_to_reception()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[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="Resource" uid="uid://i4yr7hqobna7" path="res://resources/characters/prince.tres" id="2_fgi2k"]
|
||||
[ext_resource type="Texture2D" uid="uid://c61n5v2xrlwy2" path="res://assets/characters/Perso 5.png" id="3_f8hpl"]
|
||||
[ext_resource type="Resource" uid="uid://c2v05fqr7cwll" path="res://resources/characters/bishop.tres" id="2_fgi2k"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmmhwqsi3im3w" path="res://assets/characters/Perso 4.png" id="3_f8hpl"]
|
||||
[ext_resource type="PackedScene" uid="uid://3jlukpb5hefb" path="res://scenes/mask/mask.tscn" id="3_mutn8"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_fgi2k"]
|
||||
@@ -164,11 +164,11 @@ chara_resource = ExtResource("2_fgi2k")
|
||||
texture = ExtResource("3_f8hpl")
|
||||
|
||||
[node name="MaskMouth" parent="." unique_id=1087336064 instance=ExtResource("3_mutn8")]
|
||||
position = Vector2(88.32, -14.73)
|
||||
position = Vector2(47.37, 103.725)
|
||||
|
||||
[node name="MaskEyes" parent="." unique_id=428968220 instance=ExtResource("3_mutn8")]
|
||||
position = Vector2(104.295, 9.395)
|
||||
rotation = -0.017453292
|
||||
position = Vector2(63.135, 91.365)
|
||||
rotation = 0.015707964
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=713965213]
|
||||
libraries/ = SubResource("AnimationLibrary_7ex5l")
|
||||
|
||||
@@ -14,11 +14,14 @@ var pref_score_name: Dictionary[CharacterResource.Preference, String] = {
|
||||
CharacterResource.Preference.HATE: "Hates ",
|
||||
}
|
||||
|
||||
@onready var chara: Sprite2D = $"../GuestList/Chara"
|
||||
@onready var mask: Sprite2D = $"../MaskList/Mask"
|
||||
|
||||
@onready var label: Label = $Label
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
pass
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
@@ -30,7 +33,7 @@ func set_list(_items):
|
||||
for i in _items:
|
||||
print(i.name)
|
||||
|
||||
current_item = 0
|
||||
current_item = 1
|
||||
if _items.size() == 0:
|
||||
items = []
|
||||
label.text = "...\n...\n..."
|
||||
@@ -43,20 +46,25 @@ func cycle_through_items() -> void:
|
||||
if items.size() == 0:
|
||||
label.text = "...\n...\n..."
|
||||
return
|
||||
|
||||
|
||||
current_item += 1
|
||||
var index = current_item % items.size()
|
||||
var item = items.get(index)
|
||||
if item is MaskResource:
|
||||
mask.visible = true
|
||||
mask.texture = item.mask_sprite
|
||||
label.text = "\n\n\n\n" + item.name + "\n\n" + item.description
|
||||
elif item is CharacterResource:
|
||||
chara.visible = true
|
||||
chara.texture = item.chara_sprite
|
||||
|
||||
label.text = item.name + "\n\nTraits\n"
|
||||
for guest_trait: Trait in item.traits:
|
||||
label.text += guest_trait.name + ", "
|
||||
label.text += guest_trait.name + "\n"
|
||||
label.text += "\n\nPreferences\n"
|
||||
for other_trait in item.preferences:
|
||||
var pref = item.preferences[other_trait]
|
||||
label.text += pref_score_name[pref] + other_trait.name + ", "
|
||||
label.text += pref_score_name[pref] + other_trait.name + "\n"
|
||||
|
||||
|
||||
func _on_mouse_entered() -> void:
|
||||
|
||||
@@ -38,3 +38,24 @@ func _on_mask_list_mouse_entered() -> void:
|
||||
|
||||
func _on_mask_list_mouse_exited() -> void:
|
||||
animation_player.play_backwards("mask_list_up")
|
||||
|
||||
|
||||
func _on_mask_list_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
play_list_side_sfx()
|
||||
|
||||
|
||||
func _on_guest_list_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
play_list_side_sfx()
|
||||
|
||||
func _on_game_manager_defeat_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("defeat")
|
||||
|
||||
|
||||
func _on_game_manager_ring_bell_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("bell")
|
||||
|
||||
|
||||
func _on_game_manager_victory_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("victory")
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
[ext_resource type="Resource" uid="uid://wq3g1j3l4gl6" path="res://resources/characters/queen.tres" id="8_pg34l"]
|
||||
[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="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://b5ea6pr6bv85d" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-2.ogg" id="11_0bhws"]
|
||||
[ext_resource type="AudioStream" uid="uid://dwhw36p5gijof" path="res://assets/audio/paper picked up 2.wav" id="10_6miv3"]
|
||||
[ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="11_s17dp"]
|
||||
[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://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="Texture2D" uid="uid://c60m6ulhqcbga" path="res://assets/decor/BG.png" id="14_os81g"]
|
||||
[ext_resource type="AudioStream" uid="uid://bd6ac4eygdsqn" path="res://assets/audio/bell-98033.mp3" id="14_yisfj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbpdehppn5h8v" path="res://assets/decor/entrance_bg_objects.png" id="15_1k3ck"]
|
||||
[ext_resource type="AudioStream" uid="uid://bnxtexx6ofcip" path="res://assets/audio/victory/cute_happy_victory-476376.mp3" id="15_pd34m"]
|
||||
[ext_resource type="AudioStream" uid="uid://btmwxdhsu8ckf" path="res://assets/audio/defeat/fiasco-154915.mp3" id="16_qjyke"]
|
||||
[ext_resource type="Resource" uid="uid://c2v05fqr7cwll" path="res://resources/characters/bishop.tres" id="23_wcrab"]
|
||||
[ext_resource type="Resource" uid="uid://vsvgpvluq7sh" path="res://resources/masks/blind.tres" id="24_g2upo"]
|
||||
[ext_resource type="Resource" uid="uid://jcski7vdhybh" path="res://resources/characters/farmer.tres" id="24_gohbf"]
|
||||
@@ -34,22 +34,24 @@
|
||||
[ext_resource type="Resource" uid="uid://dvmr6qryknr2j" path="res://resources/characters/nun.tres" id="26_6miv3"]
|
||||
[ext_resource type="Resource" uid="uid://kau80jesm22w" path="res://resources/masks/falsy.tres" id="26_i6fjx"]
|
||||
[ext_resource type="Resource" uid="uid://bfvky2dpu6vv0" path="res://resources/guests/duke_unmasked.tres" id="27_6w6mm"]
|
||||
[ext_resource type="Resource" uid="uid://cfargib0urafc" path="res://resources/guests/duchex_unmasked.tres" id="27_62f45"]
|
||||
[ext_resource type="Resource" uid="uid://i4yr7hqobna7" path="res://resources/characters/prince.tres" id="27_yisfj"]
|
||||
[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="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="Resource" uid="uid://k561jqkq8jpa" path="res://resources/guests/bishop_unmasked.tres" id="35_yisfj"]
|
||||
[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="Resource" uid="uid://dw8ckdqphstum" path="res://resources/guests/bishop_blind.tres" id="37_yisfj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgl8g5eqy8xm0" path="res://assets/decor/hand_bell.png" id="39_62f45"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj267xgqniy2i" path="res://assets/decor/table_item_a_2.png" id="43_jucdw"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4u3o7fyryxxq" path="res://assets/decor/table_item_a.png" id="44_6miv3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3jx3y0mbueoo" path="res://assets/ui/arrow_004.png" id="47_6miv3"]
|
||||
[ext_resource type="PackedScene" uid="uid://xwccasmeo5cy" path="res://scenes/arrow/arrow.tscn" id="52_ftp6y"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"]
|
||||
random_pitch = 1.122462
|
||||
@@ -65,20 +67,26 @@ stream_7/stream = ExtResource("9_i7in8")
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_7nlll"]
|
||||
random_pitch = 1.122462
|
||||
streams_count = 4
|
||||
stream_0/stream = ExtResource("10_6llfj")
|
||||
stream_1/stream = ExtResource("11_0bhws")
|
||||
stream_2/stream = ExtResource("12_62atk")
|
||||
stream_3/stream = ExtResource("13_i7in8")
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("10_6miv3")
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_7smn1"]
|
||||
clip_count = 2
|
||||
clip_count = 5
|
||||
clip_0/name = &"list_side"
|
||||
clip_0/stream = SubResource("AudioStreamRandomizer_gkmcc")
|
||||
clip_0/auto_advance = 0
|
||||
clip_1/name = &"list_up"
|
||||
clip_1/stream = SubResource("AudioStreamRandomizer_7nlll")
|
||||
clip_1/auto_advance = 0
|
||||
clip_2/name = &"bell"
|
||||
clip_2/stream = ExtResource("14_yisfj")
|
||||
clip_2/auto_advance = 0
|
||||
clip_3/name = &"victory"
|
||||
clip_3/stream = ExtResource("15_pd34m")
|
||||
clip_3/auto_advance = 0
|
||||
clip_4/name = &"defeat"
|
||||
clip_4/stream = ExtResource("16_qjyke")
|
||||
clip_4/auto_advance = 0
|
||||
initial_clip = 1
|
||||
_transitions = {
|
||||
Vector2i(-1, -1): {
|
||||
@@ -89,9 +97,6 @@ Vector2i(-1, -1): {
|
||||
}
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ya4ey"]
|
||||
size = Vector2(512, 1080)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_7smn1"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@@ -414,14 +419,14 @@ character = NodePath("../Character")
|
||||
guest_list = NodePath("../GuestList")
|
||||
mask_list = NodePath("../MaskList")
|
||||
tables = [NodePath("../Table"), NodePath("../Table2"), NodePath("../Table3")]
|
||||
lvl1_guest_1 = ExtResource("27_62f45")
|
||||
lvl1_guest_1 = ExtResource("35_yisfj")
|
||||
lvl1_guest_2 = ExtResource("27_6w6mm")
|
||||
lvl2_guest_1 = ExtResource("27_62f45")
|
||||
lvl2_guest_2 = ExtResource("30_6g32y")
|
||||
lvl2_guest_1 = ExtResource("27_6w6mm")
|
||||
lvl2_guest_2 = ExtResource("37_yisfj")
|
||||
lvl3_guest_1 = ExtResource("33_f4j1x")
|
||||
lvl3_guest_2 = ExtResource("29_62f45")
|
||||
lvl3_guest_3 = ExtResource("27_6w6mm")
|
||||
current_level = 3
|
||||
dual_mask_probability = 0.1
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=1166192115]
|
||||
limit_left = -960
|
||||
@@ -433,18 +438,6 @@ position_smoothing_speed = 10.0
|
||||
script = ExtResource("14_0bhws")
|
||||
pan_speed = 16.04
|
||||
|
||||
[node name="PanRight" type="Area2D" parent="Camera2D" unique_id=1684320772]
|
||||
position = Vector2(960, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanRight" unique_id=1733069282]
|
||||
shape = SubResource("RectangleShape2D_ya4ey")
|
||||
|
||||
[node name="PanLeft" type="Area2D" parent="Camera2D" unique_id=1942262155]
|
||||
position = Vector2(-960, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanLeft" unique_id=77276628]
|
||||
shape = SubResource("RectangleShape2D_ya4ey")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1813843404]
|
||||
libraries/ = SubResource("AnimationLibrary_hxu8e")
|
||||
|
||||
@@ -452,7 +445,7 @@ libraries/ = SubResource("AnimationLibrary_hxu8e")
|
||||
position = Vector2(2711, 22)
|
||||
|
||||
[node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(2029, 236)
|
||||
position = Vector2(2017, 236)
|
||||
|
||||
[node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(3430, 217)
|
||||
@@ -463,16 +456,17 @@ scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("35_62f45")
|
||||
|
||||
[node name="TableItemA2" type="Sprite2D" parent="." unique_id=611798307]
|
||||
position = Vector2(-933, 164)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
position = Vector2(-882, 149)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("43_jucdw")
|
||||
|
||||
[node name="TableItemA" type="Sprite2D" parent="." unique_id=1146510015]
|
||||
position = Vector2(911.00006, 385.00003)
|
||||
position = Vector2(903, 382)
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("44_6miv3")
|
||||
|
||||
[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)
|
||||
@@ -483,7 +477,18 @@ scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("35_1k3ck")
|
||||
flip_h = true
|
||||
|
||||
[node name="Mask" type="Sprite2D" parent="MaskList" unique_id=383750220]
|
||||
position = Vector2(128.84132, -293.59827)
|
||||
scale = Vector2(0.15, 0.15)
|
||||
|
||||
[node name="Arrow005" type="Sprite2D" parent="MaskList" unique_id=993186332]
|
||||
position = Vector2(105.81715, 181.90033)
|
||||
rotation = 0.03710282
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("47_6miv3")
|
||||
|
||||
[node name="GuestList" parent="." unique_id=2089675317 instance=ExtResource("25_6llfj")]
|
||||
visible = false
|
||||
position = Vector2(-409, 523)
|
||||
rotation = -0.16732943
|
||||
|
||||
@@ -492,6 +497,16 @@ position = Vector2(-224.08743, 155.85515)
|
||||
scale = Vector2(0.6, 0.6)
|
||||
texture = ExtResource("36_62f45")
|
||||
|
||||
[node name="Chara" type="Sprite2D" parent="GuestList" unique_id=275662105]
|
||||
position = Vector2(179.2679, -334.8194)
|
||||
scale = Vector2(0.08, 0.08)
|
||||
|
||||
[node name="Arrow004" type="Sprite2D" parent="GuestList" unique_id=1454132163]
|
||||
position = Vector2(154.4564, 262.38947)
|
||||
rotation = -0.011010677
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("47_6miv3")
|
||||
|
||||
[node name="ReadyBell" type="Area2D" parent="." unique_id=1350504622]
|
||||
position = Vector2(-5, 376)
|
||||
script = ExtResource("33_tbnf8")
|
||||
@@ -513,17 +528,27 @@ texture = ExtResource("39_62f45")
|
||||
libraries/ = SubResource("AnimationLibrary_6g32y")
|
||||
autoplay = &"idle"
|
||||
|
||||
[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_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"]
|
||||
[node name="ArrowRight" parent="." unique_id=774581185 instance=ExtResource("52_ftp6y")]
|
||||
position = Vector2(828, 7)
|
||||
|
||||
[node name="ArrowLeft" parent="." unique_id=1884209541 instance=ExtResource("52_ftp6y")]
|
||||
position = Vector2(1810, -241)
|
||||
rotation = 3.1415927
|
||||
|
||||
[connection signal="defeat_noise" from="GameManager" to="." method="_on_game_manager_defeat_noise"]
|
||||
[connection signal="ring_bell_noise" from="GameManager" to="." method="_on_game_manager_ring_bell_noise"]
|
||||
[connection signal="victory_noise" from="GameManager" to="." method="_on_game_manager_victory_noise"]
|
||||
[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="Table3" to="GameManager" method="on_seat_clicked"]
|
||||
[connection signal="input_event" from="MaskList" to="." method="_on_mask_list_input_event"]
|
||||
[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="input_event" from="GuestList" to="." method="_on_guest_list_input_event"]
|
||||
[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"]
|
||||
[connection signal="on_clicked" from="ArrowRight" to="Camera2D" method="_on_arrow_right_on_clicked"]
|
||||
[connection signal="on_clicked" from="ArrowLeft" to="Camera2D" method="_on_arrow_left_on_clicked"]
|
||||
|
||||
@@ -36,6 +36,10 @@ class_name GameManager
|
||||
@export var dual_mask_probability: float = 0.2
|
||||
@export_tool_button("Create chara roster") var create_roster_action = create_new_roster
|
||||
|
||||
signal ring_bell_noise
|
||||
signal victory_noise
|
||||
signal defeat_noise
|
||||
|
||||
var current_chara_roster: Array[MaskedChara]
|
||||
|
||||
enum GameState {
|
||||
@@ -122,37 +126,50 @@ func compute_ending():
|
||||
|
||||
func ending_tween_cb():
|
||||
var final_score = 0.0
|
||||
for table in tables:
|
||||
final_score += table.compute_score()
|
||||
var table1_score = tables[0].compute_score()
|
||||
var table2_score = tables[1].compute_score()
|
||||
var table3_score = tables[2].compute_score()
|
||||
final_score = table1_score + table2_score + table3_score
|
||||
|
||||
print("Final score: %s" % final_score)
|
||||
var is_defeat = table1_score < 0 or table2_score < 0 or table3_score < 0
|
||||
if is_defeat:
|
||||
defeat_noise.emit()
|
||||
else:
|
||||
victory_noise.emit()
|
||||
|
||||
await get_tree().create_timer(4).timeout
|
||||
|
||||
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.ZERO, 0.5)
|
||||
await get_tree().create_timer(0.5).timeout
|
||||
|
||||
# Progress levels
|
||||
current_game_state = GameState.READY
|
||||
ring_bell.visible = true
|
||||
bell_anim_player.play("idle")
|
||||
|
||||
if is_defeat:
|
||||
return
|
||||
|
||||
if current_level == Levels.LVL1:
|
||||
current_level = Levels.LVL2
|
||||
elif current_level == Levels.LVL2:
|
||||
current_level = Levels.LVL3
|
||||
else:
|
||||
if final_score >= 0:
|
||||
roster_size += 1
|
||||
roster_size += 1
|
||||
current_level = Levels.RANDOM
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
character.visible = false
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_ready_bell_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
ring_bell_noise.emit()
|
||||
if current_game_state == GameState.READY:
|
||||
on_ready_bell_pressed()
|
||||
|
||||
@@ -163,10 +180,12 @@ func on_ready_bell_pressed() -> void:
|
||||
for table in tables:
|
||||
table.initialize()
|
||||
|
||||
guest_list.visible = true
|
||||
if current_level == Levels.LVL1:
|
||||
current_chara_roster = [lvl1_guest_1, lvl1_guest_2]
|
||||
elif current_level == Levels.LVL2:
|
||||
current_chara_roster = [lvl2_guest_1, lvl2_guest_2]
|
||||
mask_list.visible = true
|
||||
elif current_level == Levels.LVL3:
|
||||
current_chara_roster = [lvl3_guest_1, lvl3_guest_2, lvl3_guest_3]
|
||||
else:
|
||||
|
||||
@@ -41,7 +41,7 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
|
||||
for guest_trait in guest_traits:
|
||||
var trait_strength = 0.0
|
||||
for stimuli in guest_trait.stimulis:
|
||||
var strength = stimuli
|
||||
var strength = 1.0
|
||||
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:
|
||||
@@ -51,6 +51,7 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
|
||||
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(guest_appreciation)
|
||||
|
||||
overall_score += guest_appreciation
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[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="Resource" uid="uid://vsvgpvluq7sh" path="res://resources/masks/blind.tres" id="2_0pm64"]
|
||||
[ext_resource type="Texture2D" uid="uid://sf7sjug1spau" path="res://assets/masks/Masque 1.png" id="3_htpgb"]
|
||||
[ext_resource type="Resource" uid="uid://t2n1q71ce4x6" path="res://resources/masks/deaf.tres" id="2_0pm64"]
|
||||
[ext_resource type="Texture2D" uid="uid://bi2qq11fbn2yd" path="res://assets/masks/Masque 2.png" id="3_htpgb"]
|
||||
|
||||
[node name="Mask" type="Node2D" unique_id=428968220]
|
||||
script = ExtResource("1_61b51")
|
||||
|
||||
@@ -32,6 +32,7 @@ func initialize() -> void:
|
||||
|
||||
func compute_score() -> float:
|
||||
if seat_1.guest == null and seat_2.guest == null and seat_2.guest == null:
|
||||
print("No guests at table %s" % name)
|
||||
return 0.0
|
||||
|
||||
var score_guest1 = seat_1.guest.compute_score([seat_2.guest, seat_3.guest]) if seat_1.guest != null else 0.0
|
||||
@@ -40,6 +41,7 @@ func compute_score() -> float:
|
||||
|
||||
var table_score = score_guest1 + score_guest2 + score_guest3
|
||||
|
||||
print(table_score)
|
||||
table.visible = false
|
||||
table_defeat.visible = table_score < 0
|
||||
table_victory.visible = table_score >= 0
|
||||
|
||||
19
utils/clickable.gd
Normal file
@@ -0,0 +1,19 @@
|
||||
extends Area2D
|
||||
class_name Clickable
|
||||
|
||||
|
||||
signal on_clicked
|
||||
|
||||
|
||||
func _on_mouse_entered() -> void:
|
||||
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
|
||||
|
||||
|
||||
func _on_mouse_exited() -> void:
|
||||
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)
|
||||
|
||||
|
||||
func _on_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)
|
||||
on_clicked.emit()
|
||||
1
utils/clickable.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://d3f721y4183yy
|
||||