diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/capa.png b/microjogos/2024S1/projeto-do-Glaymar_A/capa.png new file mode 100644 index 000000000..253ce0562 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/capa.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/capa.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/capa.png.import new file mode 100644 index 000000000..7efc05c1c --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/capa.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dhw6fo6kik8rc" +path="res://.godot/imported/capa.png-b6402ecb58885a91c4091c31967c3fb8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/capa.png" +dest_files=["res://.godot/imported/capa.png-b6402ecb58885a91c4091c31967c3fb8.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/2024S1/projeto-do-Glaymar_A/cenas/Player.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/Player.tscn new file mode 100644 index 000000000..63ed56c57 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/Player.tscn @@ -0,0 +1,144 @@ +[gd_scene load_steps=11 format=3 uid="uid://dt7ewgrxnk86g"] + +[ext_resource type="Script" uid="uid://b3bnyiue4rga8" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd" id="1_6jrih"] +[ext_resource type="Texture2D" uid="uid://3dyh7wv3c65q" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png" id="2_6e7nt"] +[ext_resource type="Texture2D" uid="uid://dxy3gvgm3dijq" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png" id="2_a54cd"] +[ext_resource type="PackedScene" uid="uid://d1gunhxurm3j6" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/arma.tscn" id="3_bxmo8"] +[ext_resource type="AudioStream" uid="uid://dktmq71h2few3" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav" id="5_k58nf"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_mnbm7"] +radius = 12.0 +height = 32.0 + +[sub_resource type="Animation" id="Animation_k58nf"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Persona:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(0, -33)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Persona:rotation") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Arma:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(9, -17)] +} + +[sub_resource type="Animation" id="Animation_2uhfe"] +resource_name = "death" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Persona:rotation") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.333333), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [0.0, -1.5708] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Persona:position") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 0.333333), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0, -33), Vector2(-33, -7.115)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Arma:position") +tracks/2/interp = 2 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 0.366667), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(9, -17), Vector2(19.4, 9.315)] +} + +[sub_resource type="Animation" id="Animation_mnbm7"] +resource_name = "idle" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Persona:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(0, -33), Vector2(0, -32), Vector2(0, -33)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_s1ieg"] +_data = { +&"RESET": SubResource("Animation_k58nf"), +&"death": SubResource("Animation_2uhfe"), +&"idle": SubResource("Animation_mnbm7") +} + +[node name="Player" type="CharacterBody2D" groups=["player"]] +z_index = 1 +script = ExtResource("1_6jrih") + +[node name="Sombra" type="Sprite2D" parent="."] +texture_filter = 3 +scale = Vector2(1.945, 1.945) +texture = ExtResource("2_a54cd") + +[node name="Persona" type="Sprite2D" parent="."] +texture_filter = 3 +position = Vector2(0, -33) +scale = Vector2(1.8, 1.8) +texture = ExtResource("2_6e7nt") + +[node name="Hurtbox" type="CollisionShape2D" parent="."] +position = Vector2(0, -12) +shape = SubResource("CapsuleShape2D_mnbm7") + +[node name="Arma" parent="." instance=ExtResource("3_bxmo8")] +position = Vector2(9, -17) +rotation = 0.0120305 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +libraries = { +&"": SubResource("AnimationLibrary_s1ieg") +} +autoplay = "idle" + +[node name="Hurt" type="AudioStreamPlayer" parent="."] +stream = ExtResource("5_k58nf") diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/arma.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/arma.tscn new file mode 100644 index 000000000..d2597afb9 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/arma.tscn @@ -0,0 +1,54 @@ +[gd_scene load_steps=13 format=3 uid="uid://d1gunhxurm3j6"] + +[ext_resource type="Script" uid="uid://dxqkwdhb3tb66" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd" id="1_f4wxo"] +[ext_resource type="Texture2D" uid="uid://02uvoafk3bjy" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png" id="2_lgl81"] +[ext_resource type="AudioStream" uid="uid://dkpkyoc4n4lm6" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav" id="3_jlu6i"] +[ext_resource type="AudioStream" uid="uid://c6ifnn8gxflqu" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav" id="4_te5n0"] +[ext_resource type="AudioStream" uid="uid://c2m8uetds4bgq" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav" id="5_bv5fa"] +[ext_resource type="AudioStream" uid="uid://dwsax1utwdino" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav" id="6_h8vo0"] +[ext_resource type="AudioStream" uid="uid://qxrslcxq5ys1" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav" id="7_vhgqq"] +[ext_resource type="AudioStream" uid="uid://c4cjdb52o3nwd" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav" id="8_ax7xj"] +[ext_resource type="AudioStream" uid="uid://dy1scdckpi8vn" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav" id="9_gainj"] +[ext_resource type="AudioStream" uid="uid://bprqdskbqbtjt" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav" id="10_05xht"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_6cuxg"] +radius = 445.702 + +[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_otmsb"] +streams_count = 8 +stream_0/stream = ExtResource("3_jlu6i") +stream_1/stream = ExtResource("4_te5n0") +stream_2/stream = ExtResource("5_bv5fa") +stream_3/stream = ExtResource("6_h8vo0") +stream_4/stream = ExtResource("7_vhgqq") +stream_5/stream = ExtResource("8_ax7xj") +stream_6/stream = ExtResource("9_gainj") +stream_7/stream = ExtResource("10_05xht") + +[node name="Arma" type="Area2D"] +collision_layer = 0 +collision_mask = 2 +script = ExtResource("1_f4wxo") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_6cuxg") + +[node name="Marker2D" type="Marker2D" parent="."] + +[node name="Gun" type="Sprite2D" parent="Marker2D"] +texture_filter = 3 +position = Vector2(20, -3) +texture = ExtResource("2_lgl81") + +[node name="mira" type="Marker2D" parent="Marker2D/Gun"] +unique_name_in_owner = true +position = Vector2(19.904, -1.57742) + +[node name="Timer" type="Timer" parent="."] +wait_time = 0.32 +autostart = true + +[node name="Shot" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamRandomizer_otmsb") + +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/coluna.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/coluna.tscn new file mode 100644 index 000000000..e98029e60 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/coluna.tscn @@ -0,0 +1,27 @@ +[gd_scene load_steps=5 format=3 uid="uid://d2oahab3ot5ql"] + +[ext_resource type="Script" uid="uid://cg7hwj32kk0xx" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd" id="1_1vo7t"] +[ext_resource type="Texture2D" uid="uid://dxy3gvgm3dijq" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png" id="1_2gj1p"] +[ext_resource type="Texture2D" uid="uid://dq8r1g3g2bu1" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png" id="2_o3gwj"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_anw0x"] +radius = 12.0 +height = 46.0 + +[node name="coluna" type="StaticBody2D"] +script = ExtResource("1_1vo7t") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +rotation = 1.5708 +shape = SubResource("CapsuleShape2D_anw0x") + +[node name="Sombra" type="Sprite2D" parent="."] +texture_filter = 3 +scale = Vector2(4.06, 3.57) +texture = ExtResource("1_2gj1p") + +[node name="Tree" type="Sprite2D" parent="."] +texture_filter = 3 +position = Vector2(0, -55) +scale = Vector2(3.22, 3.44) +texture = ExtResource("2_o3gwj") diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/inimigo.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/inimigo.tscn new file mode 100644 index 000000000..e82122b43 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/inimigo.tscn @@ -0,0 +1,33 @@ +[gd_scene load_steps=5 format=3 uid="uid://deg0v3upu07xf"] + +[ext_resource type="Script" uid="uid://b0jgldkcj5sgj" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd" id="1_ratjc"] +[ext_resource type="Texture2D" uid="uid://b24foufi834mf" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png" id="2_cd747"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_cdqa1"] +radius = 17.0 +height = 48.0 + +[sub_resource type="CircleShape2D" id="CircleShape2D_cdqa1"] +radius = 31.0161 + +[node name="Inimigo" type="CharacterBody2D" groups=["inimigo"]] +collision_layer = 2 +collision_mask = 3 +script = ExtResource("1_ratjc") + +[node name="Slime" type="Sprite2D" parent="."] +z_index = -1 +texture_filter = 3 +scale = Vector2(3.84615, 3.84615) +texture = ExtResource("2_cd747") + +[node name="Hurtbox" type="CollisionShape2D" parent="."] +rotation = 1.5708 +shape = SubResource("CapsuleShape2D_cdqa1") + +[node name="Hitbox" type="Area2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"] +shape = SubResource("CircleShape2D_cdqa1") + +[connection signal="body_entered" from="Hitbox" to="." method="_on_hitbox_body_entered"] diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/main.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/main.tscn new file mode 100644 index 000000000..a64c27c65 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/main.tscn @@ -0,0 +1,106 @@ +[gd_scene load_steps=6 format=3 uid="uid://bi0ahd7cv37i6"] + +[ext_resource type="Script" uid="uid://bpfumcx1027mv" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd" id="1_qftkj"] +[ext_resource type="PackedScene" uid="uid://d2oahab3ot5ql" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/coluna.tscn" id="2_osv8d"] +[ext_resource type="PackedScene" uid="uid://dt7ewgrxnk86g" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/Player.tscn" id="2_w0t5o"] +[ext_resource type="PackedScene" uid="uid://deg0v3upu07xf" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/inimigo.tscn" id="3_ipfv1"] +[ext_resource type="AudioStream" uid="uid://fr4hbjxvo2i3" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav" id="5_rtowm"] + +[node name="Main" type="Node2D"] +script = ExtResource("1_qftkj") + +[node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = -30 + +[node name="ColorRect" type="ColorRect" parent="CanvasLayer"] +z_index = -2 +anchors_preset = -1 +anchor_right = 0.356771 +anchor_bottom = 0.172222 +offset_left = 3.0 +offset_right = 1241.0 +offset_bottom = 897.0 +color = Color(0.444343, 0.360522, 0.622573, 1) +metadata/_edit_use_anchors_ = true + +[node name="Player" parent="." instance=ExtResource("2_w0t5o")] +position = Vector2(851, 720) + +[node name="Inimigo" parent="." instance=ExtResource("3_ipfv1")] +position = Vector2(162, 579) + +[node name="Inimigo4" parent="." instance=ExtResource("3_ipfv1")] +position = Vector2(1344, 141) + +[node name="Inimigo2" parent="." instance=ExtResource("3_ipfv1")] +position = Vector2(580, 177) + +[node name="Inimigo3" parent="." instance=ExtResource("3_ipfv1")] +position = Vector2(1725, 484) + +[node name="Trees" type="Node2D" parent="."] +position = Vector2(516, 330) + +[node name="coluna" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-3, 2) + +[node name="coluna2" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-439, 1) + +[node name="coluna3" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-370, -122) + +[node name="coluna4" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-275, 90) + +[node name="coluna5" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-124, -175) + +[node name="coluna6" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(469, -189) + +[node name="coluna7" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(203, -111) + +[node name="coluna8" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(-69, 363) + +[node name="coluna9" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(445, 134) + +[node name="coluna13" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(716, 458) + +[node name="coluna15" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(897, 330) + +[node name="coluna16" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(1173, 337) + +[node name="coluna17" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(866, 556) + +[node name="coluna18" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(455, 487) + +[node name="coluna19" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(1100, -81) + +[node name="coluna14" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(496, 54) + +[node name="coluna11" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(712, -1) + +[node name="coluna12" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(954, 87) + +[node name="coluna10" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(126, 163) + +[node name="coluna20" parent="Trees" instance=ExtResource("2_osv8d")] +position = Vector2(1212, 512) + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = ExtResource("5_rtowm") +autoplay = true diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/municao.tscn b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/municao.tscn new file mode 100644 index 000000000..658041185 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/municao.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=4 format=3 uid="uid://dorh5dd53pwq7"] + +[ext_resource type="Script" uid="uid://1vrwk3xpch4s" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd" id="1_2y78e"] +[ext_resource type="Texture2D" uid="uid://db0cbwirc3omh" path="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png" id="1_lec53"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_dqr2f"] +size = Vector2(8, 4) + +[node name="Municao" type="Area2D"] +top_level = true +collision_layer = 0 +collision_mask = 3 +script = ExtResource("1_2y78e") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("RectangleShape2D_dqr2f") + +[node name="Bala" type="Sprite2D" parent="."] +z_index = -1 +texture_filter = 3 +rotation = 3.14159 +scale = Vector2(2, 2) +texture = ExtResource("1_lec53") + +[connection signal="body_entered" from="." to="." method="_on_body_entered"] diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd new file mode 100644 index 000000000..50f8bb735 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd @@ -0,0 +1,18 @@ +extends CharacterBody2D + +@export var vivo := true + +func _physics_process(delta): + var direction = Input.get_vector("esquerda","direita","cima","baixo") + velocity = direction * 300 + if vivo: + move_and_slide() + +func hit(dano:int): + vivo = false + get_parent().register_lose() + $AnimationPlayer.play("death") + $Hurt.play() + collision_layer = 0 + $Arma.disabled = true + diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd.uid new file mode 100644 index 000000000..399cc9c56 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/CharacterBody2D.gd.uid @@ -0,0 +1 @@ +uid://b3bnyiue4rga8 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd new file mode 100644 index 000000000..8f1634ed7 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd @@ -0,0 +1,23 @@ +extends Area2D +var inimigo_na_area = [] +var disabled = false + +func _physics_process(delta): + if not disabled: + inimigo_na_area = get_overlapping_bodies() + if inimigo_na_area.size() > 0: + var mirar_inimigo = inimigo_na_area.front() + look_at(mirar_inimigo.global_position) + +func atirar(): + const MUNICAO = preload("res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/municao.tscn") + var nova_tiro = MUNICAO.instantiate() + nova_tiro.global_position = %mira.global_position + nova_tiro.global_rotation = %mira.global_rotation + %mira.add_child(nova_tiro) + $Shot.play() + + +func _on_timer_timeout(): + if inimigo_na_area.size() > 0 and not disabled: + atirar() diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd.uid new file mode 100644 index 000000000..d21160adc --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/arma.gd.uid @@ -0,0 +1 @@ +uid://dxqkwdhb3tb66 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd new file mode 100644 index 000000000..0aecff587 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd @@ -0,0 +1,14 @@ +extends StaticBody2D + +@onready var player : CharacterBody2D = get_parent().get_parent().get_node("Player") +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + if player.global_position.y < global_position.y: + z_index = 2 + else: + z_index = 0 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd.uid new file mode 100644 index 000000000..b597efb69 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/coluna.gd.uid @@ -0,0 +1 @@ +uid://cg7hwj32kk0xx diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd new file mode 100644 index 000000000..edaf3dbed --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd @@ -0,0 +1,21 @@ +extends CharacterBody2D + +@export var vida := 10 + +@onready var player = get_parent().get_node("Player") + +func hit(dano:int): + vida -= dano + if vida <= 0: + queue_free() + +func _physics_process(delta): + if player.vivo: + var direction = global_position.direction_to(player.global_position) + velocity = direction * 250.0 + move_and_slide() + + +func _on_hitbox_body_entered(body: Node2D) -> void: + if body.is_in_group("player"): + body.hit(1) diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd.uid new file mode 100644 index 000000000..f70fe3bab --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/inimigo.gd.uid @@ -0,0 +1 @@ +uid://b0jgldkcj5sgj diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd new file mode 100644 index 000000000..63b96fb06 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd @@ -0,0 +1,40 @@ +extends Node2D + +# Declaração dos sinais win e lose +signal win +signal lose + +# Estas constantes são usadas para determinar o tamanho da tela do seu jogo. Por padrão, definem uma +# tela 1920x1080, que é padrão para monitores full HD. Caso você queira uma resolução menor para +# atingir uma estética mais pixelada, você pode mudar estes números para qualquer outra resolução +# 16:9 +const WIDTH = 1920 +const HEIGHT = 1080 + + +# -------------------------------------------------------------------------------------------------- +# FUNÇÕES PADRÃO +# -------------------------------------------------------------------------------------------------- + +# Esta função é chamada assim que esta cena é instanciada, ou seja, assim que seu minigame inicia +func _ready(): + register_win() + +# -------------------------------------------------------------------------------------------------- +# CONDIÇÕES DE VITÓRIA +# -------------------------------------------------------------------------------------------------- +# Quando o jogo começa, ela assume que o jogador não conseguiu vencer o jogo ainda, ou seja, se não +# acontecer nada, o jogador vai perder o jogo. A verificação se o jogador venceu o minigame é feita +# com base na emissão dos sinais "win" e "lose". Se "win" foi o último sinal emitido, o jogador +# vencerá o jogo, e se "lose" foi o último sinal emitido ou nenhum sinal foi emitido, o jogador +# perderá o jogo + + +# Chame esta função para registrar que o jogador venceu o jogo +func register_win(): + emit_signal("win") + + +# Chame esta função para registrar que o jogador perdeu o jogo +func register_lose(): + emit_signal("lose") diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd.uid new file mode 100644 index 000000000..fd2f7f301 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/main.gd.uid @@ -0,0 +1 @@ +uid://bpfumcx1027mv diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd new file mode 100644 index 000000000..2471c8f99 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd @@ -0,0 +1,18 @@ +extends Area2D + +var distancia_bala = 0 + +func _physics_process(delta): + const speed = 1000 + const range = 1200 + var direction = Vector2.RIGHT.rotated(rotation) + position += direction * speed * delta + distancia_bala += speed * delta + if distancia_bala > range: + queue_free() + + +func _on_body_entered(body : Node2D): + if body.is_in_group("inimigo"): + body.hit(1) + queue_free() diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd.uid b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd.uid new file mode 100644 index 000000000..5df338524 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/cenas/scripts/municao.gd.uid @@ -0,0 +1 @@ +uid://1vrwk3xpch4s diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/microgame.tres b/microjogos/2024S1/projeto-do-Glaymar_A/microgame.tres new file mode 100644 index 000000000..b30444266 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/microgame.tres @@ -0,0 +1,20 @@ +[gd_resource type="Resource" script_class="MicrogameAsset" load_steps=4 format=3 uid="uid://dyl645rldetcf"] + +[ext_resource type="Script" uid="uid://bus1nknp6xsc0" path="res://principal/microgame_asset.gd" id="1_30pac"] +[ext_resource type="Texture2D" uid="uid://dhw6fo6kik8rc" path="res://microjogos/2024S1/projeto-do-Glaymar_A/capa.png" id="1_iqsi1"] +[ext_resource type="PackedScene" uid="uid://bi0ahd7cv37i6" path="res://microjogos/2024S1/projeto-do-Glaymar_A/cenas/main.tscn" id="2_4ybdn"] + +[resource] +script = ExtResource("1_30pac") +cover = ExtResource("1_iqsi1") +title_pt = &"VdeG" +title_en = &"VdeG" +credits_pt = "Criado por: Glaymar A. de França + +Assets autorais" +credits_en = "Made by: Glaymar A. de França +Authoral assets" +start_message_pt = &"SOBREVIVA!" +start_message_en = &"SURVIVE!" +main_scene = ExtResource("2_4ybdn") +difficulty = 0 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Gun.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Gun.png~ new file mode 100644 index 000000000..64c29a649 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Gun.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/New_Piskel_2.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/New_Piskel_2.png~ new file mode 100644 index 000000000..22dc9ceb2 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/New_Piskel_2.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Tree.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Tree.png~ new file mode 100644 index 000000000..d6be370bc Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/Tree.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/bala.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/bala.png~ new file mode 100644 index 000000000..fce63195b Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/bala.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/persona.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/persona.png~ new file mode 100644 index 000000000..d93065274 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/persona.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sombra.png~ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sombra.png~ new file mode 100644 index 000000000..ab2ce01d6 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sombra.png~ differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav new file mode 100644 index 000000000..0cd878f3a Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav.import new file mode 100644 index 000000000..bf29171d3 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://b8tjmtvwqvpfs" +path="res://.godot/imported/freesound_community-bitty-boss-54953.wav-ee83966fdf8e8f725dc8d84da2505f71.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/freesound_community-bitty-boss-54953.wav" +dest_files=["res://.godot/imported/freesound_community-bitty-boss-54953.wav-ee83966fdf8e8f725dc8d84da2505f71.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav new file mode 100644 index 000000000..a9caa8581 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav.import new file mode 100644 index 000000000..cd4191503 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://fr4hbjxvo2i3" +path="res://.godot/imported/g32gamesonscratch-grudge-revised-409696.wav-0e6401cd28c039e57af4573879057fe9.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/g32gamesonscratch-grudge-revised-409696.wav" +dest_files=["res://.godot/imported/g32gamesonscratch-grudge-revised-409696.wav-0e6401cd28c039e57af4573879057fe9.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav new file mode 100644 index 000000000..8c5dec79c Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav.import new file mode 100644 index 000000000..f32593eb0 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://dktmq71h2few3" +path="res://.godot/imported/stepir44-hurt-sound-435314.wav-651235e9b7f2cb3df46ee4f4c18e0c39.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/stepir44-hurt-sound-435314.wav" +dest_files=["res://.godot/imported/stepir44-hurt-sound-435314.wav-651235e9b7f2cb3df46ee4f4c18e0c39.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav new file mode 100644 index 000000000..8ce22117e Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav.import new file mode 100644 index 000000000..9ed01381e --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://dkpkyoc4n4lm6" +path="res://.godot/imported/u_f09vejvoga-gun-shot-0.wav-05d1c50c75ac13ab822c364ea14eefd0.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-0.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-0.wav-05d1c50c75ac13ab822c364ea14eefd0.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav new file mode 100644 index 000000000..6de93bd01 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav.import new file mode 100644 index 000000000..8fbbc25eb --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://c6ifnn8gxflqu" +path="res://.godot/imported/u_f09vejvoga-gun-shot-1.wav-cf400d1f3b755609342ff7ebd864931d.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-1.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-1.wav-cf400d1f3b755609342ff7ebd864931d.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav new file mode 100644 index 000000000..61323a1df Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav.import new file mode 100644 index 000000000..3b3402744 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://c2m8uetds4bgq" +path="res://.godot/imported/u_f09vejvoga-gun-shot-2.wav-d3f2dc8865e939ceb5c86ee6ac0b75a6.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-2.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-2.wav-d3f2dc8865e939ceb5c86ee6ac0b75a6.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav new file mode 100644 index 000000000..b76dc64dc Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav.import new file mode 100644 index 000000000..1678af250 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://dwsax1utwdino" +path="res://.godot/imported/u_f09vejvoga-gun-shot-3.wav-243e7843597bfe432ab4ca16a56fb0e8.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-3.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-3.wav-243e7843597bfe432ab4ca16a56fb0e8.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav new file mode 100644 index 000000000..43edf8971 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav.import new file mode 100644 index 000000000..2f357608d --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://qxrslcxq5ys1" +path="res://.godot/imported/u_f09vejvoga-gun-shot-4.wav-973ee6a859fe7b861f5774a47554888f.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-4.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-4.wav-973ee6a859fe7b861f5774a47554888f.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav new file mode 100644 index 000000000..7b0c49068 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav.import new file mode 100644 index 000000000..11a7a5618 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://c4cjdb52o3nwd" +path="res://.godot/imported/u_f09vejvoga-gun-shot-5.wav-ed7a44d803dad9db1f1d14a1e49b65e1.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-5.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-5.wav-ed7a44d803dad9db1f1d14a1e49b65e1.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav new file mode 100644 index 000000000..3fc6bd58f Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav.import new file mode 100644 index 000000000..cd1ba0814 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://dy1scdckpi8vn" +path="res://.godot/imported/u_f09vejvoga-gun-shot-6.wav-ff8742451e8cb9296308e4665d0a8b50.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-6.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-6.wav-ff8742451e8cb9296308e4665d0a8b50.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav new file mode 100644 index 000000000..d1b8a8ca4 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav.import new file mode 100644 index 000000000..782ddfc8d --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bprqdskbqbtjt" +path="res://.godot/imported/u_f09vejvoga-gun-shot-7.wav-ae4a49ec46116621554f90ebebbe9a3e.sample" + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sounds/u_f09vejvoga-gun-shot-7.wav" +dest_files=["res://.godot/imported/u_f09vejvoga-gun-shot-7.wav-ae4a49ec46116621554f90ebebbe9a3e.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=2 diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png new file mode 100644 index 000000000..4efea4296 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png.import new file mode 100644 index 000000000..447cd7e11 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://02uvoafk3bjy" +path="res://.godot/imported/Gun.png-fd6c7022f8b37cb2377515214da0b308.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Gun.png" +dest_files=["res://.godot/imported/Gun.png-fd6c7022f8b37cb2377515214da0b308.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/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png new file mode 100644 index 000000000..5b6ac740e Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png.import new file mode 100644 index 000000000..d76feeb82 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dq8r1g3g2bu1" +path="res://.godot/imported/Tree.png-9ae71e909a553fd13e3f3a36de54f118.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/Tree.png" +dest_files=["res://.godot/imported/Tree.png-9ae71e909a553fd13e3f3a36de54f118.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/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png new file mode 100644 index 000000000..4b79ff29c Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png.import new file mode 100644 index 000000000..2aef34352 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://db0cbwirc3omh" +path="res://.godot/imported/bala.png-50e5ed49e58cbf4e84157894bed003c3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/bala.png" +dest_files=["res://.godot/imported/bala.png-50e5ed49e58cbf4e84157894bed003c3.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/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png new file mode 100644 index 000000000..4912d0509 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png.import new file mode 100644 index 000000000..9d700676f --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3dyh7wv3c65q" +path="res://.godot/imported/persona.png-51e869ae10f4badb0900b27b57f22ad2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/persona.png" +dest_files=["res://.godot/imported/persona.png-51e869ae10f4badb0900b27b57f22ad2.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/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png new file mode 100644 index 000000000..1e2ca1e99 Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png.import new file mode 100644 index 000000000..cbe7aad8e --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b24foufi834mf" +path="res://.godot/imported/slime.png-0f0cb8be92919f105f416eeac54fa26f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/slime.png" +dest_files=["res://.godot/imported/slime.png-0f0cb8be92919f105f416eeac54fa26f.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/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png new file mode 100644 index 000000000..cf013464a Binary files /dev/null and b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png differ diff --git a/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png.import b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png.import new file mode 100644 index 000000000..e8551e458 --- /dev/null +++ b/microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxy3gvgm3dijq" +path="res://.godot/imported/sombra.png-6c53ba12be91d2c2a63121a4a24d551e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://microjogos/2024S1/projeto-do-Glaymar_A/recursos/sprites/sombra.png" +dest_files=["res://.godot/imported/sombra.png-6c53ba12be91d2c2a63121a4a24d551e.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/principal/recursos/data/packs/class_of_2024.tres b/principal/recursos/data/packs/class_of_2024.tres index 267c099ad..6875f76bb 100644 --- a/principal/recursos/data/packs/class_of_2024.tres +++ b/principal/recursos/data/packs/class_of_2024.tres @@ -1,4 +1,4 @@ -[gd_resource type="Resource" script_class="MicrogamePack" load_steps=26 format=3 uid="uid://vmwc6qdl8m68"] +[gd_resource type="Resource" script_class="MicrogamePack" load_steps=27 format=3 uid="uid://vmwc6qdl8m68"] [ext_resource type="Script" uid="uid://bus1nknp6xsc0" path="res://principal/microgame_asset.gd" id="1_2q322"] [ext_resource type="Resource" uid="uid://dvnwqsssiem4k" path="res://microjogos/2024S1/gamufit/microgame.tres" id="1_e6uyl"] @@ -25,8 +25,9 @@ [ext_resource type="Resource" path="res://microjogos/2024S1/Projeto-Yago/microgame.tres" id="21_coska"] [ext_resource type="Resource" path="res://microjogos/2024S1/projeto_felipe_onorio/microgame.tres" id="22_th4lo"] [ext_resource type="Resource" path="res://microjogos/2024S1/ShootGamuto/microgame.tres" id="23_i0spc"] +[ext_resource type="Resource" uid="uid://dyl645rldetcf" path="res://microjogos/2024S1/projeto-do-Glaymar_A/microgame.tres" id="25_3xv73"] [resource] script = ExtResource("1_vkav3") pack_name = &"Class of 2024" -microgames = Array[ExtResource("1_2q322")]([ExtResource("1_e6uyl"), ExtResource("2_3ia0r"), ExtResource("3_j1wcf"), ExtResource("4_4seuy"), ExtResource("6_7gh2d"), ExtResource("7_a18t2"), ExtResource("8_j6ccu"), ExtResource("9_qmm7k"), ExtResource("10_xujri"), ExtResource("11_bygbd"), ExtResource("12_hpcrb"), ExtResource("13_qebww"), ExtResource("14_plspg"), ExtResource("15_aaipd"), ExtResource("16_0u8tk"), ExtResource("17_uvyas"), ExtResource("18_uc1bj"), ExtResource("19_dfb3f"), ExtResource("20_lgru5"), ExtResource("21_coska"), ExtResource("22_th4lo"), ExtResource("23_i0spc"), ExtResource("5_ea52p")]) +microgames = Array[ExtResource("1_2q322")]([ExtResource("1_e6uyl"), ExtResource("2_3ia0r"), ExtResource("3_j1wcf"), ExtResource("4_4seuy"), ExtResource("6_7gh2d"), ExtResource("7_a18t2"), ExtResource("8_j6ccu"), ExtResource("9_qmm7k"), ExtResource("10_xujri"), ExtResource("11_bygbd"), ExtResource("12_hpcrb"), ExtResource("13_qebww"), ExtResource("14_plspg"), ExtResource("15_aaipd"), ExtResource("16_0u8tk"), ExtResource("17_uvyas"), ExtResource("18_uc1bj"), ExtResource("19_dfb3f"), ExtResource("20_lgru5"), ExtResource("21_coska"), ExtResource("22_th4lo"), ExtResource("23_i0spc"), ExtResource("5_ea52p"), ExtResource("25_3xv73")])