Spel · SidoprojektGames · Side projects

Spel jag har byggtGames I have built

Spel som jag har byggt i TypeScript. De spelas direkt i webbläsaren, utan installation.

Games I have built in TypeScript. They run directly in the browser, no installation needed.

Industrial Shredder

Fysikspel · Fungerar på mobil

Physics game · Works on mobile

Industrial Shredder är ett fysikbaserat kvarnspel i webbläsaren. Släpp ner allt från gummikycklingar till stålbalkar i en industrikvarn och se dem tryckas ihop, böjas och smälla. Varje objekt går sönder på sitt eget sätt. Spelet har hitstop, kamerastötar, en motor som kämpar under last och uppgraderingar av kvarnen.

Industrial Shredder is a physics-based shredder game for the browser. Drop anything from rubber chickens to steel beams into an industrial shredder and watch them get crushed, bent and snapped. Every object breaks in its own way. The game has hitstop, camera shake, a motor that struggles under load, and shredder upgrades.

Teknik

Tech

  • · TypeScript och Vite
  • · TypeScript and Vite
  • · Fysik med Matter.js
  • · Physics with Matter.js
  • · Allt ljud genererat i kod med Web Audio
  • · All sound generated in code with Web Audio

Fungerar nu även på mobil.

Now also works on mobile.

Spela i webbläsarenPlay in the browser

Fire City

Brandsimulator · Stöd för touch

Fire simulator · Touch supported

Fire City är en 2.5D-brandsimulator i webbläsaren som jag byggt från grunden i TypeScript och Canvas – utan spelmotor. Elden sprids cell för cell, klättrar våning för våning och får tak att rasa, medan brandkår, evakuering och trafik reagerar i realtid.

Fire City is a 2.5D fire simulation sandbox for the browser, built from scratch in TypeScript and Canvas – no game engine. Fire spreads cell by cell, climbs buildings floor by floor and brings roofs down while fire crews, evacuations and traffic respond in real time.

Teknik

Tech

  • · TypeScript och Canvas, utan spelmotor
  • · TypeScript and Canvas, no game engine
  • · Eld som sprids cell för cell och klättrar våning för våning
  • · Fire that spreads cell by cell and climbs floor by floor
  • · Brandkår, evakuering och trafik som reagerar i realtid
  • · Fire crews, evacuations and traffic responding in real time

Spelas med mus, tangentbord och touch.

Played with mouse, keyboard and touch.

Spela i webbläsarenPlay in the browser
Huskvarna Landlord: isometrisk karta över Huskvarna med hus, vägar och HuskvarnaånHuskvarna Landlord: isometric map of Huskvarna with buildings, roads and the river

Huskvarna Landlord

Hyresvärdsspel · Fungerar på mobil

Landlord game · Works on mobile

Köp, förvalta och hyr ut hus i ett kartbaserat Huskvarna byggt från OpenStreetMap – med hyresärenden, personal, lån och en vinter som faktiskt snöar.

Buy, manage and rent out buildings on a map of Huskvarna built from OpenStreetMap – tenant issues, staff, loans and a winter that actually snows.

Teknik

Tech

  • · Vite + TypeScript
  • · Vite + TypeScript
  • · Canvas 2D utan ramverk
  • · Canvas 2D without a framework
  • · 402 förrenderade WebP-kartbitar
  • · 402 pre-rendered WebP map tiles
  • · Vintereffekt i en OffscreenCanvas Web Worker
  • · Winter effect in an OffscreenCanvas Web Worker
  • · Mobil-layout
  • · Mobile layout

Stort spel, laddar ca 80 MB. Fungerar även på mobil.

Large game, loads about 80 MB. Also works on mobile.

Spela i webbläsarenPlay in the browser