Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 5 additions & 4 deletions microjogos/2025S1/seu_projeto/cenas/scripts/main.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends Node2D

@onready var musica = get_node("AudioStreamPlayer")
# Declaração dos sinais win e lose

signal win
Expand All @@ -23,10 +23,10 @@ func _ready():
# ser feito para vencer o jogo. A fonte usada não suporta caracteres latinos como ~ ou ´
match Global.language:
Global.LANGUAGE.EN:
NotificationCenter.notify("DO SOMETHING!")
NotificationCenter.notify("DEFEAT THE FOE!")
Global.LANGUAGE.PT:
NotificationCenter.notify("FAÇA ALGO!")

NotificationCenter.notify("DERROTE SEU INIMIGO!")
musica.play(13.06)

# Esta função é chamada uma vez por frame e é otimizada para cálculos relacionados a física, como
# a movimentação de um personagem. O parâmetro delta indica a quantidade de tempo que passou desde
Expand Down Expand Up @@ -69,4 +69,5 @@ func register_win():

# Chame esta função para registrar que o jogador perdeu o jogo
func register_lose():
$Player.lose()
emit_signal("lose")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://hto61k52ev8q"
path="res://.godot/imported/keyboard_0.png-db9e7a49a5f0abb640dd5e60c8dfc8ef.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_0.png"
dest_files=["res://.godot/imported/keyboard_0.png-db9e7a49a5f0abb640dd5e60c8dfc8ef.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://m28bd6ha5g5m"
path="res://.godot/imported/keyboard_0_outline.png-49327784ac7990e92d6cfe5a2af8f675.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_0_outline.png"
dest_files=["res://.godot/imported/keyboard_0_outline.png-49327784ac7990e92d6cfe5a2af8f675.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://sfqeanie6x31"
path="res://.godot/imported/keyboard_1.png-25eb4e0853c519343589990c0b78028a.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_1.png"
dest_files=["res://.godot/imported/keyboard_1.png-25eb4e0853c519343589990c0b78028a.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bf12if8do723g"
path="res://.godot/imported/keyboard_1_outline.png-05c51b7c6896a336cdcfc9c9e6428823.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_1_outline.png"
dest_files=["res://.godot/imported/keyboard_1_outline.png-05c51b7c6896a336cdcfc9c9e6428823.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b1rvjnheqj1rd"
path="res://.godot/imported/keyboard_2.png-df5f120f655dca58cf0f3558457164d9.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_2.png"
dest_files=["res://.godot/imported/keyboard_2.png-df5f120f655dca58cf0f3558457164d9.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dtgm4dnilcc4k"
path="res://.godot/imported/keyboard_2_outline.png-bad7c171d08c24357a783a26e19d94ad.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_2_outline.png"
dest_files=["res://.godot/imported/keyboard_2_outline.png-bad7c171d08c24357a783a26e19d94ad.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://belkbcys235mc"
path="res://.godot/imported/keyboard_3.png-2f95be17c8db328752263ad1b8d0285b.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_3.png"
dest_files=["res://.godot/imported/keyboard_3.png-2f95be17c8db328752263ad1b8d0285b.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://rphrqoqtqy3h"
path="res://.godot/imported/keyboard_3_outline.png-3fa007e6c5954a57203c5f6ae8268854.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_3_outline.png"
dest_files=["res://.godot/imported/keyboard_3_outline.png-3fa007e6c5954a57203c5f6ae8268854.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://djrwsscdwmjwt"
path="res://.godot/imported/keyboard_4.png-5e7dd891e68a620992888db8829fe965.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_4.png"
dest_files=["res://.godot/imported/keyboard_4.png-5e7dd891e68a620992888db8829fe965.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://di3qqf5mj407o"
path="res://.godot/imported/keyboard_4_outline.png-21c4806e158e8ad3217a3702227ddd46.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://microjogos/2025S1/seu_projeto/recursos/imagens/Default/keyboard_4_outline.png"
dest_files=["res://.godot/imported/keyboard_4_outline.png-21c4806e158e8ad3217a3702227ddd46.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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading