---
title: "METAL ASSAULT"
url: "https://aigamehub.app/zh-tw/games/metal-assault-game-claude-fable-40e56b"
source: "https://github.com/AndreaZero/metal-assault-game-claude-fable"
source_type: "github"
play_url: "https://m-assault-fable.netlify.app/"
platform: "desktop"
login_required: false
pricing: "free"
origin: "fanwork"
ai_tools: ["Claude"]
game_languages: ["it"]
notice: "Unofficial fan work"
author: "AndreaZero"
author_handle: "AndreaZero"
category: "動作"
categories: ["action", "casual", "fanwork"]
tags: ["browser-game", "html5-canvas", "metal-slug-style", "pixel-art", "run-and-gun", "single-player"]
added: "2026-10-19T03:02:47.896Z"
updated: "2026-10-19T03:02:47.896Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# METAL ASSAULT

一款以 HTML5 Canvas 和純 JavaScript 打造的《Metal Slug》風格瀏覽器跑射遊戲，具有程式化生成的像素藝術、音樂和音效。它提供帶有最終頭目的街機任務和無盡的生存模式，以及武器、手榴彈、可救援的戰俘、可乘坐的 SLUG 坦克和可破壞的箱子和桶子。

## Description

METAL ASSAULT 是一款《Metal Slug》風格的瀏覽器跑射遊戲，以 HTML5 Canvas 和純 JavaScript 撰寫，沒有依賴項、沒有建置步驟且沒有外部資源：精靈圖、關卡、音效和音樂都在程式碼中生成。只要在現代瀏覽器中開啟 index.html 或使用作者的託管連結即可遊玩。

操作使用方向鍵或 WASD 移動，下/S 蹲下，上/W 向上瞄準，空白鍵/K 跳躍，J/Z 射擊（近距離自動小刀），L/X 投擲手榴彈（乘坐 SLUG 時為主炮），Enter 開始/確認，Esc 或 P 暫停，M 切換音訊，F1 開發者上帝模式。

有兩種模式：街機任務，單一約 7600 像素長的任務，以最終頭目結束；生存模式，在競技場中無盡的波次，有自己的高分。敵人有步槍兵、擲彈兵、近戰攻擊者、菁英火箭筒部隊、沙袋砲塔、直升機和坦克，還有武裝直升機小頭目和裝甲要塞最終頭目，後者在生命值低於 35% 時狂暴，並在生命值低於 60% 時進入第二階段，進行迫擊砲彈幕。玩家透過近距離連鎖連擊獲得得分倍數，營救被綁架的囚犯以獲得積分和武器箱，並使用手槍（無限）、重型機槍、散射、火箭和火焰射擊以及手榴彈。可乘坐的 SLUG 坦克有三個裝甲點，可以碾壓步兵；木箱和爆炸性紅色桶子可破壞並連鎖反應。三條命附帶重生無敵和任務結束生命獎勵，高分儲存在 localStorage 中。設定面板提供主音量、音效和音樂音量滑桿、靜音和音樂切換以及可重新映射的命令。

這款遊戲是受《Metal Slug》系列啟發的非官方粉絲作品，並包含 General Morden 等角色。

## Original post

A Metal Slug-style clone built entirely by Claude Fable in HTML5 Canvas + vanilla JavaScript. No dependencies, no build steps, no external assets: pixel-art sprites, levels, sound effects, and music are procedurally generated. Play here: https://m-assault-fable.netlify.app

Topics: browser, browser-game, canvas, claude, fable, game, html5, vibe, vibe-coding

# METAL ASSAULT — browser run & gun A *Metal Slug*-style clone built entirely with **HTML5 Canvas + vanilla JavaScript**. No dependencies, no build step, no external assets: pixel-art sprites, level, sound effects, and music are all procedurally generated in code. ## How to run Open `index.html` in any modern browser (double-click is enough). It also works via `file://`, no server required. ## Controls | Key | Action | | ----------------- | ----------------------------------------------- | | Arrow keys / WASD | Move | | Down / S | Crouch (Down + Jump on platforms: drop through) | | Up / W | Aim upward | | Space / K | Jump | | J / Z | Shoot (auto knife at close range) | | L / X | Throw grenade (cannon while riding the SLUG) | | Enter | Start / confirm | | Esc / P | Pause (Esc also closes Settings) | | M | Toggle audio | | F1 | Toggle God Mode (dev) | ## Gameplay * **Two modes**: *Arcade Mission* (single mission ~7600px with final boss) and *Survival* (endless waves in an arena, separate high score). Mode selected from menu with Up/Down. * **Enemies**: rifle soldiers, grenadiers, melee attackers, elite bazooka troops, sandbag turrets, helicopters, and tanks. * **Mini-boss**: Gunship helicopter with HP bar, bullet spreads, and bombing runs. * **Final boss**: General Morden’s armored fortress with arc cannon, machine gun, and infantry reinforcements. Enrages below 35% HP. * **Chain combo**: close-range kills increase score multiplier (up to x3). Chain breaks if hit. * **POWs**: rescue bound prisoners for points and weapon crates. * **Weapons**: Pistol (infinite), Heavy Machine Gun (H), Spread (S), Rocket (R), Flame Shot (F), plus grenade stock (G). * **Rideable SLUG tank**: hop in by touching it, drive with 3 armor points, turret machine gun (fire key, aim up supported), main cannon (grenade key), hop with Jump, eject with Down + Jump. It crushes infantry, blocks light bullets, and explodes ejecting the pilot when armor runs out. Parked along the mission and awarded every 6 survival waves. * **Destructibles**: wooden crates (loot: weapons, grenades, points) and red explosive barrels that chain-react and damage everyone — bait enemies near them. * **Boss phase 2**: below 60% HP the fortress loses its armor plating and starts telegraphed mortar rains (watch the blinking ground markers). * **Lives**: 3 lives with respawn and temporary invincibility. Bonus score for remaining lives at end of mission. High scores saved in `localStorage`. * **Game feel**: hit-stop on impact, recoil, shell casings, impact sparks, dust, screen shake, jump input buffering + coyote time, and adaptive music intensity that increases during bosses and late waves. ## Settings panel Reach it from the main menu (third entry) or from the in-game pause menu (Esc → SETTINGS). It includes: * **Audio** — Master / SFX / Music sliders (hold Left/Right), Mute and Music On toggles. Volumes are persisted in `localStorage` (`ma_audio`). * **Commands** — every gameplay action (Move, Jump, Fire,
