Skip to content

feat: adjust mechanism to toggle credits screen#266

Merged
r4pt0s merged 8 commits into
zero-to-mastery:mainfrom
HASH-0021:game-changes
Oct 26, 2025
Merged

feat: adjust mechanism to toggle credits screen#266
r4pt0s merged 8 commits into
zero-to-mastery:mainfrom
HASH-0021:game-changes

Conversation

@HASH-0021
Copy link
Copy Markdown
Contributor

Changes:

  • Fixed issue with interaction dialogue for restroom being after quest dialogues.
  • Fixed the typo for receiveQuest function.
  • Currently the NPCs shown in the loading screen are random. This can result in same NPCs shown multiple times. Fixed this issue by adjusting logic for the random NPC selection. They are still random but unique.
  • Incorrect use of anim keyword in library interaction of "start" map is fixed. Previously this results in console error.
  • NPCs in loading screen are now facing right side (the direction in which they are moving).
  • "dialog" html element includes overflow-y styling without any fixed height styling. Adjusted this to make the longer dialogues scrollable.
  • Added debug mode shortcut to help section.
  • Adjust mechanism to toggle credits screen.
    • Issue with credits screen shortcut ("o") only working in "start" map is fixed.
    • Added playerScenes constant to constants.js file so that it can be used in logic determining whether player can be present in those scenes.
    • Added the button shortcut "o" in kplayCtx.js file for "credits" button.
    • Player can now toggle credits screen only from the scenes mentioned playerScenes constant using either "Credits" button or "o" key.
    • Adjusted styling and text for exit button inside credits screen.
    • Canvas is now properly focused when using credits button.

@HASH-0021 HASH-0021 changed the title Game changes feat: adjust mechanism to toggle credits screen Oct 25, 2025
Copy link
Copy Markdown
Collaborator

@r4pt0s r4pt0s left a comment

Choose a reason for hiding this comment

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

Good job @HASH-0021 🙌🏻🎉

@r4pt0s r4pt0s merged commit 83d87e4 into zero-to-mastery:main Oct 26, 2025
2 checks passed
@HASH-0021 HASH-0021 deleted the game-changes branch October 27, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants