A mobile-first web game where stick-figure heroes leap across rooftops, dodge flying enemies, and save their world from a solar anomaly.
Simple, fun, touch-based side-scrolling platformer game playable on mobile devices and deployable to Vercel.
- Intuitive touch controls for jumping between buildings
- Infinite side-scrolling level generation
- Camera that tracks player horizontally while allowing vertical jumps
- Forward-focused gameplay with optimized movement mechanics
- Dodge dynamic flying enemies
- Collect power-ups and energy orbs
- Whimsical hand-drawn art style
- Progressive difficulty as you travel further
- Framework: Next.js with TypeScript
- Game Engine: HTML5 Canvas with custom game loop
- Styling: TailwindCSS
- Package Manager: pnpm
/docs- Project documentation and specifications/public- Static assets (sprites, sounds)/src- Source code/components- React components/game- Game engine code/hooks- Custom React hooks/pages- Next.js pages/styles- Global styles/utils- Utility functions
# Clone the repository
git clone [repository-url]
# Install dependencies
pnpm install
# or if pnpm is not available
npm install
# Start the development server
pnpm dev
# or
npm run devOpen http://localhost:3000 with your browser to see the result.
- Mobile: Tap to jump, swipe left/right to move (right movement is faster for progression)
- Desktop: Space/Up Arrow to jump, Left/Right Arrows to move
- Infinite side-scrolling gameplay implemented with dynamic building generation
- Player position is optimized for forward (rightward) movement
- Enemies and powerups spawn ahead of the player as they progress
- The game is still in early development
- For best experience, test on a mobile device or emulator
- Score increases based on distance traveled
- Add more diverse enemy types with unique movement patterns
- Implement a proper game over screen
- Add sound effects and background music
- Implement a high score leaderboard
- Add more varied power-ups with unique effects
- Visual enhancements for distance milestones
This project uses hierarchical READMEs throughout the codebase:
- Always start here for high-level context
- Check directory-specific READMEs for detailed context about each area
- Reference the technical architecture in
docs/sky_jumpers_technical_architecture.md
- KISS (Keep It Simple, Stupid): Prioritize simple, robust implementations over complex ones
- Mobile-First: Design for touch screens first
- Performance: Optimize for smooth gameplay on mobile devices