generated from SGDA/GodotExampleProject
feat: third level base and some more buildings on lvl 1
This commit is contained in:
BIN
assets/EGJ-METRO-neon.png
(Stored with Git LFS)
Normal file
BIN
assets/EGJ-METRO-neon.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
assets/EGJ-METRO-neon.png.import
Normal file
34
assets/EGJ-METRO-neon.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://blg86j8u47rv"
|
||||
path="res://.godot/imported/EGJ-METRO-neon.png-64e89ff6f502ba30639c821d6056e9ce.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/EGJ-METRO-neon.png"
|
||||
dest_files=["res://.godot/imported/EGJ-METRO-neon.png-64e89ff6f502ba30639c821d6056e9ce.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
|
BIN
assets/cone light.jpeg
Normal file
BIN
assets/cone light.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
34
assets/cone light.jpeg.import
Normal file
34
assets/cone light.jpeg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dxuif88r7ouh7"
|
||||
path="res://.godot/imported/cone light.jpeg-469b9ed09b91117c0577599ea0668f48.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/cone light.jpeg"
|
||||
dest_files=["res://.godot/imported/cone light.jpeg-469b9ed09b91117c0577599ea0668f48.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
|
BIN
assets/cone light.png
(Stored with Git LFS)
Normal file
BIN
assets/cone light.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
assets/cone light.png.import
Normal file
34
assets/cone light.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dmn15wb5ywhar"
|
||||
path="res://.godot/imported/cone light.png-5e7090173ca52c070ccf4886b704a1e6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/cone light.png"
|
||||
dest_files=["res://.godot/imported/cone light.png-5e7090173ca52c070ccf4886b704a1e6.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
|
BIN
assets/garance/EGJ-BANQUE-neon.png
(Stored with Git LFS)
Normal file
BIN
assets/garance/EGJ-BANQUE-neon.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
assets/garance/EGJ-BANQUE-neon.png.import
Normal file
34
assets/garance/EGJ-BANQUE-neon.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yges01i0xiwt"
|
||||
path="res://.godot/imported/EGJ-BANQUE-neon.png-08851ec2e8cb9ff5c851ee68f43f0152.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/garance/EGJ-BANQUE-neon.png"
|
||||
dest_files=["res://.godot/imported/EGJ-BANQUE-neon.png-08851ec2e8cb9ff5c851ee68f43f0152.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
|
BIN
assets/garance/EGJ-POSTE-neon.png
(Stored with Git LFS)
Normal file
BIN
assets/garance/EGJ-POSTE-neon.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
assets/garance/EGJ-POSTE-neon.png.import
Normal file
34
assets/garance/EGJ-POSTE-neon.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4gt5bxd762jf"
|
||||
path="res://.godot/imported/EGJ-POSTE-neon.png-bee9ac967dac8620421d51a001fe15e2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/garance/EGJ-POSTE-neon.png"
|
||||
dest_files=["res://.godot/imported/EGJ-POSTE-neon.png-bee9ac967dac8620421d51a001fe15e2.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
|
BIN
assets/lightcone.jpg
(Stored with Git LFS)
Normal file
BIN
assets/lightcone.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
34
assets/lightcone.jpg.import
Normal file
34
assets/lightcone.jpg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cnxkk1hk4nfwq"
|
||||
path="res://.godot/imported/lightcone.jpg-8867d939803a1aebdc6c327ddfc3e64d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/lightcone.jpg"
|
||||
dest_files=["res://.godot/imported/lightcone.jpg-8867d939803a1aebdc6c327ddfc3e64d.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
|
@ -2219,6 +2219,7 @@ radius = 8.0
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_x0onc")
|
||||
"golé" = "uid://cgql2prrr5cj7"
|
||||
next_level = "uid://bnba2vd0m0qao"
|
||||
base_mode = ExtResource("2_7r073")
|
||||
|
||||
[node name="CanvasModulate" type="CanvasModulate" parent="."]
|
||||
@ -2307,7 +2308,7 @@ tile_set = SubResource("TileSet_hpoax")
|
||||
|
||||
[node name="WrongDoor" parent="." instance=ExtResource("4_nqcov")]
|
||||
position = Vector2(176, -167)
|
||||
message = "entrer dans la poste ?"
|
||||
message = "prendre la porte de gauche ?"
|
||||
interact_text = "porte"
|
||||
event = "wrong"
|
||||
|
||||
@ -2345,7 +2346,7 @@ shape = SubResource("CircleShape2D_m8pkg")
|
||||
|
||||
[node name="RightDoor" parent="." instance=ExtResource("4_nqcov")]
|
||||
position = Vector2(328, -167)
|
||||
message = "Entrer dans l'hotel ?"
|
||||
message = "Prendre la porte de droite ?"
|
||||
interact_text = "porte"
|
||||
event = "right"
|
||||
|
||||
|
32
scenes/indoors/last.gd
Normal file
32
scenes/indoors/last.gd
Normal file
@ -0,0 +1,32 @@
|
||||
extends Node2D
|
||||
|
||||
@export_file("*.tscn") var golé: String
|
||||
@export_file("*.tscn") var next_level: String
|
||||
|
||||
@export var base_mode: GUIDEMappingContext
|
||||
|
||||
@export var vies = 3
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
GUIDE.enable_mapping_context(base_mode)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_interactible_triggered(event_id: String) -> void:
|
||||
vies -= 1
|
||||
if vies == 0:
|
||||
SceneLoader.load_scene(golé)
|
||||
|
||||
|
||||
func _on_wrong_door_event_triggered(event_id: String) -> void:
|
||||
SceneLoader.load_scene(golé)
|
||||
|
||||
|
||||
func _on_right_door_event_triggered(event_id: String) -> void:
|
||||
SceneLoader.load_scene(next_level) # Replace with function body.
|
1
scenes/indoors/last.gd.uid
Normal file
1
scenes/indoors/last.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://c232mm5h43ed4
|
2300
scenes/indoors/last.tscn
Normal file
2300
scenes/indoors/last.tscn
Normal file
File diff suppressed because one or more lines are too long
1272
scenes/main.tscn
1272
scenes/main.tscn
File diff suppressed because one or more lines are too long
@ -184,6 +184,7 @@ frame_progress = 0.146964
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 12.0
|
||||
|
||||
[node name="StateChart" type="Node" parent="."]
|
||||
script = ExtResource("5_qek5x")
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
[node name="WrongBuilding" instance=ExtResource("1_o8vp5")]
|
||||
script = ExtResource("2_fg6t0")
|
||||
scene_to_trigger = "uid://ck5glr84c7e25"
|
||||
scene_to_trigger = "uid://s1cx1gvt4bed"
|
||||
|
||||
[node name="BackgroundMusicPlayer" parent="." index="0" instance=ExtResource("3_fs5lg")]
|
||||
bus = &"Cinematique"
|
||||
|
Reference in New Issue
Block a user