Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I got into gamedev and discovered really good .io games only recently, and now I really want to try to make something like that myself.

I was very surprised to learn what's possible with html5 games now, a few days ago I've learned about https://krunker.io/ - absolutely incredible that it's possible to create something like this, especially for a solo developer.

----

What I'm really curious about is the stack that would be optimal for such games. Here's what I learned so far:

- For 2D people seem to use pixi.js(very fast webgl rendering framework), or phaser(2D game framework).

- For 3D the leading frameworks are three.js(some say it's more focused on creating pretty demos, and is suboptimal for games), babylon.js(html5 3D game engine from microsoft), playcanvas(proprietary web-first game engine). Krunker was made in three.js.

- For networking people seem to use socket.io, I'm not sure what else.

- Engines like Godot and Unity can build games for bowser. People call Unity builds "bloated" and keep mentioning something called TinyUnity as a solution to this. Godot is supposed to implement WebRTC soon, which apparently should be great for multiplayer (https://godotengine.org/article/godot-webrtc-report3).

Can anybody add something to this? I'm just starting to figure things out, and any tips/advice on picking the optimal stack, or links to good learning resources would be very useful!



Check out https://bitplanets.com works even on mobile at 60fps. It's a strategy game using pixi js




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: