DEV Community

Cover image for Devlog — Added Paapa Maya Tutorial Card
Weird Codes
Weird Codes

Posted on Originally published at weirdcodes.itch.io AI-assisted

Devlog — Added Paapa Maya Tutorial Card

Overview
Added a contextual tutorial card that appears the first time the player is pulled toward Paapa Maya. The card teaches players how to escape the pull, use Naama and Kripa, and restore vision with Jyoti.

Gameplay integration
The engine now tracks pulledMayaType when a Maya is actively pulling the player.
When the engine detects ashuvha Maya, the game triggers the Paapa Maya tutorial card.
Touch controls are hidden while the card is active.
Dismissing or skipping the card does not affect the player’s main tutorial progress.
Tutorial behavior
Added a separate moksha_paapa_seen local-storage flag so the card appears only once.
The card is independent of the regular tutorial sequence and can appear after the tutorial has already been completed.
Enter, Escape, pointer clicks, and gamepad START can dismiss the active card.
Added reusable event-card support for other future contextual tutorial moments.
Player guidance
The localized card explains:

Paapa Maya pulls the senses toward it.
The player should steer away using the reins.
Naama chanting restores Kripa and weakens Paapa Maya.
Touching it obscures vision, which can be restored with Jyoti (B).
Three Paapa and five accumulated Naama are relevant to collision effects.
Localization and rendering
Added English and Hindi tutorial text in src/i18n.js.
Added Bhagavad Gita references for Paapa Maya.
Added support for card-specific icons and badges, replacing the standard Om icon and tutorial step counter where appropriate.
Technical summary
Pull request: #184 — Tutorial: Added tutorial card for Paapa maya
Author: @weirdcodesofficial
Status: Merged
Milestone: v0.1.2
Scope: 5 files changed — 193 additions, 10 deletions
Labels: enhancement, tutorial, paapa maya
Key files: src/engine.js, src/tutorial.js, src/main.js, src/i18n.js, src/render.js

Top comments (0)