Comment

Comment by beepy

The heavier bits: about 800k of that is the .webp animations showing how to play. The actual game has a bunch of image resources — including font sprites for the timer and the tiles — that are probably a few hundred k as well. The regular site stuff is sveltekit.

The game script is around 300k. I used Phaser [0] — I originally wrote the game in Swift for iOS and utilized one of that platform’s gaming frameworks(SpriteKit). I rewrote it in TypeScript for the web and wanted a similar framework to ease the porting.

[0] https://phaser.io

parent beepy 4 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton