Skip to content
Srv532Public

About

web build of Escape from Lunars (playable)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

🌙 ESCAPE FROM LUNARS 👟

Status Made With License

🏃 The Great Indian Street Chase 🏃

Dodge Rickshaws. Outrun the Chappal. Collect Umbrella Parts.

A 3D endless runner set in the vibrant streets of India, built on the Babylon.js game engine.

🎮 PLAY NOW


✨ What's new in v2.0 - now in 3D

  • Full 3D on a real game engine: rebuilt on Babylon.js with a chase camera, real-time shadows, glow, anti-aliasing and particle effects.
  • A living street: detailed shopfronts with striped awnings, balconies, rooftop water tanks, palm trees, lamp posts, parked scooters and people strolling along the pavement.
  • Characters with outlines: Kabir, Mother, rickshaw drivers and pedestrians are low-poly models with a bold ink outline.
  • Real 3D collisions: jump over chappals and barriers, slide under banners, change lane to dodge rickshaws and carts.
  • Mother chase meter: hits cost metres, coins and umbrella parts buy them back; reach 0m and you are caught.
  • Smart performance: no model or image files, and the render resolution drops automatically on slow devices.
  • Menu, difficulty, saved high score, swipe controls and pause all carry over from v1.1.

Still to do

  • Sound effects and music
  • Power-ups (magnet, shield, multiplier)

🌟 Features

🚀 Core Mechanics

  • 3-Lane Runner: Classic subway-surfer style movement.
  • Diverse Obstacles: Auto-Rickshaws, Umbrella Carts, Chappals, Road Barriers and Overhead Banners.
  • Power-Ups: (Coming Soon) Magnets, Shields, and Multipliers.
  • Victory Condition: Collect all 10 Umbrella Parts to win!

🛠️ Under the Hood

  • Procedural 3D art: every model is built from primitives in code (src/game/models.ts, src/game/world.ts).
  • Distance-based spawning: obstacle spacing stays fair at any speed.
  • Type Safety: 100% TypeScript for reliable code.
  • Small bundle: no image or audio files.

🤝 Collaborators Wanted!

We are looking for open-source contributors to help take this game to the next level. Beginners welcome!

We need help with:

  1. 🎵 Sound Design: SFX for jumps, slides, and collisions.
  2. 📱 Mobile Testing: Try it on more devices and report problems.
  3. 🏃 Animations: More character animation frames.
  4. 🎨 UI/UX: Polishing the menus and HUD.

How to Contribute

  1. Fork the repository.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

🕹️ Controls

Action Desktop (Keyboard) Mobile (Touch)
Move Left ← / A Swipe left
Move Right → / D Swipe right
Jump Space / ↑ / W Swipe up or tap
Slide ↓ / S Swipe down
Pause P / Esc Pause button

🛠️ Tech Stack

Babylon.js TypeScript Vite HTML5


🚀 Quick Start

# 1. Clone the repo
git clone https://github.com/Srv532/efl.git

# 2. Install dependencies
npm install

# 3. Run the dev server
npm run dev

# 4. Open in browser
# https://efl-eight.vercel.app

Made by Sravan Shaji Educational Project - Open for Community

About

web build of Escape from Lunars (playable)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages