Skip to content

Fix townies walking speed issue #2620 - #2809

Open
Nickssssss-del wants to merge 1 commit into
endlessm:mainfrom
Nickssssss-del:fix-townies-speed-clean
Open

Fix townies walking speed issue #2620#2809
Nickssssss-del wants to merge 1 commit into
endlessm:mainfrom
Nickssssss-del:fix-townies-speed-clean

Conversation

@Nickssssss-del

Copy link
Copy Markdown

Update 1 — Adjusting the Townies' Speed

Tests were conducted with different speed ranges to improve the pacing of the retelling scene, as the townies could move too slowly and make the scene feel drawn out. After comparing different values, the 175–264 px/s range was selected, as it provided smoother, more appropriate movement without making the characters feel too fast.
Evidence:

175-264.mp4

Update 2 — Arrival Synchronization

A system was implemented to synchronize the townies’ arrival at the Eternal Loom. The distance traveled, assigned speed, and estimated travel time are calculated individually for each character. Then, the longest travel time is used as a reference, and a start delay is calculated for the other townies.
Evidence:

Sincronizacion.1.mp4

@Nickssssss-del
Nickssssss-del requested a review from a team as a code owner August 30, 2026 03:26

@manuq manuq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Before I continue with the review, I would like to see the unneeded changes reverted.

Comment on lines -12 to +15
## Call [member RetellingTownie.go_to_the_loom()] on each townie so they join.
## Call [member EternalLoom.show_retelling_dialogue()] when all townies have joined.
## May call [member RetellingTownie.become_helper()] on one townie (at random).
## Call [member RetellingTownie.leave_the_loom()] on each townie so they leave.
## Call RetellingTownie.go_to_the_loom() on each townie so they join.
## Call EternalLoom.show_retelling_dialogue() when all townies have joined.
## May call RetellingTownie.become_helper() on one townie (at random).
## Call RetellingTownie.leave_the_loom() on each townie so they leave.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please explain why you changed the documentation comments.


## The Eternal Loom, for listening to signals and calling
## [member EternalLoom.show_retelling_dialogue()].
## EternalLoom.show_retelling_dialogue().

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same here.

Comment on lines -30 to +39
eternal_loom.retelling_started.connect(_on_eternal_loom_retelling_started)
eternal_loom.retelling_finished.connect(_on_eternal_loom_retelling_finished)
eternal_loom.give_retelling_upgrade.connect(_on_eternal_loom_give_retelling_upgrade)

eternal_loom.retelling_started.connect(
_on_eternal_loom_retelling_started
)
eternal_loom.retelling_finished.connect(
_on_eternal_loom_retelling_finished
)
eternal_loom.give_retelling_upgrade.connect(
_on_eternal_loom_give_retelling_upgrade
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why change the format here? Check https://github.com/endlessm/threadbare/actions/runs/33290260227/job/99564258513?pr=2809 and please consider installing pre-commit like our Contributing guide mentions.

@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/Nickssssss-del/fix-townies-speed-clean/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants