Skip to content

Independently built browser game

Menial: a grimdark pixel art shooter built from scratch for the browser

Menial gameplay: Dr. Elias Venn stands by sandbags and field tents in the rain, lightning behind him and a dark structure hanging in the sky
Chapter I, Saint Orra, the trench line, playing as Dr. Elias Venn.

Menial is a grimdark 2D action shooter for desktop browsers, set in July 1919: the Great War has ended, the sky has opened, and humanity is still fighting itself. Story, systems, art, rendering and sound are all built from scratch, with no game engine and no libraries.

Product
Menial, a 2D pixel art action shooter for desktop browsers
Maker
Abhishek Paatni, working alone
Status
Chapter I, Peace Without Bread, is playable in desktop browsers with a keyboard and mouse: an opening cinematic, champion select, three faction prologues and the chapter itself
Built with
About 6,400 lines of plain JavaScript and WebGL2 with no libraries, sprites made by his own Python tools, and every sound synthesized in the browser with Web Audio
Platforms
Desktop Chrome, Edge, Firefox and Safari with WebGL2

The game

You choose one of three champions: Anja Rook of the Order, Dr. Elias Venn of the Directorate or Kade Vey of the Compact. Each faction arms its champion in its own house, teaches the weapons in a prologue and sends them to the front its own way.

Chapter I, Peace Without Bread, puts the three human factions on one front with the Veyr, and builds through a duel with a rival champion and a Warden to the Mouth in the Mud, a creature that hunts by sound.

Design decisions

  • The rival champion is played by an AI that drives the same controller as the player, so it moves, aims and reloads under the same rules.
  • Crouching behind sandbags means only plunging fire can reach you, and crouch walking is silent, which matters against a boss that hunts by sound.
  • A reload takes at most a second and a weapon swap takes 40% of a reload. The field map does not pause the game.

How it is built

  • The game renders at 640 by 360 in WebGL2, with multiple render targets for lighting, puddle reflections, bloom, shockwave distortion and film grading.
  • Characters are hand drawn pixel sprites made by his own Python tools: body parts drawn as pixel spans, legs posed from CMU motion capture clips. The arms and weapon are a separate sprite that turns at the shoulder to follow the aim.
  • Environments are painted in code when the game loads, and every sound, music state and ambience is synthesized with Web Audio.

Where it stands

Chapter I is playable now in a desktop browser, free, with no install and no sign up. It needs a keyboard and mouse.

Go Back to Home