Better HN
topnewbestaskshowjobs
Log inSign up

hopfog

648 karma · joined Jul 1, 2013 (13y ago) · 156 submissions

Submissions

comment 3mo ago · link · parent

Thanks!

It has been amazing. I had no intention of signing with a publisher initially but when my demo blew up a lot of cool publishers started reaching out. In retrospect I'm really glad I didn't self-publish considering how much that goes into releasing a game. I was very naive, so wouldn't have done it without their support.

comment 3mo ago · link · parent

Thank you!

It's funny because I really wanted to introduce more things like that, but the very simple things I've added so far have received a bit of pushback ("I want to play a factory game, not solve puzzles!"). So now I'm reconsidering it, but I think there's a lot of room for really interesting Noita-style secrets when combined with the automation and processing tools.

Overall it's a much simpler and more controlled experience than Noita though, so don't expect anything like it.

By the way, this talk by the Noita devs has been instrumental when building my engine: https://www.youtube.com/watch?v=prXuyMCgbTc

Highly recommended!

comment 3mo ago · link · parent

Thank you! The demo is very old by now and the full game is almost a complete rewrite, but I hope people will like it.

It's my publisher (Hooded Horse) handling it so not sure about the exact process. I don't think it's easy to get a day 1 deal though so I'm very grateful for it.

comment 3mo ago · link · parent

The final stretch of getting my game ready for release next week: https://store.steampowered.com/app/2764460/Sandustry/

It's an automation game and factory builder with "falling sand" physics. Think Noita meets Factorio.

comment 5mo ago · link · parent

I used to run a small MMORPG. I only had to ban a player once but when I did they made it their life's mission to get around it and spam profanities. They went through every proxy in existence and I had to resort to banning whole IP ranges to keep them out.

comment 9mo ago · link · parent

CrossCode is a marvel in that they had to build their own runtime: https://news.ycombinator.com/item?id=41155807

I think the most famous Electron game is Vampire Suvivors, but it has since been ported to Unity.

comment 9mo ago · link · parent

What Discord server are you referring to? Would love to join.

comment 9mo ago · link · parent

Actually even higher level than that: it's all JavaScript, but it relies heavily on multithreading (see the linked Noita talk, which uses the same model). But basically:

The world is divided into chunks and the threads are processing them simultaneously in an even-odd checker pattern to avoid race conditions. When all pixels settle in a chunk it falls asleep and can be skipped altogether until an active pixel enters and wakes it up again.

comment 9mo ago · link · parent

Yes, that talk has been instrumental for my game. Highly recommended!

comment 9mo ago · link · parent

Awesome. I wasn't planning on signing with a publisher but now I'm really happy that I did.

comment 9mo ago · link · parent

As a fan of both Neal and R74n this was an unexpected collaboration!

I can highly recommend building your own falling sand simulator. It's really fun to see how such simple rules create emergent behaviors. Sand pixels try to move down, then diagonally down. Water does the same, then tries sideways.

Me messing around with it eventually resulted in a game I'm now working on full time (think Noita meets Factorio): https://store.steampowered.com/app/2764460/Sandustry/

comment 1y ago · link · parent

Beautiful blog post!

I've built something similar and have yet to find a compelling use case for it. In my mind it seemed like such an obvious idea that I thought I'd start using it instead of Wikipedia. However, in practice I seldom care about the broader or more specific topics for the thing I'm looking into. It's strange though because I'm a compulsive rabbit holer but it just doesn't trigger the same urge to explore related nodes as Wikipedia does.

With that said, this UI is much slicker so maybe that is the missing piece.

13.

Being Competent with Coding Is More Fun [video](youtube.com ↗)

1 points · by hopfog · 2y ago · discuss

comment 2y ago · link · parent

I built a multiplayer chatroom where all messages are transformed by an LLM (e.g. into pirate speak or corporate jargon):

https://impersona.chat/

I also built this incremental clicker game where you split words ad infinitum (like Infinite Craft but in reverse):

https://lantto.github.io/hypersplit/

15.

Show HN: Impersona – Chatroom where messages are run through an LLM(impersona.chat ↗)

1 points · by hopfog · 2y ago · discuss

comment 2y ago · link · parent

This seems really cool and I'm excited to play around with it once it's up and running properly again. These type of things are my favorite applications of LLMs.

A while back I made something similar in the form of an incremental "clicker" game where you split things ad infinitum: https://lantto.github.io/hypersplit/

comment 2y ago · link · parent

Thanks for reporting! May I ask what browser and system you are on?

When going underground it starts raycasting shadows, which is heavier on the GPU, but the difference shouldn't be that big.

comment 2y ago · link · parent

Working on my game Sandustry, a mining and automation sandbox with pixel-based physics (think Noita meets Factorio).

I released the first playtest of the alpha a few days ago, which you can try directly in your browser:

https://lanttogames.itch.io/sandustry

comment 2y ago · link · parent

Great article and very relevant for me since I'm building a game in JavaScript based on "falling sand" physics, which is all about simulating massive amount of particles (think Noita meets Factorio - feel free to wishlist if you think it sounds interesting).

My custom engine is built on a very similar solution using SharedArrayBuffers but there are still many things in this article that I'm eager to try, so thanks!

comment 2y ago · link · parent

The author is also working on a really impressive voxel physics engine: https://youtu.be/3259aycYcek

comment 2y ago · link · parent

Yes, this is a really good article that I can highly recommend if you're interested in these type of "falling sand" simulations.

A big difference between a classic powder toy game like in the article and Noita is that Noita needs to run a much larger simulation that extends beyond the visible canvas. So while multithreading is probably not needed in the former it's most likely needed when the game is a scrolling platformer. I posted a GDC talk by the Noita devs as a reply to a sibling comment if you're interested in their tech.

comment 2y ago · link · parent

Thank you!

If you haven't played Noita it's basically a "falling sand" or powder physics game where every pixel is simulated. You need a special cellular automata that is not your typical game physics engine, so I don't think Babylon.js would be a good choice but I may be wrong.

I've modeled my architecture after this fantastic GDC talk by the Noita devs: https://www.youtube.com/watch?v=prXuyMCgbTc ("Exploring the Tech and Design of Noita")

comment 2y ago · link · parent

I'm building a JavaScript game in my own engine, which in retrospect was a big mistake considering the game utilizes a lot of multithreading (the game is "Noita meets Factorio" so it's required for the simulation). You can only share memory between threads using a SharedArrayBuffer with raw binary data and you need special headers from the web server to even enable it. This means that I've had to write a lot of convoluted code that simply wouldn't be necessary in a non-browser environment.

Other than that I really like that I can piggyback on the browser's devtools and that I can use the DOM for the UI.

comment 2y ago · link · parent

Sorry about that! I realized too late that the game is really badly optimized once you hit higher levels and start getting chain reactions. Turning off Effects helps for some things.

I wonder how far you can push the DOM. It gets crazy with so many element updates after a while but there are probably many performance improvements that can be done.

comment 2y ago · link · parent

Try pressing the wizard. I should probably make it clearer on mobile and highlight it once you can afford your first cat.

comment 2y ago · link · parent

Getting the second resource (can't post emojis here) means you hit a quark, loop or a dead-end. I have a version where it continues splitting to up/down quarks and then fantasy matters but it quickly derails into chaos.

27.

Show HN: Hypersplit – Like Infinite Craft but in reverse(lantto.github.io ↗)

61 points · by hopfog · 2y ago · 23 comments

comment 4y ago · link · parent

I've seen many reports of this on Pixel phones but I experienced something very similar on another Android phone (it was either Moto G5 or OnePlus One): https://news.ycombinator.com/item?id=29494820

comment 4y ago · link · parent

I love Andreas Kling's "Browser hacking" series on YouTube where he fixes various issues Ladybird has with specific websites. E.g:

Fixing a CSS layout bug found by chessboard.js - https://www.youtube.com/watch?v=bMpLiEgKC_w

Let's make "Cookie Clicker" playable in Ladybird! - https://www.youtube.com/watch?v=W4SxKWwFhA0

He's very good at articulating his thought progress and it's always really interesting to see how he reduces the bug down into a minimal reproducible example.

123456