---
title: "METAL ASSAULT"
url: "https://aigamehub.app/en/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: "Action"
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: "en"
content_locale: "en"
---

# METAL ASSAULT

A Metal Slug-style browser run-and-gun built with HTML5 Canvas and vanilla JavaScript, with procedural pixel art, music and sound effects. It offers an Arcade Mission with a final boss and an endless Survival mode, plus weapons, grenades, rescueable POWs, a rideable SLUG tank and destructible crates and barrels.

## Description

METAL ASSAULT is a browser run-and-gun in the style of Metal Slug, written with HTML5 Canvas and vanilla JavaScript with no dependencies, no build step and no external assets: sprites, level, sound effects and music are generated in code. It can be played by opening index.html in a modern browser or at the author's hosted link.

Controls use arrow keys or WASD to move, Down/S to crouch, Up/W to aim upward, Space/K to jump, J/Z to shoot (auto knife at close range), L/X to throw a grenade (main cannon while riding the SLUG), Enter to start/confirm, Esc or P to pause, M to toggle audio and F1 for a developer god mode.

Two modes are available: Arcade Mission, a single roughly 7600-pixel-long mission ending in a final boss, and Survival, endless waves in an arena with its own high score. Enemies include rifle soldiers, grenadiers, melee attackers, elite bazooka troops, sandbag turrets, helicopters and tanks, with a gunship mini-boss and an armored fortress final boss that enrages below 35% HP and enters a second phase with mortar barrages below 60% HP. Players gain score multipliers through close-range chain combos, rescue bound prisoners for points and weapon crates, and use a pistol (infinite), heavy machine gun, spread, rocket and flame shot plus grenades. Rideable SLUG tanks have three armor points and can crush infantry; wooden crates and explosive red barrels are destructible and chain-react. Three lives come with respawn invincibility and an end-of-mission life bonus, and high scores are stored in localStorage. A settings panel offers master, SFX and music volume sliders, mute and music toggles, and remappable commands.

The game is an unofficial fan work inspired by the Metal Slug series and features characters such as 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,
