Live data from Hacker News

A WebGL game where you deliver messages on a tiny planet

messenger.abeto.co

31–40 of 350 posts

Re: A WebGL game where you deliver messages on a tiny planet

#34
post #17

I'm curious how you build something like this. I see file types in the network tab which, as a web dev, I've never worked with before. ktx2 and drc extensions, for example. I'm also seeing some wasm and threejs. Is there an engine that outputs these things or is it more of a manual process to bring everything together?

Having done some non-trivial things with threejs, I'd guess it's basically like this: 3JS is the rendering engine (taking advantage of WebGL); game logic is in Javascript; ktx2 is an OpenGL container holding the world data and other meshes; from looking at the filenames, WASM bits are used for loading the ktx2 data (draco_decoder.wasm). ogg files are for sound. The multiple worker files imply that the app is using web workers to run the WASM performantly to load the world.

Re: A WebGL game where you deliver messages on a tiny planet

#35
post #17

I'm curious how you build something like this. I see file types in the network tab which, as a web dev, I've never worked with before. ktx2 and drc extensions, for example. I'm also seeing some wasm and threejs. Is there an engine that outputs these things or is it more of a manual process to bring everything together?

ktx2 = textures

drc = 3d shapes (I think)

ogg = audio

All of these would normally be bundled in the game installer, but are sent down piece by piece over the network in this case.

Then there's some wasm and js for the game's business logic. The browser has WebGL APIs that enable running all of this.

I'm assuming they used a library or engine like Unity, Godot or Three.js that supports WebGL as an execution target.

Re: A WebGL game where you deliver messages on a tiny planet

#36
post #4

It will be nice to know more about how this was made.

The creator's web site says nothing:

https://abeto.co/

Their Twitter has three posts:

https://xcancel.com/abeto_co

Three of the people behind it:

https://xcancel.com/vlucendo

https://xcancel.com/michaelsungaila

https://kevincolombin.bandcamp.com/

Re: A WebGL game where you deliver messages on a tiny planet

#38
post #17

I'm curious how you build something like this. I see file types in the network tab which, as a web dev, I've never worked with before. ktx2 and drc extensions, for example. I'm also seeing some wasm and threejs. Is there an engine that outputs these things or is it more of a manual process to bring everything together?

ktx is Khronos Texture a format for storing compressed textures (=image data) so that they can be uploaded to GPU memory without decompressing step inbetween

drc is Draco Compression, it's a library from Google to compress mesh data

Re: A WebGL game where you deliver messages on a tiny planet

#39
post #8

The font? The art style? The fluidity on a mobile device? It's fantastic. I wasn't able to deliver packages but I was too mesmerized to be mad about that. Beautiful game. Kudos. Edit: I did figure it out and completed all the deliveries. So many potential. It reminds me a bit of Sky by thatgamecompany Edit 2: for the author, I noticed several players approached me and tried to communicate. Please explore games like J…

It really is lovely. I had the same thought about refining interactions a bit -- I would also suggest Meadow by Might & Delight as an example of nonverbal communication done well.
Post reply on HN