CITYSMASHV0.1.0 · BY CHRIS COOLEY
▶ Play

A DOM VIRUS GAME · BY CHRIS COOLEY

CitySmash.
Climb it. Smash it. Eat the snacks.

You are a giant cyber ape. Seven tabletop cities, day into night. Hang on the walls, punch out the windows, bring the buildings down floor by floor. Then do it again with friends.

01 HOW TO PLAY

Grip with one arm. Smash with the other.

  1. 01

    JUMP AT A WALL

    Walk the street and jump at a building’s side: the jump grabs it. He climbs the side wall, set back from the front, so every window in reach stays in view. Your inside arm grips; your outside arm reaches round the corner to smash.

  2. 02

    TAP TO SMASH

    Tap or click the window you want: in reach, it lights green and he punches it. Long arms: three windows in on your floor, two on the floors above and below. Three hits a window: a chip, a crack, a hole. Out of reach it flashes red: TOO FAR. Quick, accurate taps chain a combo (up to ×1.6): he punches faster; a miss or a pause drops it.

  3. 03

    TAP TO GRAB

    He grabs with the hand on the side he faces: in front of him, above and below it, never behind him or under his own body. Tap someone at a window (it lights teal at once): his arm reaches to them, lifts them to his mouth, NOM! and the points pop up. Tap someone behind him on the street and he turns round first, then grabs. On a wall: if he can punch a window he can grab what’s in it, plus the windows two up and down and the air over his head and under his feet. Hover (or tap) to see his grab reach. Out of reach: TOO FAR, and an arrow says where to go. Live boxes and neon signs bite: pick the windows round them.

  4. 04

    LEAP, LET GO

    On a wall, jump once and he leaps across the gap to the next building and hangs on its near wall; nothing in reach and he drops to the street. Jump twice quickly and he lets go: straight down to the street.

  5. 05

    KEYS ONLY

    No mouse needed: WASD or the arrows move and climb, Space jumps, J punches, K grabs. On a wall an aim sits on one window in reach: Q and E (or Tab) move it, J smashes it, K eats whoever is at it. Mix in the mouse whenever you like: a click moves the aim too.

  6. 06

    FIGHT THEM

    Tap a rival monster in reach and he throws a POWER PUNCH: a long wind-up, then BOOM, it is knocked back, and off its wall if it hangs on one. Jump onto one and you POUNCE: it is stunned (stars) and your next power punch is a combo for extra. Tanks, soldiers and trucks on the street are tap targets too: tap a tank in front of you (even right at your feet) and he smashes down on it, two hits (three for armoured ones) and KRUNCH; or jump on it. Rivals fight back with the same moves: watch their wind-up and crouch, and step or jump clear. A small bar over a rival shows its health; knock one out and it shrinks and runs off (beat it in one player and it is yours to play).

  7. 07

    CITY AFTER CITY

    Enough holes and a building shakes, then pancakes floor by floor. Flatten them all and the next city opens, later in the day and angrier: more soldiers, armour on the tanks, faster helicopters.

PUNCH: 7 windows on the building he holds
GRAB on a wall: the 7 punch windows + 6 more from his free hand, never behind him
GRAB on the street: 15 spaces in front, from the street to over his head (by his head too)
  • the ape on the building's edge
  • building
  • open air
  • punch: his own building only
  • grab: people, soldiers, food
  • grab, and swat helicopters (by his hand)

Phone: the big fist punches, the hand grabs, the arrow jumps; on a wall flick the stick to move the target box a window, hold it to climb. Or tap what you want smashed or eaten. Computer, keys only or keys and the mouse: WASD or the arrows walk and climb, Space jumps (on a wall: a tap leaps to the next building, a double tap lets go), J punches the aimed window, K grabs, Q/E or Tab move the aim, or click what to smash or grab; M mutes. A gamepad: A jump, X punch, B grab, LB/RB aim. Each gamepad is a player of its own: press any button on the start menu to join.

Try it in practice Nothing hurts there: no army, no health lost, buildings come back. A card ticks off each move as you do it (walk, grab a wall, climb, all seven punches, a grab, a swat, a punch past a live window, a power punch and a pounce on a sparring dummy that never fights back).

02 THE CITIES

Seven cities, each with a trick.

  1. 1 · Day · THE HARBOUR

    PORT LUMEN

    A sleepy harbour town of pastel warehouses and a lighthouse on the quay.

    A gunboat patrols the water in front of the street and shells you from it. Punch it from the kerb when it comes close.

    Landmark: THE LIGHTHOUSE

  2. 2 · Day · THE RAIL YARD

    COILWORTH

    Brick depots and a clock tower over the rail yard, where the freight never stops.

    A freight train crosses the street: the bells ring, then it bowls over anything in the way. Punch the engine to derail it.

    Landmark: THE CLOCK TOWER

  3. 3 · Dusk · THE STADIUM

    BRIGHTFIELD

    A sports town round its bowl: floodlights on every roof, a crowd in every window.

    Floodlights on every roof are live. The crowd is huge: more snacks at every window.

    Landmark: THE BOWL

  4. 4 · Dusk · THE POWER PLANT

    VOLTMOOR

    Grey blocks in the hum of the power plant, its cooling tower steaming over all of it.

    Every few seconds the grid surges: every live part arcs to the wall beside it. Get off the wall when the lights flicker.

    Landmark: THE COOLING TOWER

  5. 5 · Night · THE BRIDGE

    TWIN SPAN

    A river town where the main street is the bridge deck, pylons up either end.

    Trucks thunder across the deck both ways and knock you flat. Land on one, or punch it, to stop it.

    Landmark: THE NORTH PYLON

  6. 6 · Night · THE NEON STRIP

    GLOWGATE

    The neon strip: arcades, diners and signs that never switch off.

    Signs on every edge and every roof, all of them live. Pick your windows.

    Landmark: THE MEGA ARCADE

  7. 7 · Night · THE SKYPORT

    SKYREACH

    Glass towers round the skyport spire: the army's last stand.

    Two helicopters up at once, faster and angrier. Swat them from the rooftops.

    Landmark: THE SKYPORT SPIRE

03 THE GARAGE

Dress your ape. Earn the rest.

  • Fur and pattern

    Twelve fur colours; plain, stripes, patches, spots or a glowing circuit.

  • Face

    A heavy brow, a crest, tusks, horns or a shaggy mane. Your ape's name comes from its fur and its face.

  • Gear

    A cyber arm on the smashing arm, a visor, a chest plate, tail spikes, shoulder pads, a back reactor, knuckle spikes, a jaw guard. Eight neon trims.

  • Hair

    A mohawk, spikes or a swept crest, in any of the neon colours.

  • Unlocks and saves

    Every city you flatten unlocks new parts. One profile on this device, plus a save code to carry it to another.

04 THE MONSTERS

One ape. Three rivals. Beat them to play them.

  • Yours to dress

    THE APE

    A giant cyber ape: fur, pattern, face, a cyber arm and more gear, a neon trim of your pick.

  • A crystal crab-beast

    SHARDCLAW

    A low shell of glowing crystals, six legs and two big claws. It steals your snacks.

  • A tentacle blob

    GLOOPMAW

    A dome of goo on tentacles, one eye, a wide mouth. It punches you off walls.

  • A storm moth

    VOLTWING

    Big crackling wings, feathered antennae, a bad attitude. Out from the fifth city on.

Play as the ape from the start. Beat a rival in a city, playing alone, and it is yours to play too, in a colour and trim of your pick. The army fights back: soldiers on the street, snipers in the windows, helicopters, tanks, a gunboat. Out of health, a monster shrinks to a tiny figure and runs off the table.

05 PLAY TOGETHER

Up to four, online. Gamepads for one screen.

One person a device: play with friends online, each on their own phone or computer. On one screen, extra players come with gamepads: each connected pad gets a slot on the start menu, a press joins it. Online: the host opens a room and sends the link; up to three friends drop in on their own phones or computers. The host is the ape, the others take the rivals. A shared score, and one score each. You can still punch each other off the walls.

Online play needs an invite code.

Same run on every screen

Only the buttons travel. Every screen runs the same city frame for frame, and your own monster answers at once: if a friend's input arrives late, the game quietly rewinds a few frames and runs them again.

06 BUILT ON FIZLET

No libraries. 96.9 KB.

CitySmash is built on Fizlet, the micro animation and game engine for the DOM, and nothing else: no framework, no 3D library, no images in the game. The cities, the giants and the army are drawn by Fizlet's bricks on one canvas.

The whole game, its Fizlet bricks and its Board UI styles: 99,217 bytes gzip (measured at build, Fizlet 0.25.0).

  • @fzlt/core/kernel
  • @fzlt/core/diorama
  • @fzlt/core/fx
  • @fzlt/core/input
  • @fzlt/core/pad
  • @fzlt/core/sound
  • @fzlt/core/touch
  • @fzlt/core/presence
  • @fzlt/core/ui

BY CHRIS COOLEY

It started as a tiny daily.

CitySmash grew out of a piece in Fizlet's Daily: one ape, one city block. It kept the climb and the punch, and got seven cities, a garage and friends.

coded.design · Source on GitHub

▶ Play CitySmash