Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🚀 Rocket Runtime - Journey to Infinity

A fully immersive, single-file space exploration game built with HTML5 Canvas. Launch from Earth and journey through 19 realistic cosmic zones, from the troposphere to beyond reality itself.

✨ Features

🎬 Cinematic Experience

  • Animated title screen with rocket logo and launch sequence
  • Dynamic background transitions through atmospheric layers
  • Smooth animations and particle effects
  • Responsive design for desktop and mobile

🚀 Realistic Physics

  • Gravity-based flight mechanics
  • Speed-based fuel consumption (up to 3x at high velocities)
  • Momentum and thrust dynamics
  • Altitude-dependent atmospheric effects

🌌 19 Cosmic Zones

Journey through scientifically accurate distances:

  • Earth Surface → Troposphere → Stratosphere → Mesosphere
  • Thermosphere → Exosphere → Low Earth Orbit → Geostationary Orbit
  • Moon → Mars → Asteroid Belt → Jupiter → Saturn
  • Uranus → Neptune → Kuiper Belt → Oort Cloud
  • Interstellar Space → Galactic Edge → Beyond Reality

⚡ Powerup System

  • Speed Boost (10x) - Orange powerup
  • Mega Thrust (25x) - Yellow powerup
  • Ultra Thrust (100x) - Green powerup
  • Hyper Thrust (1000x) - Blue powerup
  • Quantum Thrust (10000x) - Purple powerup
  • Fuel Refills - 10% fuel restoration
  • Powerups stack exponentially for massive speed boosts!

🎨 Visual Effects

  • Dynamic flame effects that change with thrust multiplier
  • Blue/purple particle trails at extreme speeds (1000x+)
  • Plasma rings and glow effects for high-power thrust
  • Speed lines and screen shake at high velocities
  • Atmospheric color transitions
  • Star density changes with altitude

🌠 Space Events

  • Meteors - Glowing space rocks with trails (100km - Moon)
  • Satellites - Orbiting spacecraft (160km - Mars)
  • Space Stations - Detailed modular stations with solar panels (160km - Mars, 20s lifetime)
  • Comets - Icy bodies with tails (deep space)
  • Aurora Borealis - Northern lights (85km - 600km)
  • Shooting Stars - Quick streaks across the sky
  • Wormholes - Swirling portals in deep space
  • Pulsars - Rotating neutron stars
  • Black Holes - Gravitational anomalies
  • Nebulae - Colorful gas clouds
  • Cosmic Dust - Particle fields

🎵 Dynamic Audio

  • 11 thrust sound variations based on speed multiplier
  • Harmonic A minor ambient music in Beyond Reality zone
  • Constant volume (0.1) for comfortable gameplay

🎮 Controls

  • Desktop: Hold SPACEBAR or MOUSE BUTTON to thrust
  • Mobile: TAP AND HOLD screen to thrust
  • Fully touch-optimized interface

🎯 Gameplay

Manage your fuel wisely as you ascend through the cosmos. Collect powerups to boost your thrust and reach incredible speeds. Watch your fuel consumption increase with velocity - strategic timing is key!

Fuel Rules:

  • No fuel powerups below 100km altitude
  • Fuel refills give 10% restoration
  • Consumption scales with velocity (1x to 3x)

Powerup Zones:

  • Below 100km: Thrust powerups only
  • 100km - 400B: All standard powerups
  • 400B - 2.9T (Asteroid Belt): Speed 10x available
  • 2.9T - 7.5T: Ultra and Hyper thrust
  • 7.5T+: Quantum thrust (40% chance)

🚀 How to Play

  1. Open index.html in any modern web browser
  2. Click "LAUNCH" on the title screen
  3. Hold thrust to ascend
  4. Collect powerups to boost your speed
  5. Manage fuel consumption strategically
  6. See how far you can go!

🛠️ Technical Details

  • Single HTML file - No dependencies, no build process
  • Pure JavaScript - Vanilla JS with Canvas API
  • File size: ~155KB
  • Classes: 21 game objects and systems
  • Lines of code: ~3,900
  • Mobile-optimized - Touch controls and responsive UI

📊 Game Statistics

Track your progress with real-time stats:

  • Current altitude with zone name
  • Velocity (m/s)
  • Fuel percentage
  • Active thrust multiplier
  • Powerup duration timers

🎨 Visual Highlights

  • Earth with detailed continents, oceans, ice caps, and clouds
  • Scrolling celestial bodies (Moon, Mars, planets)
  • Background satellites and space stations in orbital zones
  • Color-coded powerups with glow effects
  • Altitude scale with major zone markers
  • Particle systems for thrust and effects

🌟 Special Features

  • Triangle Thrust: At 1000x+ multiplier, flame becomes cyan/purple triangle with colored particles
  • Screen Effects: Shake and speed lines at extreme velocities
  • Atmospheric Glow: Earth's atmosphere visible from space
  • Random Events: Frequent space encounters throughout journey
  • Exponential Stacking: Multiple powerups multiply together for insane speeds

📱 Browser Compatibility

Works on all modern browsers:

  • Chrome/Edge
  • Firefox
  • Safari
  • Mobile browsers (iOS/Android)

🎮 Tips

  1. Save fuel in early zones - you'll need it later
  2. Stack multiple powerups for exponential speed gains
  3. Time your thrust carefully at high speeds (fuel burns faster!)
  4. Watch for meteors and space events
  5. Explore all 19 cosmic zones

Made with ❤️ and JavaScript

A single-file space odyssey from Earth to infinity and beyond!

About

Rocket Runtime - Journey to Infinity: A cinematic space exploration game with realistic physics, 19 cosmic zonesfrom Earth to Beyond Reality, stackable powerups, dynamic fuel system, meteor showers, satellites, space stations, and stunning visual effects. Features immersive audio and beautiful particle systems.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages