News for hackers. Stuff that matters.
Re:Ask HN: How to build flash game in 2022? by armchairhacker on Saturday February 05, 2022 @09:55PM (#30228876)
honestly as long as the logic graphics aren’t particularly complex you’ll probably be best using TypeScript. Just make a small site in something like vite.

See https://github.com/collections/javascript-game-engines for a list of game engines. ive used pixi.js and it’s a very good graphics library although it doesn’t have other “game-engine” features like physics (you could use matter.js which is a standalone physics library). Others recommend phaser which is a real game engine although it looks kind of dated.

For accounts, multiplayer, iap, etc. you’ll need a server. This can also be done in TypeScript or choose any other server framework. There are JavaScript libraries like Koa for web-socket communication.

There are no comments on this comment yet.