Skip to content

Oldcircle/Alpine-Escape

Repository files navigation

Alpine Escape / 雪岭大冒险 🏔️

Alpine Escape is an endless downhill ski runner game inspired by the classic Ski Safari. Outrun the avalanche, perform backflips, and hitch rides on local wildlife to survive as long as possible!

Alpine Escape (雪岭大冒险) 是一款致敬经典游戏《滑雪大冒险》的无尽滑雪跑酷游戏。你需要不断逃离身后的雪崩,通过后空翻加速,并驾驭各种极地生物来尽可能生存更久!


🎮 Gameplay Features / 游戏特色

⛷️ Physics-Based Skiing / 物理滑雪体验

  • Smooth Physics: Realistic gravity and momentum. Slope angles affect your speed.
  • Backflips: Hold jump while in the air to perform backflips. Landing a flip gives you a massive speed boost!
  • 流通过程: 真实的重力和动量模拟。坡度会直接影响你的速度。
  • 后空翻: 在空中按住跳跃键进行后空翻。成功落地将获得巨大的速度爆发!

🐧 Rideable Animals & Vehicles / 骑乘系统

Catch up to animals on the slopes to ride them. Each mount acts as a "shield" (absorbing one crash) and has unique properties:

  • Penguin: Slides on its belly. Provides a speed boost.
  • Yeti: Runs on all fours. Tough and fast.
  • Snowmobile: High-speed mechanical vehicle.
  • Eagle: Flies high in the sky, avoiding ground obstacles for a short time.

在坡道上追上动物即可骑乘。每个坐骑都可以充当“护盾”(抵挡一次撞击)并拥有独特属性:

  • 企鹅: 肚皮滑行,提供速度加成。
  • 雪人: 四足狂奔,强壮且快速。
  • 滑雪车: 高速机械载具。
  • 老鹰: 在高空飞行,短时间内完全避开地面障碍。

🏔️ Dynamic Environment / 动态环境

  • Avalanche: A massive wall of snow chases you. If you crash too often, it will catch you.
  • Procedural Terrain: The mountain is generated endlessly as you ski.
  • Obstacles: Watch out for rocks! They will trip you up and slow you down.
  • 雪崩: 巨大的雪墙在身后追逐。如果你频繁失误,它就会吞没你。
  • 程序化地形: 雪山地形随你的滑行无限生成。
  • 障碍物: 小心岩石!撞到它们会让你摔倒减速。

🕹️ Controls / 操作说明

Action / 动作 Keyboard / 键盘 Touch / 触摸
Jump / 跳跃 Space or Arrow Up Tap Screen / 点击屏幕
Backflip / 后空翻 Hold Space in air Hold Screen in air / 空中长按屏幕
Restart / 重玩 Click Button Tap Button

🛠️ Tech Stack / 技术栈

  • Core: React 19, TypeScript
  • Rendering: HTML5 Canvas API (Custom rendering engine)
  • Styling: Tailwind CSS
  • Bundling: Native ES Modules (No build step required for current setup)

🚀 How to Run / 如何运行

  1. Ensure you have node and npm installed.
  2. Install dependencies (if using a local bundler like Vite/CRA):
    npm install react react-dom lucide-react @google/genai
  3. Run the application.

Note: This project is currently structured to run directly in browser-based coding environments or via simple ES module imports.

  1. 确保已安装 nodenpm
  2. 安装依赖(如果使用 Vite 或 CRA 等本地打包工具):
    npm install react react-dom lucide-react @google/genai
  3. 运行应用程序。

注意:本项目目前的结构设计为可在基于浏览器的编码环境或通过简单的 ES 模块导入直接运行。

About

滑雪大冒险

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors