diff --git a/microjogos/2022S1/race/cenas/main.gd b/microjogos/2022S1/race/cenas/main.gd new file mode 100644 index 000000000..7a823bf56 --- /dev/null +++ b/microjogos/2022S1/race/cenas/main.gd @@ -0,0 +1,34 @@ +extends Node2D + + +signal win +signal lose + +const WIDTH = 1920 +const HEIGHT = 1080 + +var winnable = true +var losable = true + +func _ready(): + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("VENCA A CORRIDA!") + Global.LANGUAGE.EN: + NotificationCenter.notify("WIN THE RACE!") + + randomize() + + +func register_win(): + if(winnable): + losable = false + get_node("VictorySFX").play() + emit_signal("win") + +func register_lose(): + if(losable): + winnable = false + losable = false + get_node("DefeatSFX").play() + emit_signal("lose") diff --git a/microjogos/2022S1/race/cenas/main.gd.uid b/microjogos/2022S1/race/cenas/main.gd.uid new file mode 100644 index 000000000..70c05352b --- /dev/null +++ b/microjogos/2022S1/race/cenas/main.gd.uid @@ -0,0 +1 @@ +uid://dh6jt40xiy334 diff --git a/microjogos/2022S1/race/cenas/main.tscn b/microjogos/2022S1/race/cenas/main.tscn index 33294d2a6..3325d6b42 100644 --- a/microjogos/2022S1/race/cenas/main.tscn +++ b/microjogos/2022S1/race/cenas/main.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=22 format=3 uid="uid://bg780bjjn3cse"] [ext_resource type="Script" uid="uid://c4ylt7ddtsvus" path="res://microjogos/2022S1/race/cenas/Player.gd" id="1"] +[ext_resource type="Script" uid="uid://dh6jt40xiy334" path="res://microjogos/2022S1/race/cenas/main.gd" id="1_wijyh"] [ext_resource type="Script" uid="uid://olki5tiweof3" path="res://microjogos/2022S1/race/cenas/camera.gd" id="2"] [ext_resource type="Script" uid="uid://brnangyiatboe" path="res://microjogos/2022S1/race/cenas/caverna.gd" id="3"] [ext_resource type="Script" uid="uid://d35gikftwiso5" path="res://microjogos/2022S1/race/cenas/Enemy.gd" id="4"] [ext_resource type="Script" uid="uid://c8kay1pbs8ab1" path="res://microjogos/2022S1/race/cenas/Goal.gd" id="5"] -[ext_resource type="Script" uid="uid://caopud87pssfg" path="res://microjogos/2022S1/race/cenas/scripts/main.gd" id="6"] [ext_resource type="Texture2D" uid="uid://ciue1sl1qo77s" path="res://microjogos/2022S1/race/recursos/ships.png" id="7"] [ext_resource type="Texture2D" uid="uid://p562amfpcv0j" path="res://microjogos/2022S1/race/recursos/goal.png" id="8"] [ext_resource type="AudioStream" uid="uid://bulvpol8sgnaq" path="res://microjogos/2022S1/race/recursos/171671__leszek-szary__success-1.wav" id="10"] @@ -38,7 +38,7 @@ colors = PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1) size = Vector2(64, 700) [node name="SeuJogo" type="Node2D"] -script = ExtResource("6") +script = ExtResource("1_wijyh") [node name="Enemy" type="CharacterBody2D" parent="."] position = Vector2(570, -4) diff --git a/microjogos/2022S1/race/cenas/scripts/main.gd b/microjogos/2022S1/race/cenas/scripts/main.gd index 739a4632a..d02104067 100644 --- a/microjogos/2022S1/race/cenas/scripts/main.gd +++ b/microjogos/2022S1/race/cenas/scripts/main.gd @@ -10,25 +10,84 @@ const HEIGHT = 1080 var winnable = true var losable = true +@onready var anim_balde: AnimatedSprite2D = $AnimBalde +@onready var anim_vara: AnimatedSprite2D = $AnimVara + +var v_posi_inic: Vector2 + +@onready var max_peixe: Sprite2D = $posimaxpeixe +@onready var peixe: Area2D = $Peixe +@onready var anzol: Area2D = $Anzol + +var a_posi_inic: Vector2 +var a_posi_now: Vector2 +var p_posi_inic: Vector2 +var p_posi_now: Vector2 +var p_posi_max: Vector2 + +var speed = 2.5 + func _ready(): + anim_balde.play("default") + anim_vara.play("default") + + v_posi_inic = anim_vara.position + + + a_posi_inic = anzol.position + a_posi_now = a_posi_inic + + p_posi_inic = peixe.position + p_posi_max = max_peixe.position + p_posi_now = p_posi_max + match Global.language: Global.LANGUAGE.PT: - NotificationCenter.notify("VENCA A CORRIDA!") + NotificationCenter.notify("MORDERAM A ISCA!") Global.LANGUAGE.EN: - NotificationCenter.notify("WIN THE RACE!") + NotificationCenter.notify("A FISH!") randomize() + +func _process(delta: float) -> void: + if Input.is_action_just_pressed("baixo"): + get_tree().change_scene_to_file("res://microjogos/2022S1/Yhago_Gamelab/cenas/main.tscn") + + if Input.is_action_just_pressed("acao"): + var new_a_posi: Vector2 + new_a_posi.y = anzol.position.y - 128 + a_posi_now = new_a_posi + + if !Input.is_action_pressed("acao"): + a_posi_now.y = lerp(a_posi_now.y, a_posi_inic.y, delta * speed) + + anzol.position.y = lerp(anzol.position.y, a_posi_now.y, delta * speed) + + peixe.position.y = lerp(peixe.position.y, p_posi_now.y, delta * speed) -func register_win(): - if(winnable): - losable = false - get_node("VictorySFX").play() - emit_signal("win") +func _on_peixe_timer_timeout() -> void: + p_posi_now.y = randf_range(p_posi_inic.y, p_posi_max.y) -func register_lose(): - if(losable): - winnable = false - losable = false - get_node("DefeatSFX").play() - emit_signal("lose") + +func _on_peixe_area_entered(area: Area2D) -> void: + emit_signal("win") + anim_vara.play("puxando") + anim_vara.position.y -= 180 + + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("!") + Global.LANGUAGE.EN: + NotificationCenter.notify("!") + +func _on_peixe_area_exited(area: Area2D) -> void: + emit_signal("lose") + anim_vara.play("default") + anim_vara.position = v_posi_inic + + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("X") + Global.LANGUAGE.EN: + NotificationCenter.notify("X") diff --git a/microjogos/2025S1/Yhago_Gamelab/capa.png b/microjogos/2025S1/Yhago_Gamelab/capa.png new file mode 100644 index 000000000..1b4eb7092 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/capa.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/capa.png.import b/microjogos/2025S1/Yhago_Gamelab/capa.png.import new file mode 100644 index 000000000..4f01f92ba --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/capa.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://sjmchmnlbr8g" +path="res://.godot/imported/capa.png-215b1b92cef23467ec16da3fa4af19db.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/capa.png" +dest_files=["res://.godot/imported/capa.png-215b1b92cef23467ec16da3fa4af19db.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/cenas/cenas.txt b/microjogos/2025S1/Yhago_Gamelab/cenas/cenas.txt new file mode 100644 index 000000000..5452e0e17 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/cenas/cenas.txt @@ -0,0 +1 @@ +Coloque suas cenas aqui! A cena que vai rodar no jogo deve necessariamente ser a Main.tscn \ No newline at end of file diff --git a/microjogos/2025S1/Yhago_Gamelab/cenas/main.tscn b/microjogos/2025S1/Yhago_Gamelab/cenas/main.tscn new file mode 100644 index 000000000..c686d7e71 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/cenas/main.tscn @@ -0,0 +1,158 @@ +[gd_scene load_steps=16 format=3 uid="uid://bxjif83b36oo2"] + +[ext_resource type="Script" uid="uid://cc2nstc41ktlk" path="res://microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd" id="1_v35xu"] +[ext_resource type="Texture2D" uid="uid://doeedqotu75oi" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png" id="2_hwq0u"] +[ext_resource type="Texture2D" uid="uid://cpr4e8slkpk5b" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png" id="2_v35xu"] +[ext_resource type="Texture2D" uid="uid://dodvdt3fkpvdl" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png" id="3_1vj03"] +[ext_resource type="Texture2D" uid="uid://b71wdj0doay37" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png" id="3_v35xu"] +[ext_resource type="Texture2D" uid="uid://dwxgjqcf68a27" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png" id="4_1vj03"] +[ext_resource type="Texture2D" uid="uid://g8o3afvi3j8k" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png" id="5_djk22"] +[ext_resource type="Texture2D" uid="uid://b18q6ai0ky1uv" path="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png" id="6_xs200"] + +[sub_resource type="CanvasTexture" id="CanvasTexture_s2chn"] + +[sub_resource type="CanvasTexture" id="CanvasTexture_e0oyl"] + +[sub_resource type="CanvasTexture" id="CanvasTexture_6ii3p"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_cnho3"] +size = Vector2(96, 161) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_uhi23"] +size = Vector2(64, 64) + +[sub_resource type="SpriteFrames" id="SpriteFrames_wqsqo"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("3_v35xu") +}, { +"duration": 1.0, +"texture": ExtResource("4_1vj03") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="SpriteFrames" id="SpriteFrames_pf5al"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("5_djk22") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": ExtResource("6_xs200") +}], +"loop": true, +"name": &"puxando", +"speed": 5.0 +}] + +[node name="SeuJogo" type="Node2D"] +script = ExtResource("1_v35xu") + +[node name="Sprite2D" type="Sprite2D" parent="."] +modulate = Color(0.364922, 0.640093, 0.921501, 1) +position = Vector2(962, 542) +scale = Vector2(1920, 1080) +texture = SubResource("CanvasTexture_s2chn") + +[node name="TemplateBase7" type="Sprite2D" parent="."] +modulate = Color(0.890196, 0.329412, 0.596078, 1) +position = Vector2(1985, 454) +scale = Vector2(600, 600) +texture = SubResource("CanvasTexture_e0oyl") +offset = Vector2(-0.148809, -0.0426471) + +[node name="TemplateBase" type="Sprite2D" parent="."] +modulate = Color(0.145098, 0.0666667, 0.0705882, 1) +position = Vector2(1625, 589) +scale = Vector2(168, 680) +texture = SubResource("CanvasTexture_e0oyl") +offset = Vector2(-0.148809, -0.0426471) + +[node name="TemplateBase4" type="Sprite2D" parent="."] +modulate = Color(0.607843, 0.678431, 0.717647, 1) +position = Vector2(1600, 560) +scale = Vector2(160, 672) +texture = SubResource("CanvasTexture_e0oyl") + +[node name="TemplateBase2" type="Sprite2D" parent="."] +position = Vector2(1600, 560) +scale = Vector2(132, 644) +texture = SubResource("CanvasTexture_e0oyl") + +[node name="TemplateBase3" type="Sprite2D" parent="."] +modulate = Color(0.568627, 0.862745, 0.92549, 1) +position = Vector2(1600, 560) +scale = Vector2(128, 640) +texture = SubResource("CanvasTexture_e0oyl") + +[node name="TemplateBase5" type="Sprite2D" parent="."] +modulate = Color(0.890196, 0.329412, 0.596078, 1) +position = Vector2(960, 900) +scale = Vector2(332, 180) +texture = SubResource("CanvasTexture_e0oyl") + +[node name="TemplateBase6" type="Sprite2D" parent="."] +modulate = Color(0.890196, 0.329412, 0.596078, 1) +position = Vector2(315, 484) +scale = Vector2(420, 420) +texture = SubResource("CanvasTexture_e0oyl") + +[node name="posimaxpeixe" type="Sprite2D" parent="."] +visible = false +modulate = Color(1, 0.32549, 1, 1) +position = Vector2(1601, 785) +scale = Vector2(96, 160) +texture = SubResource("CanvasTexture_6ii3p") + +[node name="Peixe" type="Area2D" parent="."] +position = Vector2(1601, 314) + +[node name="imagePeixe" type="Sprite2D" parent="Peixe"] +position = Vector2(0, 14) +texture = ExtResource("2_v35xu") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Peixe"] +position = Vector2(0, 14.5) +shape = SubResource("RectangleShape2D_cnho3") + +[node name="Anzol" type="Area2D" parent="."] +position = Vector2(1601, 821) + +[node name="ImageAnzol" type="Sprite2D" parent="Anzol"] +texture = ExtResource("3_1vj03") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Anzol"] +shape = SubResource("RectangleShape2D_uhi23") + +[node name="AnimPersonagem" type="Sprite2D" parent="."] +position = Vector2(420, 560) +scale = Vector2(2.5, 2.5) +texture = ExtResource("2_hwq0u") + +[node name="AnimBalde" type="AnimatedSprite2D" parent="."] +position = Vector2(960, 820) +scale = Vector2(2, 2) +sprite_frames = SubResource("SpriteFrames_wqsqo") +frame_progress = 0.555758 + +[node name="AnimVara" type="AnimatedSprite2D" parent="."] +position = Vector2(630, 531) +scale = Vector2(4, 4) +sprite_frames = SubResource("SpriteFrames_pf5al") +animation = &"puxando" + +[node name="peixeTimer" type="Timer" parent="."] +autostart = true + +[connection signal="area_entered" from="Peixe" to="." method="_on_peixe_area_entered"] +[connection signal="area_exited" from="Peixe" to="." method="_on_peixe_area_exited"] +[connection signal="timeout" from="peixeTimer" to="." method="_on_peixe_timer_timeout"] diff --git a/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd new file mode 100644 index 000000000..167a58701 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd @@ -0,0 +1,92 @@ +extends Node2D + + +signal win +signal lose + +const WIDTH = 1920 +const HEIGHT = 1080 + +var winnable = true +var losable = true + +@onready var anim_balde: AnimatedSprite2D = $AnimBalde +@onready var anim_vara: AnimatedSprite2D = $AnimVara + +var v_posi_inic: Vector2 + +@onready var max_peixe: Sprite2D = $posimaxpeixe +@onready var peixe: Area2D = $Peixe +@onready var anzol: Area2D = $Anzol + +var a_posi_inic: Vector2 +var a_posi_now: Vector2 +var p_posi_inic: Vector2 +var p_posi_now: Vector2 +var p_posi_max: Vector2 + +var speed = 2.5 + +func _ready(): + anim_balde.play("default") + anim_vara.play("default") + + v_posi_inic = anim_vara.position + + + a_posi_inic = anzol.position + a_posi_now = a_posi_inic + + p_posi_inic = peixe.position + p_posi_max = max_peixe.position + p_posi_now = p_posi_max + + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("APERTE ESPAÇO") + Global.LANGUAGE.EN: + NotificationCenter.notify("PRESS SPACE") + + randomize() + + +func _process(delta: float) -> void: + + if Input.is_action_just_pressed("acao") and anzol.position.y > p_posi_inic.y: + var new_a_posi: Vector2 + new_a_posi.y = anzol.position.y - 128 + a_posi_now = new_a_posi + + if !Input.is_action_pressed("acao"): + a_posi_now.y = lerp(a_posi_now.y, a_posi_inic.y, delta * speed *2) + + anzol.position.y = lerp(anzol.position.y, a_posi_now.y, delta * speed *2) + + peixe.position.y = lerp(peixe.position.y, p_posi_now.y, delta * speed) + +func _on_peixe_timer_timeout() -> void: + p_posi_now.y = randf_range(p_posi_inic.y, p_posi_max.y) + + +func _on_peixe_area_entered(area: Area2D) -> void: + emit_signal("win") + anim_vara.play("puxando") + anim_vara.position.y -= 180 + + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("!") + Global.LANGUAGE.EN: + NotificationCenter.notify("!") + +func _on_peixe_area_exited(area: Area2D) -> void: + emit_signal("lose") + anim_vara.play("default") + anim_vara.position = v_posi_inic + + match Global.language: + Global.LANGUAGE.PT: + NotificationCenter.notify("X") + Global.LANGUAGE.EN: + NotificationCenter.notify("X") + diff --git a/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd.uid b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd.uid new file mode 100644 index 000000000..b29ef0c94 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/main.gd.uid @@ -0,0 +1 @@ +uid://cc2nstc41ktlk diff --git a/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/scripts.txt b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/scripts.txt new file mode 100644 index 000000000..da9d2afec --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/cenas/scripts/scripts.txt @@ -0,0 +1 @@ +Coloque seus scripts aqui! \ No newline at end of file diff --git a/microjogos/2025S1/Yhago_Gamelab/creditos/creditos.txt b/microjogos/2025S1/Yhago_Gamelab/creditos/creditos.txt new file mode 100644 index 000000000..a309f5722 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/creditos/creditos.txt @@ -0,0 +1 @@ +Preencha esse arquivo com os créditos do seu jogo, incluindo quem fez cada parte e o link para qualquer recurso externo que foi utilizado! Se quiser incluir alguma imagem, jogue ela nessa pasta diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png new file mode 100644 index 000000000..afa21c658 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png.import new file mode 100644 index 000000000..d568a292f --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://g8o3afvi3j8k" +path="res://.godot/imported/Spri1.png-b13c641a180e46252d58d4206b491f9d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/Spri1.png" +dest_files=["res://.godot/imported/Spri1.png-b13c641a180e46252d58d4206b491f9d.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png new file mode 100644 index 000000000..fd4bac07e Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png.import new file mode 100644 index 000000000..26c412ec0 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b18q6ai0ky1uv" +path="res://.godot/imported/Sprit2.png-88187179abe215e22d9c17660a0c0e05.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/Sprit2.png" +dest_files=["res://.godot/imported/Sprit2.png-88187179abe215e22d9c17660a0c0e05.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png new file mode 100644 index 000000000..f6d1338d7 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png.import new file mode 100644 index 000000000..37ea535cd --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dodvdt3fkpvdl" +path="res://.godot/imported/anzol.png-23268f90f6be15d839eb00e87624b904.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/anzol.png" +dest_files=["res://.godot/imported/anzol.png-23268f90f6be15d839eb00e87624b904.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png new file mode 100644 index 000000000..7ad832c33 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png.import new file mode 100644 index 000000000..16321b2af --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b71wdj0doay37" +path="res://.godot/imported/balde1.png-939fde3cb8b54791eaa747250e4289ea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/balde1.png" +dest_files=["res://.godot/imported/balde1.png-939fde3cb8b54791eaa747250e4289ea.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png new file mode 100644 index 000000000..ba0f19678 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png.import new file mode 100644 index 000000000..4595a4d6e --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwxgjqcf68a27" +path="res://.godot/imported/balde2.png-c28fd22f99989bf06e63d2b2cba81de5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/balde2.png" +dest_files=["res://.godot/imported/balde2.png-c28fd22f99989bf06e63d2b2cba81de5.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png new file mode 100644 index 000000000..1b4eb7092 Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png.import new file mode 100644 index 000000000..3721c2b57 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxwsl1h2vbnbj" +path="res://.godot/imported/capa.png-ad9d676189cf5bb0e092bab012c6bf4b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/capa.png" +dest_files=["res://.godot/imported/capa.png-ad9d676189cf5bb0e092bab012c6bf4b.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png new file mode 100644 index 000000000..0967b824d Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png.import new file mode 100644 index 000000000..48c7aa18b --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://doeedqotu75oi" +path="res://.godot/imported/gamuto.png-5899ef46b1ea36d830f120af12267f4e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/gamuto.png" +dest_files=["res://.godot/imported/gamuto.png-5899ef46b1ea36d830f120af12267f4e.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png b/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png new file mode 100644 index 000000000..bd0f2d2ab Binary files /dev/null and b/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png differ diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png.import b/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png.import new file mode 100644 index 000000000..21baed9d0 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cpr4e8slkpk5b" +path="res://.godot/imported/peixe.png-cd1a7a5c3559b2b88f34a52c87825767.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2025S1/Yhago_Gamelab/recursos/images/peixe.png" +dest_files=["res://.godot/imported/peixe.png-cd1a7a5c3559b2b88f34a52c87825767.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 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/microgame.tres b/microjogos/2025S1/Yhago_Gamelab/recursos/microgame.tres new file mode 100644 index 000000000..1e8f5610c --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/microgame.tres @@ -0,0 +1,20 @@ +[gd_resource type="Resource" script_class="MicrogameAsset" load_steps=4 format=3 uid="uid://bbcyaujubd754"] + +[ext_resource type="Texture2D" uid="uid://sjmchmnlbr8g" path="res://microjogos/2025S1/Yhago_Gamelab/capa.png" id="1_o83w0"] +[ext_resource type="PackedScene" uid="uid://bxjif83b36oo2" path="res://microjogos/2025S1/Yhago_Gamelab/cenas/main.tscn" id="1_pyl06"] +[ext_resource type="Script" uid="uid://bus1nknp6xsc0" path="res://principal/microgame_asset.gd" id="3_444ns"] + +[resource] +script = ExtResource("3_444ns") +cover = ExtResource("1_o83w0") +title_pt = &"Anzol no balde" +title_en = &"Hook in the bucket" +credits_pt = "Arte e programação por Yhago Tomasini (@yhago14.0) +GameLab FACAMP (@gamelab_facamp) +" +credits_en = "Art and programming by Yhago Tomasini (@yhago14.0) +GameLab FACAMP (@gamelab_facamp)" +start_message_pt = &"Precione espaço e faça o anzol seguir o peixe para pega-lo!!!" +start_message_en = &"Press space and follow the fish to catch it!!!" +main_scene = ExtResource("1_pyl06") +difficulty = 3 diff --git a/microjogos/2025S1/Yhago_Gamelab/recursos/recursos.txt b/microjogos/2025S1/Yhago_Gamelab/recursos/recursos.txt new file mode 100644 index 000000000..dc6a91edd --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/recursos/recursos.txt @@ -0,0 +1 @@ +Guarde os recursos - como imagens, sons e fontes - que seu jogo vai usar aqui. É recomendado criar subpastas pra organizar melhor seus arquivos dependendo do tipo ou propósito diff --git a/microjogos/2025S1/Yhago_Gamelab/seu projeto.txt b/microjogos/2025S1/Yhago_Gamelab/seu projeto.txt new file mode 100644 index 000000000..4a64f6cc6 --- /dev/null +++ b/microjogos/2025S1/Yhago_Gamelab/seu projeto.txt @@ -0,0 +1,3 @@ +Boas vindas à sua área de trabalho! Sinta-se livre para renomear essa pasta com o seu nome ou o nome do seu jogo. O que tiver aqui vai ser sua entrega final quando o seu jogo estiver pronto. + +As pastas aqui dentro tem arquivos de texto explicando seu propósito, e a cena principal está localizada em cenas. O arquivo capa é uma imagem 450x450 que aparece quando seu jogo carrega. Troque ela por alguma coisa interessante mais pra frente! diff --git a/microjogos/2025S1/seu_projeto/microgame.tres b/microjogos/2025S1/seu_projeto/microgame.tres deleted file mode 100644 index bf54ffbc6..000000000 --- a/microjogos/2025S1/seu_projeto/microgame.tres +++ /dev/null @@ -1,13 +0,0 @@ -[gd_resource type="Resource" script_class="MicrogameAsset" load_steps=2 format=3 uid="uid://bbcyaujubd754"] - -[ext_resource type="Script" uid="uid://bus1nknp6xsc0" path="res://principal/microgame_asset.gd" id="3_444ns"] - -[resource] -script = ExtResource("3_444ns") -title_pt = &"TÍTULO DO JOGO" -title_en = &"GAME TITLE" -credits_pt = "Créditos do jogo" -credits_en = "Game crédits" -start_message_pt = &"FAÇA ALGO!" -start_message_en = &"DO SOMETHING!" -difficulty = 0 diff --git a/project.godot b/project.godot index 722dbd2f1..978ed8813 100644 --- a/project.godot +++ b/project.godot @@ -31,7 +31,7 @@ window/size/viewport_height=1080 window/size/mode=3 window/size/window_width_override=960 window/size/window_height_override=540 -window/stretch/mode="viewport" +window/stretch/mode="canvas_items" window/size/fullscreen=true [input] @@ -158,6 +158,7 @@ common/enable_pause_aware_picking=true [rendering] +textures/canvas_textures/default_texture_filter=3 renderer/rendering_method="gl_compatibility" environment/defaults/default_clear_color=Color(0, 0, 0, 1) environment/defaults/default_environment="res://default_env.tres"