Skip to content

Add “Amaruq y El Dorado” StoryQuest#2431

Draft
PaoloPelaezVillanueva wants to merge 52 commits into
endlessm:mainfrom
GameLab6-UTP-Grupo5-Equipo3:main
Draft

Add “Amaruq y El Dorado” StoryQuest#2431
PaoloPelaezVillanueva wants to merge 52 commits into
endlessm:mainfrom
GameLab6-UTP-Grupo5-Equipo3:main

Conversation

@PaoloPelaezVillanueva

Copy link
Copy Markdown

el primer PR up Stream

PaoloPelaezVillanueva and others added 30 commits May 25, 2026 17:09
…emplate

Duplicate and rename template and all files GRUPO 3
seguimos avanzando este commit se continuo con el mini juego 2 pero queda pendiente el juego 1
avance con los guardianes del mini juego 1
@wjt wjt marked this pull request as draft June 23, 2026 06:00
@wjt

wjt commented Jun 23, 2026

Copy link
Copy Markdown
Member

Please review https://github.com/endlessm/threadbare/wiki/StoryQuest-submission and mark this as ready for review when ready!

@wjt wjt added the StoryQuest New StoryQuests or updates to existing ones label Jun 23, 2026
Comment on lines +3 to +8
func _ready():
$AnimationPlayer.play("uno")
$AnimationPlayer.animation_finished.connect(_on_animation_finished)

func _on_animation_finished(anim_name):
$AnimationPlayer.play("uno")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can set the animation as looping instead of doing this by hand.

extends Area2D

func _ready():
$AnimationPlayer.play("uno")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use AnimationPlayer.autoplay to choose the animation to play automatically. Then you don't need to do this in code, with 3 different copies of the same script just to change the animation name.


func _on_body_entered(body):
if body.name == "Player":
get_tree().reload_current_scene() # reinicia la escena al inicio

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use:

SceneSwitcher.reload_with_transition()

to get a nice fade-out/fade-in while reloading.

@wjt wjt moved this to In Progress in Threadbare Development Jun 24, 2026
@tool
class_name Cinematic
extends SceneLink
class_name CasaDeLaChinaCinematic

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you meant to change the class_name of the shared cinematic.gd script.

Comment on lines +49 to +52
## Used from dialogue (do wait_for_walk()) to pause until the current
## animation on [member animation_player] finishes playing.
func wait_for_walk() -> void:
await animation_player.animation_finished

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this. In a .dialogue file you can wait for a signal with:

do animation_player.animation_finished

@wjt

wjt commented Jun 25, 2026

Copy link
Copy Markdown
Member

Please review https://github.com/endlessm/threadbare/wiki/StoryQuest-submission and mark this as ready for review when ready!

I did a quick pass over the code; but I'll leave this for now. Please review the submission guidelines, and mark the PR as ready (not draft) when it is ready for another round of review!

@wjt wjt self-assigned this Jul 6, 2026
@wjt wjt changed the title el primer PR up Stream Add “Amaruq y El Dorado” StoryQuest Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

StoryQuest New StoryQuests or updates to existing ones

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants