Or in VS Code, open the Extensions view → search for "Code Sensei" → Install.
Open the Code Sensei view from the Activity Bar.
Features
Character reacts to coding activity:
Idle → Walks while you type
Paused typing → Quick hop/jump animation
Switching away from VS Code → Character goes idle; on return, playful reminders
One-hour session timer that starts on first activity
Minute marks trigger a celebratory “item use” animation and SFX
Background music with smart ducking during sound effects
Gentle “away too long” nudge or dramatic “death + restart” if you’ve been gone for a bit
Infinite-scrolling parallax forest scene with pixel-art crispness
Configuration
Audio behavior is handled automatically:
Background music volume: lowered during SFX, restored afterward
Audio unlocks on your first click if autoplay is blocked
How It Works
The webview renders layered PNGs as an infinitely scrolling scene with per-layer parallax and alternating mirror tiling.
A sprite-sheet–driven character animates (idle, walk, jump/fall, item use, multi-step death).
Editor activity events drive state:
Typing starts walking; pauses trigger a hop.
Window focus loss marks you as away; returning within a minute triggers a playful “attack,” longer away triggers the death sequence and a restart prompt.
A session timer is visible only after you click Start; it pauses when the tab loses visibility.
The ground line is auto-detected from the front layer, with manual calibration controls and persistence via webview state.
Usage
Open the Code Sensei view and click START.
Start coding. The character will walk as you type and the timer will begin.
If you step away, come back to a playful nudge—or a dramatic pixel demise if you took too long. You can restart the session anytime via the on-screen button.
Troubleshooting
No background visible: ensure assets are present under assets/forest/Free Pixel Art Forest/PNG/Background layers/.
Audio not playing on start: click the START button to unlock audio and re-attempt autoplay.