door (20)

This commit is contained in:
2024-10-20 14:52:24 +02:00
parent 704f2dfd2c
commit eb93c527d3
54 changed files with 2605 additions and 174 deletions

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ca5aou1f0v5ry"
path="res://.godot/imported/Caniche00.png-cc538cf7be047797a543d87fadcb1888.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche00.png"
dest_files=["res://.godot/imported/Caniche00.png-cc538cf7be047797a543d87fadcb1888.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dyt3iack1afus"
path="res://.godot/imported/Caniche01.png-f67946164faefcea45d255fc3347545e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche01.png"
dest_files=["res://.godot/imported/Caniche01.png-f67946164faefcea45d255fc3347545e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ciue5bg3hkw7e"
path="res://.godot/imported/Caniche02.png-5b3395251bef6d4dd88873a6890b3c72.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche02.png"
dest_files=["res://.godot/imported/Caniche02.png-5b3395251bef6d4dd88873a6890b3c72.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://qu1x6hutugdx"
path="res://.godot/imported/Caniche03.png-4342d0fd13b90e13fe8c7d003e8c01f2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche03.png"
dest_files=["res://.godot/imported/Caniche03.png-4342d0fd13b90e13fe8c7d003e8c01f2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ddv1olxcs36kd"
path="res://.godot/imported/Caniche04.png-564bf585531b48a784617c9b1d9394e2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche04.png"
dest_files=["res://.godot/imported/Caniche04.png-564bf585531b48a784617c9b1d9394e2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dbpfk1v71owas"
path="res://.godot/imported/Caniche05.png-85e61c555c1285478c6a54c656bf3484.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche05.png"
dest_files=["res://.godot/imported/Caniche05.png-85e61c555c1285478c6a54c656bf3484.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bw3wf30kj7ysu"
path="res://.godot/imported/Caniche06.png-59402a544196bbdd4e70f5daf4e2965f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche06.png"
dest_files=["res://.godot/imported/Caniche06.png-59402a544196bbdd4e70f5daf4e2965f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ct1adhigovvrs"
path="res://.godot/imported/Caniche07.png-a15464769a4c81c3fed48d1901c2b423.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche07.png"
dest_files=["res://.godot/imported/Caniche07.png-a15464769a4c81c3fed48d1901c2b423.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbpmodmb7viva"
path="res://.godot/imported/Caniche08.png-d2b3494f3d4e596d16f5860a3970494e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Caniche08.png"
dest_files=["res://.godot/imported/Caniche08.png-d2b3494f3d4e596d16f5860a3970494e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://niofms1fbpqf"
path="res://.godot/imported/GameOver1.jpg-7c9e9beadc8437a6198c0f779a9e25f9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver1.jpg"
dest_files=["res://.godot/imported/GameOver1.jpg-7c9e9beadc8437a6198c0f779a9e25f9.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cheyvdcyhcjfx"
path="res://.godot/imported/GameOver2.jpg-16c2ff6b624066376075c8d9bdb12804.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver2.jpg"
dest_files=["res://.godot/imported/GameOver2.jpg-16c2ff6b624066376075c8d9bdb12804.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cv3g2ug3gn6bl"
path="res://.godot/imported/GameOver3.jpg-d23709496587a71eff587c8f3598244a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver3.jpg"
dest_files=["res://.godot/imported/GameOver3.jpg-d23709496587a71eff587c8f3598244a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://nb15wpu2dfiy"
path="res://.godot/imported/GameOver4.jpg-1e50df8f0fb8e29b5bfbbe76f61d9bb2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver4.jpg"
dest_files=["res://.godot/imported/GameOver4.jpg-1e50df8f0fb8e29b5bfbbe76f61d9bb2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dxbamm4wyrws7"
path="res://.godot/imported/GameOver5.jpg-b2048f28a8091d0615ae970c60a43747.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver5.jpg"
dest_files=["res://.godot/imported/GameOver5.jpg-b2048f28a8091d0615ae970c60a43747.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pyg47l5x2ym7"
path="res://.godot/imported/GameOver6.jpg-cfc64da9a14f44fb226286e6a10a552c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/GameOver6.jpg"
dest_files=["res://.godot/imported/GameOver6.jpg-cfc64da9a14f44fb226286e6a10a552c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy20.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ba5hrp6jas2ox"
path="res://.godot/imported/Guy20.png-e3f93aaa64af9ad91cfdd5ee1fe02648.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy20.png"
dest_files=["res://.godot/imported/Guy20.png-e3f93aaa64af9ad91cfdd5ee1fe02648.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy21.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ntxxviijgqhv"
path="res://.godot/imported/Guy21.png-e56c8c1b40850543480463fc9b81cdb3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy21.png"
dest_files=["res://.godot/imported/Guy21.png-e56c8c1b40850543480463fc9b81cdb3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy22.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b88uh5xqcomi6"
path="res://.godot/imported/Guy22.png-36a2ee1fcf9ed27eb79ccf5cc776897d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy22.png"
dest_files=["res://.godot/imported/Guy22.png-36a2ee1fcf9ed27eb79ccf5cc776897d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy23.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dit7khtm4k88d"
path="res://.godot/imported/Guy23.png-14a4a6bd53f9138d4a35ec11562d0cd2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy23.png"
dest_files=["res://.godot/imported/Guy23.png-14a4a6bd53f9138d4a35ec11562d0cd2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy24.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dmjsaft5w6pfv"
path="res://.godot/imported/Guy24.png-92b48f82baf02525e63c2a9d95b84124.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy24.png"
dest_files=["res://.godot/imported/Guy24.png-92b48f82baf02525e63c2a9d95b84124.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Guy25.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b8ewwfknu6km8"
path="res://.godot/imported/Guy25.png-38d48e10bda34eb4c5cbe17b817667af.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Guy25.png"
dest_files=["res://.godot/imported/Guy25.png-38d48e10bda34eb4c5cbe17b817667af.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Kid3.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bthwvata03c46"
path="res://.godot/imported/Kid3.png-aa9943774f9a18d4af4e63bf8ebfc0f3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Kid3.png"
dest_files=["res://.godot/imported/Kid3.png-aa9943774f9a18d4af4e63bf8ebfc0f3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Kid4.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b4bdxc3qs4nsl"
path="res://.godot/imported/Kid4.png-a1ea853b01cf46e335e86f92c7569dda.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Kid4.png"
dest_files=["res://.godot/imported/Kid4.png-a1ea853b01cf46e335e86f92c7569dda.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
model/Kid5.png.import Normal file
View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brrixh1w0h0f"
path="res://.godot/imported/Kid5.png-5cf1fd374ff97fdf0430d752426c0bbc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://model/Kid5.png"
dest_files=["res://.godot/imported/Kid5.png-5cf1fd374ff97fdf0430d752426c0bbc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

@@ -66,7 +66,11 @@ down={
interact={ interact={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ]
}
valid={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }

View File

@@ -1,11 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://dpr0d61yufy2k"] [gd_scene load_steps=5 format=3 uid="uid://dpr0d61yufy2k"]
[ext_resource type="Script" path="res://script/Car.cs" id="1_ahe46"]
[ext_resource type="Texture2D" uid="uid://cdunb77p5rpwa" path="res://model/Car1.png" id="1_yrf7o"] [ext_resource type="Texture2D" uid="uid://cdunb77p5rpwa" path="res://model/Car1.png" id="1_yrf7o"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5e1gk"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_5e1gk"]
size = Vector2(84, 47) size = Vector2(84, 47)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nino3"]
size = Vector2(100, 60)
[node name="Car" type="CharacterBody2D"] [node name="Car" type="CharacterBody2D"]
script = ExtResource("1_ahe46")
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_yrf7o") texture = ExtResource("1_yrf7o")
@@ -13,3 +18,10 @@ texture = ExtResource("1_yrf7o")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 0.5) position = Vector2(0, 0.5)
shape = SubResource("RectangleShape2D_5e1gk") shape = SubResource("RectangleShape2D_5e1gk")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_nino3")
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=34 format=3 uid="uid://bq2yxcm55h7n8"] [gd_scene load_steps=37 format=3 uid="uid://bq2yxcm55h7n8"]
[ext_resource type="Script" path="res://script/DoorView.cs" id="1_nmul8"] [ext_resource type="Script" path="res://script/DoorView.cs" id="1_nmul8"]
[ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_suqi6"] [ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_suqi6"]
[ext_resource type="Texture2D" uid="uid://b7dcgps5sedwl" path="res://model/House1Open.jpg" id="2_c5xhw"] [ext_resource type="Texture2D" uid="uid://b7dcgps5sedwl" path="res://model/House1Open.jpg" id="2_c5xhw"]
[ext_resource type="Texture2D" uid="uid://d0g144qe1ly7v" path="res://model/Guy1.png" id="3_b1cgq"] [ext_resource type="Texture2D" uid="uid://cjeqjrjt2bww7" path="res://model/Shotgun.png" id="3_7edmr"]
[ext_resource type="Texture2D" uid="uid://bo5rfykx4o7dj" path="res://model/frame_00_delay-0.1s.png" id="4_xbfyi"] [ext_resource type="Texture2D" uid="uid://bo5rfykx4o7dj" path="res://model/frame_00_delay-0.1s.png" id="4_xbfyi"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="5_50q8s"] [ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="5_50q8s"]
[ext_resource type="Texture2D" uid="uid://borv8ayo6tunr" path="res://model/frame_01_delay-0.1s.png" id="5_qi8gy"] [ext_resource type="Texture2D" uid="uid://borv8ayo6tunr" path="res://model/frame_01_delay-0.1s.png" id="5_qi8gy"]
@@ -26,7 +26,9 @@
[ext_resource type="Texture2D" uid="uid://drvspvx3dpe8u" path="res://model/frame_18_delay-0.1s.png" id="22_atju4"] [ext_resource type="Texture2D" uid="uid://drvspvx3dpe8u" path="res://model/frame_18_delay-0.1s.png" id="22_atju4"]
[ext_resource type="Texture2D" uid="uid://cggbun65n8uo6" path="res://model/frame_19_delay-0.1s.png" id="23_l4jpt"] [ext_resource type="Texture2D" uid="uid://cggbun65n8uo6" path="res://model/frame_19_delay-0.1s.png" id="23_l4jpt"]
[ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="24_tjfip"] [ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="24_tjfip"]
[ext_resource type="Texture2D" uid="uid://surjj4dbldjy" path="res://model/back_menu.png" id="25_l02i0"]
[ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="26_7kpao"] [ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="26_7kpao"]
[ext_resource type="AudioStream" uid="uid://b6yryajuu4kpr" path="res://sound/shotgun-03-38220.mp3" id="28_s56qt"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"]
@@ -142,50 +144,122 @@ tracks/2/keys = {
tracks/3/type = "value" tracks/3/type = "value"
tracks/3/imported = false tracks/3/imported = false
tracks/3/enabled = true tracks/3/enabled = true
tracks/3/path = NodePath("Question:visible") tracks/3/path = NodePath("Panel/mob:modulate")
tracks/3/interp = 1 tracks/3/interp = 1
tracks/3/loop_wrap = true tracks/3/loop_wrap = true
tracks/3/keys = { tracks/3/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 1, "update": 0,
"values": [false] "values": [Color(1, 1, 1, 0)]
} }
tracks/4/type = "value" tracks/4/type = "value"
tracks/4/imported = false tracks/4/imported = false
tracks/4/enabled = true tracks/4/enabled = true
tracks/4/path = NodePath("Panel/mob:modulate") tracks/4/path = NodePath("Panel/AnimatedSprite2D:visible")
tracks/4/interp = 1 tracks/4/interp = 1
tracks/4/loop_wrap = true tracks/4/loop_wrap = true
tracks/4/keys = { tracks/4/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 0, "update": 1,
"values": [Color(1, 1, 1, 1)] "values": [false]
} }
tracks/5/type = "value" tracks/5/type = "value"
tracks/5/imported = false tracks/5/imported = false
tracks/5/enabled = true tracks/5/enabled = true
tracks/5/path = NodePath("Panel/AnimatedSprite2D:visible") tracks/5/path = NodePath("Panel/AnimatedSprite2D:frame")
tracks/5/interp = 1 tracks/5/interp = 1
tracks/5/loop_wrap = true tracks/5/loop_wrap = true
tracks/5/keys = { tracks/5/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 1, "update": 1,
"values": [true] "values": [0]
} }
tracks/6/type = "value" tracks/6/type = "value"
tracks/6/imported = false tracks/6/imported = false
tracks/6/enabled = true tracks/6/enabled = true
tracks/6/path = NodePath("Panel/AnimatedSprite2D:frame") tracks/6/path = NodePath("Panel/mob:position")
tracks/6/interp = 1 tracks/6/interp = 1
tracks/6/loop_wrap = true tracks/6/loop_wrap = true
tracks/6/keys = { tracks/6/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-56, -101)]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("Panel/mob:scale")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
tracks/8/type = "value"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("Panel/Sprite2D:visible")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1, "update": 1,
"values": [0] "values": [false]
}
tracks/9/type = "value"
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/path = NodePath("AudioStreamPlayer:stream")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("26_7kpao")]
}
tracks/10/type = "value"
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/path = NodePath("Panel/mob:texture")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("3_7edmr")]
}
tracks/11/type = "value"
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/path = NodePath("Question:modulate")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/12/type = "value"
tracks/12/imported = false
tracks/12/enabled = true
tracks/12/path = NodePath("Question:visible")
tracks/12/interp = 1
tracks/12/loop_wrap = true
tracks/12/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
} }
[sub_resource type="Animation" id="Animation_fd2lj"] [sub_resource type="Animation" id="Animation_fd2lj"]
@@ -266,7 +340,6 @@ tracks/5/keys = {
[sub_resource type="Animation" id="Animation_ewnqr"] [sub_resource type="Animation" id="Animation_ewnqr"]
resource_name = "question" resource_name = "question"
length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/imported = false
tracks/0/enabled = true tracks/0/enabled = true
@@ -282,21 +355,170 @@ tracks/0/keys = {
tracks/1/type = "value" tracks/1/type = "value"
tracks/1/imported = false tracks/1/imported = false
tracks/1/enabled = true tracks/1/enabled = true
tracks/1/path = NodePath("Question:visible") tracks/1/path = NodePath("AudioStreamPlayer:stream")
tracks/1/interp = 1 tracks/1/interp = 1
tracks/1/loop_wrap = true tracks/1/loop_wrap = true
tracks/1/keys = { tracks/1/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 1, "update": 1,
"values": [ExtResource("26_7kpao")]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("AudioStreamPlayer:playing")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Question:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.1, 0.833333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Question:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true] "values": [true]
} }
[sub_resource type="Animation" id="Animation_0jdtk"]
resource_name = "can"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/back:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ExtResource("1_suqi6"), ExtResource("2_c5xhw")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/mob:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.0666667),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-105.72, -101)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Panel/AnimatedSprite2D:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Panel/mob:scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.0666667),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0.7, 0.7)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/Sprite2D:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0.0333334, 0.666667),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("AudioStreamPlayer:stream")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0.0333334),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("28_s56qt")]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("AudioStreamPlayer:playing")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0.6),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("Panel/mob:texture")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("3_7edmr")]
}
tracks/8/type = "value"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("Panel/mob:modulate")
tracks/8/interp = 0
tracks/8/loop_wrap = true
tracks/8/keys = {
"times": PackedFloat32Array(0.0333334, 0.533333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
_data = { _data = {
"RESET": SubResource("Animation_kla4h"), "RESET": SubResource("Animation_kla4h"),
"enter": SubResource("Animation_fd2lj"), "enter": SubResource("Animation_fd2lj"),
"question": SubResource("Animation_ewnqr") "question": SubResource("Animation_ewnqr"),
"shot": SubResource("Animation_0jdtk")
} }
[node name="door_view" type="Control" node_paths=PackedStringArray("mob", "anim", "text_mob", "butA", "butB")] [node name="door_view" type="Control" node_paths=PackedStringArray("mob", "anim", "text_mob", "butA", "butB")]
@@ -329,15 +551,21 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_jooqt")
texture = ExtResource("1_suqi6") texture = ExtResource("1_suqi6")
[node name="mob" type="Sprite2D" parent="Panel"] [node name="mob" type="Sprite2D" parent="Panel"]
modulate = Color(1, 1, 1, 0)
position = Vector2(-56, -101) position = Vector2(-56, -101)
texture = ExtResource("3_b1cgq") texture = ExtResource("3_7edmr")
centered = false centered = false
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Panel"] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Panel"]
visible = false
position = Vector2(56, 49) position = Vector2(56, 49)
sprite_frames = SubResource("SpriteFrames_gtid6") sprite_frames = SubResource("SpriteFrames_gtid6")
autoplay = "default" autoplay = "default"
[node name="Sprite2D" type="Sprite2D" parent="Panel"]
visible = false
texture = ExtResource("25_l02i0")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = { libraries = {
"": SubResource("AnimationLibrary_b36fu") "": SubResource("AnimationLibrary_b36fu")
@@ -345,6 +573,7 @@ libraries = {
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("26_7kpao") stream = ExtResource("26_7kpao")
volume_db = -20.0
[node name="Trick" type="VBoxContainer" parent="."] [node name="Trick" type="VBoxContainer" parent="."]
visible = false visible = false
@@ -363,7 +592,7 @@ custom_minimum_size = Vector2(263.595, 79.17)
layout_mode = 2 layout_mode = 2
theme = ExtResource("5_50q8s") theme = ExtResource("5_50q8s")
theme_override_font_sizes/font_size = 18 theme_override_font_sizes/font_size = 18
text = "Trick or treat salut a tous les amis moi c'est davide la farge pokemon" text = "Trick or treat ?"
autowrap_mode = 2 autowrap_mode = 2
[node name="Button" type="Button" parent="Trick"] [node name="Button" type="Button" parent="Trick"]
@@ -382,6 +611,7 @@ text = "Treat
[node name="Question" type="VBoxContainer" parent="."] [node name="Question" type="VBoxContainer" parent="."]
visible = false visible = false
modulate = Color(1, 1, 1, 0)
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0

View File

@@ -106,59 +106,83 @@ columns = 2
[node name="Label" type="Label" parent="trick/GridContainer"] [node name="Label" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Black spell of destruction"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label2" type="Label" parent="trick/GridContainer"] [node name="Label2" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Necromancy"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label3" type="Label" parent="trick/GridContainer"] [node name="Label3" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Freezing Moon"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label4" type="Label" parent="trick/GridContainer"] [node name="Label4" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Journey to the stars"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label5" type="Label" parent="trick/GridContainer"] [node name="Label5" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "The power of souls"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label6" type="Label" parent="trick/GridContainer"] [node name="Label6" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Mutilations internes"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label7" type="Label" parent="trick/GridContainer"] [node name="Label7" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Manual Breathing"
horizontal_alignment = 1
autowrap_mode = 2
[node name="Label8" type="Label" parent="trick/GridContainer"] [node name="Label8" type="Label" parent="trick/GridContainer"]
modulate = Color(1, 1, 1, 0.247059) modulate = Color(1, 1, 1, 0.247059)
custom_minimum_size = Vector2(145.415, 0)
layout_mode = 2 layout_mode = 2
theme = ExtResource("2_166c6") theme = ExtResource("2_166c6")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 18
text = "speel" text = "Spectral visions of mental warfare"
horizontal_alignment = 1
autowrap_mode = 2
[node name="exit" type="Button" parent="trick"] [node name="exit" type="Button" parent="trick"]
layout_mode = 0 layout_mode = 0

9
scene/explication.tscn Normal file
View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://cexfra6slc30a"]
[node name="explication" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

17
scene/garde.tscn Normal file
View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://cbwvf33vh1pl5"]
[ext_resource type="Texture2D" uid="uid://bd7mgb8te607q" path="res://model/Adult.png" id="1_7acvr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lyctv"]
size = Vector2(45, 61)
[node name="garde" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_7acvr")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-0.5, 2.5)
shape = SubResource("RectangleShape2D_lyctv")

View File

@@ -1,29 +1,43 @@
[gd_scene load_steps=34 format=3 uid="uid://4ubk6w44h4s2"] [gd_scene load_steps=47 format=3 uid="uid://4ubk6w44h4s2"]
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"] [ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
[ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"] [ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="3_4cy24"] [ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="3_4cy24"]
[ext_resource type="PackedScene" uid="uid://co0u7xd45nxv1" path="res://scene/control/menu.tscn" id="3_6uvd0"] [ext_resource type="PackedScene" uid="uid://co0u7xd45nxv1" path="res://scene/control/menu.tscn" id="3_6uvd0"]
[ext_resource type="Texture2D" uid="uid://cgql6fnplgyeo" path="res://model/Glitch1.png" id="3_kao8s"] [ext_resource type="Texture2D" uid="uid://cgql6fnplgyeo" path="res://model/Glitch1.png" id="3_kao8s"]
[ext_resource type="Texture2D" uid="uid://cheyvdcyhcjfx" path="res://model/GameOver2.jpg" id="3_todyh"]
[ext_resource type="PackedScene" uid="uid://bq2yxcm55h7n8" path="res://scene/control/door_view.tscn" id="4_0vwed"] [ext_resource type="PackedScene" uid="uid://bq2yxcm55h7n8" path="res://scene/control/door_view.tscn" id="4_0vwed"]
[ext_resource type="Texture2D" uid="uid://cv3g2ug3gn6bl" path="res://model/GameOver3.jpg" id="4_54muj"]
[ext_resource type="Texture2D" uid="uid://b4dlsfi5glbqf" path="res://model/Glitch2.png" id="4_smidx"] [ext_resource type="Texture2D" uid="uid://b4dlsfi5glbqf" path="res://model/Glitch2.png" id="4_smidx"]
[ext_resource type="Texture2D" uid="uid://dwd4cqn0sfv0i" path="res://model/Glitch3.png" id="5_pmits"] [ext_resource type="Texture2D" uid="uid://dwd4cqn0sfv0i" path="res://model/Glitch3.png" id="5_pmits"]
[ext_resource type="Texture2D" uid="uid://nb15wpu2dfiy" path="res://model/GameOver4.jpg" id="5_s8qqs"]
[ext_resource type="Texture2D" uid="uid://b5mfnew4kh6ht" path="res://model/PatrickLeft1.png" id="5_vnnjt"] [ext_resource type="Texture2D" uid="uid://b5mfnew4kh6ht" path="res://model/PatrickLeft1.png" id="5_vnnjt"]
[ext_resource type="Texture2D" uid="uid://dyi5a1hlwio71" path="res://model/Glitch4.png" id="6_73f32"] [ext_resource type="Texture2D" uid="uid://dyi5a1hlwio71" path="res://model/Glitch4.png" id="6_73f32"]
[ext_resource type="Texture2D" uid="uid://bu5nnr2x4co38" path="res://model/PatrickLeft2.png" id="6_jii6b"] [ext_resource type="Texture2D" uid="uid://bu5nnr2x4co38" path="res://model/PatrickLeft2.png" id="6_jii6b"]
[ext_resource type="Texture2D" uid="uid://dxbamm4wyrws7" path="res://model/GameOver5.jpg" id="6_y7gua"]
[ext_resource type="Texture2D" uid="uid://pyg47l5x2ym7" path="res://model/GameOver6.jpg" id="7_lxnjo"]
[ext_resource type="Texture2D" uid="uid://doavv8drnetm" path="res://model/PatrickRight1.png" id="7_xptin"] [ext_resource type="Texture2D" uid="uid://doavv8drnetm" path="res://model/PatrickRight1.png" id="7_xptin"]
[ext_resource type="Texture2D" uid="uid://dbey2oeyhxsq8" path="res://model/PatrickRight2.png" id="8_m32jm"] [ext_resource type="Texture2D" uid="uid://dbey2oeyhxsq8" path="res://model/PatrickRight2.png" id="8_m32jm"]
[ext_resource type="AudioStream" uid="uid://dw0xcpxllfds7" path="res://sound/GameOver1.wav" id="8_omk30"]
[ext_resource type="Texture2D" uid="uid://dxepey1fkkhhv" path="res://model/DiabeteMeter1.png" id="9_0ohl3"] [ext_resource type="Texture2D" uid="uid://dxepey1fkkhhv" path="res://model/DiabeteMeter1.png" id="9_0ohl3"]
[ext_resource type="AudioStream" uid="uid://dc7is0h71kji3" path="res://sound/GameOver2.wav" id="9_igpaw"]
[ext_resource type="Texture2D" uid="uid://c0oqqh7qgohu" path="res://model/PatrickBack1.png" id="9_y1wtp"] [ext_resource type="Texture2D" uid="uid://c0oqqh7qgohu" path="res://model/PatrickBack1.png" id="9_y1wtp"]
[ext_resource type="Texture2D" uid="uid://dqqegt7a6ng06" path="res://model/DiabeteMeter2.png" id="10_ete3q"] [ext_resource type="Texture2D" uid="uid://dqqegt7a6ng06" path="res://model/DiabeteMeter2.png" id="10_ete3q"]
[ext_resource type="AudioStream" uid="uid://c1t5uqvw7m3ne" path="res://sound/GameOver3.wav" id="10_nfxj1"]
[ext_resource type="Texture2D" uid="uid://dgs1topxer4a8" path="res://model/PatrickBack2.png" id="10_rvawd"] [ext_resource type="Texture2D" uid="uid://dgs1topxer4a8" path="res://model/PatrickBack2.png" id="10_rvawd"]
[ext_resource type="AudioStream" uid="uid://vkhuejdh1c1i" path="res://sound/GameOver4.wav" id="11_hwc4x"]
[ext_resource type="Texture2D" uid="uid://cisefnb0eej45" path="res://model/Patrickfront1.png" id="11_wpam5"] [ext_resource type="Texture2D" uid="uid://cisefnb0eej45" path="res://model/Patrickfront1.png" id="11_wpam5"]
[ext_resource type="AudioStream" uid="uid://di2xiq3877bto" path="res://sound/GameOver5.wav" id="12_dv7eh"]
[ext_resource type="Texture2D" uid="uid://niofms1fbpqf" path="res://model/GameOver1.jpg" id="12_rjqtk"]
[ext_resource type="Texture2D" uid="uid://bex6put0xmadj" path="res://model/Patrickfront2.png" id="12_t0eem"] [ext_resource type="Texture2D" uid="uid://bex6put0xmadj" path="res://model/Patrickfront2.png" id="12_t0eem"]
[ext_resource type="AudioStream" uid="uid://cpekdylimwdq7" path="res://sound/GameOver6.wav" id="13_0akal"]
[ext_resource type="Texture2D" uid="uid://rbp38pbtd8e0" path="res://model/PatrickIdle2.png" id="13_2yj6y"] [ext_resource type="Texture2D" uid="uid://rbp38pbtd8e0" path="res://model/PatrickIdle2.png" id="13_2yj6y"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2homw"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_2homw"]
size = Vector2(34, 53) size = Vector2(34, 53)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eh2ky"]
[sub_resource type="Animation" id="Animation_8ug73"] [sub_resource type="Animation" id="Animation_8ug73"]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
@@ -357,7 +371,7 @@ _data = {
"up": SubResource("Animation_7twwg") "up": SubResource("Animation_7twwg")
} }
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time")] [node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time", "over", "gameover", "audio")]
position = Vector2(1, 1) position = Vector2(1, 1)
motion_mode = 1 motion_mode = 1
script = ExtResource("1_gmlsd") script = ExtResource("1_gmlsd")
@@ -369,6 +383,21 @@ bar = NodePath("diabetmeter")
menu = NodePath("Camera2D/menu") menu = NodePath("Camera2D/menu")
minute_part_second = 0.5 minute_part_second = 0.5
time = NodePath("time") time = NodePath("time")
over = NodePath("Camera2D/gameover/Panel/Sprite2D")
gameover = NodePath("Camera2D/gameover")
audio = NodePath("AudioStreamPlayer")
caniche = ExtResource("12_rjqtk")
shotgun = ExtResource("3_todyh")
caramel = ExtResource("4_54muj")
glissemie = ExtResource("5_s8qqs")
voiture = ExtResource("6_y7gua")
win = ExtResource("7_lxnjo")
aud_caniche = ExtResource("8_omk30")
aud_shotgun = ExtResource("9_igpaw")
aud_caramel = ExtResource("10_nfxj1")
aud_glissemie = ExtResource("11_hwc4x")
aud_voiture = ExtResource("12_dv7eh")
aud_win = ExtResource("13_0akal")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -2.5) position = Vector2(0, -2.5)
@@ -429,6 +458,27 @@ player = NodePath("../..")
[node name="door_view" parent="Camera2D" instance=ExtResource("4_0vwed")] [node name="door_view" parent="Camera2D" instance=ExtResource("4_0vwed")]
visible = false visible = false
[node name="gameover" type="CanvasLayer" parent="Camera2D"]
visible = false
[node name="Panel" type="Panel" parent="Camera2D/gameover"]
offset_right = 40.0
offset_bottom = 40.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_eh2ky")
[node name="Sprite2D" type="Sprite2D" parent="Camera2D/gameover/Panel"]
texture = ExtResource("12_rjqtk")
centered = false
[node name="exit" type="Button" parent="Camera2D/gameover/Panel"]
layout_mode = 0
offset_left = 16.0
offset_top = 245.0
offset_right = 68.0
offset_bottom = 283.0
theme = ExtResource("3_4cy24")
text = "Exit"
[node name="CanvasLayer" type="CanvasLayer" parent="Camera2D"] [node name="CanvasLayer" type="CanvasLayer" parent="Camera2D"]
[node name="glitch" type="Sprite2D" parent="Camera2D/CanvasLayer"] [node name="glitch" type="Sprite2D" parent="Camera2D/CanvasLayer"]
@@ -449,3 +499,9 @@ libraries = {
"": SubResource("AnimationLibrary_1e41b") "": SubResource("AnimationLibrary_1e41b")
} }
autoplay = "idle" autoplay = "idle"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
process_mode = 3
volume_db = -20.0
[connection signal="pressed" from="Camera2D/gameover/Panel/exit" to="Camera2D/menu" method="ExitDown"]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://cru3yl7laeiem"] [gd_scene load_steps=13 format=3 uid="uid://cru3yl7laeiem"]
[ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"] [ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"]
[ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"] [ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"]
@@ -12,7 +12,160 @@ bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kg8au"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kg8au"]
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196) bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
[node name="Principal" type="Control" node_paths=PackedStringArray("sub", "credit")] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_luosh"]
bg_color = Color(0, 0, 0, 0.745098)
[sub_resource type="Animation" id="Animation_fe1ic"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("sub:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("credit:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("explication/Label:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("explication:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("explication/Label2:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_5wj8t"]
resource_name = "play"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("sub:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("credit:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("explication/Label:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("explication:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="Animation" id="Animation_arta6"]
resource_name = "play2"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("explication/Label:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("explication/Label2:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_l2600"]
_data = {
"RESET": SubResource("Animation_fe1ic"),
"play": SubResource("Animation_5wj8t"),
"play2": SubResource("Animation_arta6")
}
[node name="Principal" type="Control" node_paths=PackedStringArray("sub", "credit", "anim")]
layout_mode = 3 layout_mode = 3
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@@ -22,6 +175,7 @@ grow_vertical = 2
script = ExtResource("1_5hpqm") script = ExtResource("1_5hpqm")
sub = NodePath("sub") sub = NodePath("sub")
credit = NodePath("credit") credit = NodePath("credit")
anim = NodePath("AnimationPlayer")
[node name="TrickOrTreatBg" type="Sprite2D" parent="."] [node name="TrickOrTreatBg" type="Sprite2D" parent="."]
texture = ExtResource("1_4oira") texture = ExtResource("1_4oira")
@@ -58,6 +212,7 @@ text = "Play
" "
[node name="Credits" type="Button" parent="sub"] [node name="Credits" type="Button" parent="sub"]
process_mode = 3
layout_mode = 0 layout_mode = 0
offset_left = 247.0 offset_left = 247.0
offset_top = 149.0 offset_top = 149.0
@@ -128,6 +283,66 @@ theme = ExtResource("2_ab0tu")
text = "Exit text = "Exit
" "
[node name="explication" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_luosh")
[node name="Label" type="Label" parent="explication"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_ab0tu")
theme_override_font_sizes/font_size = 19
text = "You play as Patrick, a fat diabetic kiddo without a friend.
You might think hes disguised for Halloween, but in fact he feels bad in his own skin, he cosplays as his favorite character to feel cooler.
On Halloween night he decided to go hangout outside alone while his parents werent at home, but he forgot something important, his insulin injector.
"
vertical_alignment = 1
autowrap_mode = 2
[node name="Label2" type="Label" parent="explication"]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_ab0tu")
theme_override_font_sizes/font_size = 19
text = "He now has to go from 6pm to 10pm without it, but he just cant wait here, lucky him, its Halloween, so theres kiddos everywhere going to trick or treat.
Though hes not a fan of adults, he must face his fears on this tremendous night and go knock on their doors to have some candy !
But beware, too much candy is no good too, you must balance between getting candies and going around the place.
Now, theres something weird about this place..
Have fun !
"
vertical_alignment = 1
autowrap_mode = 2
[node name="Label3" type="Label" parent="explication"]
layout_mode = 0
offset_left = 334.0
offset_top = 270.0
offset_right = 380.0
offset_bottom = 293.0
theme = ExtResource("2_ab0tu")
text = "Enter..."
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_l2600")
}
[connection signal="pressed" from="Enter" to="." method="EnterPressed"] [connection signal="pressed" from="Enter" to="." method="EnterPressed"]
[connection signal="pressed" from="sub/Play" to="." method="PlayPressed"] [connection signal="pressed" from="sub/Play" to="." method="PlayPressed"]
[connection signal="pressed" from="sub/Credits" to="." method="creditEnter"] [connection signal="pressed" from="sub/Credits" to="." method="creditEnter"]

17
script/Car.cs Normal file
View File

@@ -0,0 +1,17 @@
using Godot;
using System;
public partial class Car : CharacterBody2D
{
[Export] PackedScene player;
public override void _PhysicsProcess(double delta)
{
}
public void BodyEntered(Node2D body)
{
if (body.IsInGroup("player"))
{
body.Call("OverVoiture");
}
}
}

View File

@@ -8,19 +8,24 @@ public partial class Door : Node2D
[Export] string answerA; [Export] string answerA;
[Export] string answerB; [Export] string answerB;
[Export] bool answerA_good; [Export] bool answerA_good;
[Export] bool shot;
[Export] bool caniche;
[Export] AudioStream audio;
[ExportGroup("image")] [ExportGroup("image")]
[Export] Texture2D image_mob; [Export] Texture2D image_mob;
bool player_in = false; bool player_in = false;
CharacterBody2D player; CharacterBody2D player;
bool open = false;
// Called every frame. 'delta' is the elapsed time since the previous frame. // Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta) public override void _Process(double delta)
{ {
if(player_in && Input.IsActionPressed("interact")) if(player_in && Input.IsActionPressed("interact") && open == false)
{ {
open = true;
Control view = player.GetNode<Control>("Camera2D/door_view"); Control view = player.GetNode<Control>("Camera2D/door_view");
view.Set("text_char", text_char); view.Set("text_char", text_char);
@@ -28,6 +33,8 @@ public partial class Door : Node2D
view.Set("answerB", answerB); view.Set("answerB", answerB);
view.Set("answerA_good", answerA_good); view.Set("answerA_good", answerA_good);
view.Set("mobTex", image_mob); view.Set("mobTex", image_mob);
view.Set("shot", shot);
view.Set("caniche", caniche);
view.Call("start"); view.Call("start");
} }
} }

View File

@@ -13,24 +13,44 @@ public partial class DoorView : Control
string answerA{get; set;} string answerA{get; set;}
string answerB{get; set;} string answerB{get; set;}
bool answerA_good {get; set;} bool answerA_good {get; set;}
bool shot {get; set;}= true;
bool caniche {get; set;}= false;
CharacterBody2D player; CharacterBody2D player;
[Export] Label text_mob; [Export] Label text_mob;
[Export] Button butA; [Export] Button butA;
[Export] Button butB; [Export] Button butB;
// Called when the node enters the scene tree for the first time. // Called when the node enters the scene tree for the first time.
public override void _Ready() public override void _Ready()
{ {
player = (CharacterBody2D)GetParent().GetParent(); player = (CharacterBody2D)GetParent().GetParent();
} }
public void start() public async void start()
{ {
GetParent<Camera2D>().PositionSmoothingEnabled = false; GetParent<Camera2D>().PositionSmoothingEnabled = false;
Input.MouseMode = Input.MouseModeEnum.Visible;
GetTree().Paused = true; GetTree().Paused = true;
Visible = true; Visible = true;
mob.Texture = mobTex; mob.Texture = mobTex;
anim.Play("enter");
if(shot)
{
anim.Play("shot");
player.Call("OverShotgun");
}
else if (caniche)
{
anim.Play("can");
}
else
{
anim.Play("enter");
}
} }
public void stop() public void stop()

15
script/Gameover.cs Normal file
View File

@@ -0,0 +1,15 @@
using Godot;
using System;
public partial class Gameover : CanvasLayer
{
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
}
}

View File

@@ -1,5 +1,7 @@
using Godot; using Godot;
using System; using System;
using System.IO;
using System.Text.RegularExpressions;
public partial class Player : CharacterBody2D public partial class Player : CharacterBody2D
{ {
@@ -12,41 +14,85 @@ public partial class Player : CharacterBody2D
[Export] Control menu; [Export] Control menu;
[Export] float minute_part_second = 1; [Export] float minute_part_second = 1;
[Export] Label time; [Export] Label time;
[Export] Sprite2D over;
[Export] CanvasLayer gameover;
[Export] AudioStreamPlayer audio;
float minute; float minute;
int heure = 18; int heure = 18;
[ExportGroup("gameover")]
[Export] Texture2D caniche;
[Export] Texture2D shotgun;
[Export] Texture2D caramel;
[Export] Texture2D glissemie;
[Export] Texture2D voiture;
[Export] Texture2D win;
[Export] AudioStream aud_caniche;
[Export] AudioStream aud_shotgun;
[Export] AudioStream aud_caramel;
[Export] AudioStream aud_glissemie;
[Export] AudioStream aud_voiture;
[Export] AudioStream aud_win;
public float PixelSize = 1.0f; public float PixelSize = 1.0f;
float sugar { get; set;}= 50; float sugar { get; set;}= 50;
const float MAX_SUGAR = 100; const float MAX_SUGAR = 100;
bool end = false;
public override void _Ready()
{
this.AddToGroup("player");
}
public override void _PhysicsProcess(double delta) public override void _PhysicsProcess(double delta)
{ {
Vector2 velocity = Velocity; Vector2 velocity = Velocity;
sugar -= (float)delta / sugar_speed;
if (end == false)
{
sugar -= (float)delta / sugar_speed;
}
bar.Value = sugar; bar.Value = sugar;
if(sugar <= 0) if(sugar <= 5)
{ {
sugar = 50;
end = true;
OverGlissemie();
} }
else if (sugar >= 100) else if (sugar >= 90)
{ {
sugar = 50;
end = true;
OverCaramel();
} }
minute += minute_part_second * (float) delta; minute += minute_part_second * (float) delta;
if (minute >= 60) if (minute >= 60)
{ {
minute = 0; minute = 0;
heure +=1; heure +=1;
} }
UpdateTime(); UpdateTime();
if (heure >= 22)
{
heure = 0;
OverWin();
}
Vector2 direction = Input.GetVector("left", "right", "up", "down"); Vector2 direction = Input.GetVector("left", "right", "up", "down");
direction = direction.Normalized(); direction = direction.Normalized();
if (direction != Vector2.Zero) if (direction != Vector2.Zero)
@@ -65,8 +111,8 @@ public partial class Player : CharacterBody2D
if(Input.IsActionPressed("quit")) if(Input.IsActionPressed("quit"))
{ {
Input.MouseMode = Input.MouseModeEnum.Visible; Input.MouseMode = Input.MouseModeEnum.Visible;
anim.Play("paused");
GetTree().Paused= true; GetTree().Paused= true;
anim.Play("paused");
} }
else if(velocity.X > 0) else if(velocity.X > 0)
{ {
@@ -101,4 +147,62 @@ public partial class Player : CharacterBody2D
{ {
time.Text = string.Format("{0:D2}:{1:D2}", heure, (int)Math.Floor(minute)); time.Text = string.Format("{0:D2}:{1:D2}", heure, (int)Math.Floor(minute));
} }
void OverCaniche()
{
GetTree().Paused = true;
audio.Stream = aud_caniche;
audio.Play();
over.Texture = caniche;
gameover.Visible = true;
end = true;
}
async void OverShotgun()
{
await ToSignal(GetTree().CreateTimer(0.8), "timeout");
audio.Stream = aud_shotgun;
audio.Play();
GetTree().Paused = true;
over.Texture = shotgun;
gameover.Visible = true;
end = true;
}
void OverCaramel()
{
audio.Stream = aud_caramel;
audio.Play();
GetTree().Paused = true;
over.Texture = caramel;
gameover.Visible = true;
end = true;
}
void OverGlissemie()
{
audio.Stream = aud_glissemie;
audio.Play();
GetTree().Paused = true;
over.Texture = glissemie;
gameover.Visible = true;
end = true;
}
void OverVoiture()
{
audio.Stream = aud_voiture;
audio.Play();
GetTree().Paused = true;
over.Texture = voiture;
gameover.Visible = true;
end = true;
}
void OverWin()
{
audio.Stream = aud_win;
audio.Play();
GetTree().Paused = true;
over.Texture = win;
gameover.Visible = true;
end = true;
}
} }

View File

@@ -5,6 +5,9 @@ public partial class Principal : Control
{ {
[Export] Panel sub; [Export] Panel sub;
[Export] Panel credit; [Export] Panel credit;
[Export] AnimationPlayer anim;
bool play_pressed = false;
bool enter = false;
Node parent; Node parent;
@@ -12,6 +15,7 @@ public partial class Principal : Control
// Called when the node enters the scene tree for the first time. // Called when the node enters the scene tree for the first time.
public override void _Ready() public override void _Ready()
{ {
GetTree().Paused = false;
parent = GetParent(); parent = GetParent();
sub.Visible = false; sub.Visible = false;
} }
@@ -19,6 +23,16 @@ public partial class Principal : Control
// Called every frame. 'delta' is the elapsed time since the previous frame. // Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta) public override void _Process(double delta)
{ {
if(play_pressed && Input.IsActionJustPressed("valid") && !enter)
{
enter = true;
anim.Play("play2");
}else if (enter && Input.IsActionJustPressed("valid"))
{
//GetTree().Paused = false;
parent.Call("ToCityFunc");
}
} }
public void EnterPressed() public void EnterPressed()
@@ -40,9 +54,13 @@ public partial class Principal : Control
public void PlayPressed() public void PlayPressed()
{ {
parent.Call("ToCityFunc"); if (!play_pressed)
//EmitSignal("ToCityEventHandler"); {
//GetTree().ChangeSceneToPacked(play); play_pressed = true;
anim.Play("play");
}
//parent.Call("ToCityFunc");
} }
public void ExitGlobPressed() public void ExitGlobPressed()

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dw0xcpxllfds7"
path="res://.godot/imported/GameOver1.wav-069c396a630cd521a83b0c463e5ff73d.sample"
[deps]
source_file="res://sound/GameOver1.wav"
dest_files=["res://.godot/imported/GameOver1.wav-069c396a630cd521a83b0c463e5ff73d.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dc7is0h71kji3"
path="res://.godot/imported/GameOver2.wav-35f2bbb0ccde8bc334bc5da39cb75d61.sample"
[deps]
source_file="res://sound/GameOver2.wav"
dest_files=["res://.godot/imported/GameOver2.wav-35f2bbb0ccde8bc334bc5da39cb75d61.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c1t5uqvw7m3ne"
path="res://.godot/imported/GameOver3.wav-1f7688ec5e178da55753e6da5cde924f.sample"
[deps]
source_file="res://sound/GameOver3.wav"
dest_files=["res://.godot/imported/GameOver3.wav-1f7688ec5e178da55753e6da5cde924f.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://vkhuejdh1c1i"
path="res://.godot/imported/GameOver4.wav-8e0915d5009dd75a823e929bc457f806.sample"
[deps]
source_file="res://sound/GameOver4.wav"
dest_files=["res://.godot/imported/GameOver4.wav-8e0915d5009dd75a823e929bc457f806.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://di2xiq3877bto"
path="res://.godot/imported/GameOver5.wav-b1ddd86cff196b70f186bbdbee8bd090.sample"
[deps]
source_file="res://sound/GameOver5.wav"
dest_files=["res://.godot/imported/GameOver5.wav-b1ddd86cff196b70f186bbdbee8bd090.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cpekdylimwdq7"
path="res://.godot/imported/GameOver6.wav-4d025316d4420572f846d1937037bada.sample"
[deps]
source_file="res://sound/GameOver6.wav"
dest_files=["res://.godot/imported/GameOver6.wav-4d025316d4420572f846d1937037bada.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=0

24
sound/Guy1.wav.import Normal file
View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cnjxv5pplxxj5"
path="res://.godot/imported/Guy1.wav-67db5040411c3ffcd2b5cb7336631fd8.sample"
[deps]
source_file="res://sound/Guy1.wav"
dest_files=["res://.godot/imported/Guy1.wav-67db5040411c3ffcd2b5cb7336631fd8.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=0

24
sound/GuyVoice.wav.import Normal file
View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dflpjlvi481dk"
path="res://.godot/imported/GuyVoice.wav-6363987ab3530059a538eb02c74b845d.sample"
[deps]
source_file="res://sound/GuyVoice.wav"
dest_files=["res://.godot/imported/GuyVoice.wav-6363987ab3530059a538eb02c74b845d.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cbnb0j1toj1ng"
path="res://.godot/imported/Patrick1A.wav-873e707d84b90c50b7181bded5b0acba.sample"
[deps]
source_file="res://sound/Patrick1A.wav"
dest_files=["res://.godot/imported/Patrick1A.wav-873e707d84b90c50b7181bded5b0acba.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=0

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dh6m7w8xoyuj4"
path="res://.godot/imported/Patrick1B.wav-2a82533b523e7d8d3f317de4128ff3f4.sample"
[deps]
source_file="res://sound/Patrick1B.wav"
dest_files=["res://.godot/imported/Patrick1B.wav-2a82533b523e7d8d3f317de4128ff3f4.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=0

BIN
sound/shotgun-03-38220.mp3 Normal file

Binary file not shown.

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://b6yryajuu4kpr"
path="res://.godot/imported/shotgun-03-38220.mp3-7d29bd0ec647f7b056b14393c95de3cd.mp3str"
[deps]
source_file="res://sound/shotgun-03-38220.mp3"
dest_files=["res://.godot/imported/shotgun-03-38220.mp3-7d29bd0ec647f7b056b14393c95de3cd.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4