2 Commits

Author SHA1 Message Date
f4b5ba5ad9 feat: third level base and some more buildings on lvl 1
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 7s
Create tag and build when new code gets to main / Export (push) Successful in 2m20s
2025-06-28 18:53:35 +02:00
c767f88fcd feat: level two base
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 7s
Create tag and build when new code gets to main / Export (push) Successful in 5m2s
2025-06-28 17:54:57 +02:00
24 changed files with 4544 additions and 29 deletions

BIN
assets/EGJ-METRO-neon.png (Stored with Git LFS) Normal file

Binary file not shown.

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View 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

Binary file not shown.

View 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

Binary file not shown.

View 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-BAR.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d31fkxosknhli"
path="res://.godot/imported/EGJ-BAR.png-477f6d9b497ee174371ffda65d2826e8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/garance/EGJ-BAR.png"
dest_files=["res://.godot/imported/EGJ-BAR.png-477f6d9b497ee174371ffda65d2826e8.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

Binary file not shown.

View 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

Binary file not shown.

View 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

View File

@ -5,6 +5,8 @@ extends Node2D
@export var base_mode: GUIDEMappingContext
@export var vies = 3
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@ -17,8 +19,14 @@ func _process(delta: float) -> void:
func _on_interactible_triggered(event_id: String) -> void:
if event_id == "right":
SceneLoader.load_scene(next_level)
return
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.

File diff suppressed because one or more lines are too long

32
scenes/indoors/last.gd Normal file
View 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.

View File

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

2300
scenes/indoors/last.tscn Normal file

File diff suppressed because one or more lines are too long

View File

@ -13,6 +13,12 @@ signal event_triggered(event_id: String)
@onready var message_box: Label = %MessageBox
@onready var interact_box: RichTextLabel = $RichTextLabel
@export var is_item = false
@onready var confirm_button: Button = %ConfirmButton
@onready var cancel_button: Button = %CancelButton
@onready var ok_button: Button = %OkButton
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
rich_text_label.visible = false
@ -21,6 +27,11 @@ func _ready() -> void:
if not interact_text.is_empty():
interact_box.text = interact_text.to_upper()
if is_item:
confirm_button.visible = false
cancel_button.visible = false
ok_button.visible = true
func _on_body_entered(body: Node2D) -> void:
rich_text_label.visible = true
@ -31,10 +42,13 @@ func _on_body_exited(body: Node2D) -> void:
func show_confirm():
confirm_panel.visible = true
if is_item:
event_triggered.emit(event)
func _on_confirm_button_pressed() -> void:
confirm_panel.visible = false
event_triggered.emit(event)
if not is_item:
event_triggered.emit(event)
func _on_cancel_button_pressed() -> void:
confirm_panel.visible = false

View File

@ -25,6 +25,7 @@ theme_override_fonts/normal_font = ExtResource("2_u3pc4")
text = "INTERACT"
[node name="CenterContainer" type="CenterContainer" parent="."]
z_index = 1000
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -54,13 +55,14 @@ grow_vertical = 2
[node name="MessageBox" type="Label" parent="CenterContainer/ConfirmPanel/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/font_size = 32
text = "ENTRER DANS LA POSTE ?"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3
[node name="CenterContainer" type="CenterContainer" parent="CenterContainer/ConfirmPanel/VBoxContainer"]
layout_mode = 2
@ -88,7 +90,16 @@ size_flags_horizontal = 3
size_flags_vertical = 3
text = "OH HELL NAH"
[node name="OkButton" type="Button" parent="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Whoops..."
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/ConfirmButton" to="." method="_on_confirm_button_pressed"]
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/CancelButton" to="." method="_on_cancel_button_pressed"]
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/OkButton" to="." method="_on_cancel_button_pressed"]

File diff suppressed because one or more lines are too long

View File

@ -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")

View File

@ -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"