Live data from Hacker News

Show HN: Video Game in a Font

coderelay.io

31–40 of 79 posts

Re: Show HN: Video Game in a Font

#31
post #8

Earlier quoted context omitted.

Maybe my in game hints were too subtle. You can beat it, but spoilers You have to keep going past the ending (GameOver) keep typing. You'll revive and beat the boss.

I beat it but at the end it said that I got the "bad ending". Is there really a good ending? Amazing project BTW, had a lot of fun!

Thanks! There are 3 endings in fact. Checkout the secrets guide [0]

0: https://github.com/mmulet/code-relay/blob/main/markdown/Secr...

Re: Show HN: Video Game in a Font

#32
post #18

Earlier quoted context omitted.

After you ybfr gb gur svany obff, lbh'er fhccbfrq gb xrrc glcvat naq gura lbh "jva" naq trg n uvag sbe fbzrguvat qvssrerag gb qb ng gur ortvaavat. (However, I haven't figured out exactly what to do after that!)

I got the bad ending. But still trying to find out the place for abaa if thats actually what the key is.

You have the right key. Check out the secrets guide [0] if you get stuck.

0: https://github.com/mmulet/code-relay/blob/main/markdown/Secr...

Re: Show HN: Video Game in a Font

#33
post #12

this is a great abuse of GSUB tables just van rossum’s rubik’s cube is another recent example of font layout gone too far: https://twitter.com/justvanrossum/status/1340960087750402048...

That's sweet! Is it open source? I would love to take it apart and see what makes it tick!

Re: Show HN: Video Game in a Font

#34
post #29

I have a question regarding how you render "gray" pixels. You said that you use rectangles, because "dithered" pattern had low performance. But the rectangles cause "scanlines", which I presume are because of imprecise mapping to physical pixels. Have you tried other shapes? Dividing the square by the diagonal should not have this problem, and you're even drawing a simpler shape (triangle vs rectangle).

I have tried other shapes at the pixel level, but not at the sprite level. Example: I draw from the top left pixel, draw the whole row of pixels (use the run length encoding), Then I draw the next row and so on. I haven't tried drawing the top left pixel and then drawing the to the bottom right corner, then moving up/down a diagonal row. You're right that might make it look a lot better, I will have to try it later.…

I was specifically referring to the "sub-pixel" level: https://github.com/mmulet/code-relay/blob/main/markdown/HowI...

Re: Show HN: Video Game in a Font

#35
post #30
post #26

Earlier quoted context omitted.

They could use the CPAL and COLR tables to turn each glyph / frame of the game into multiple RGBA layers.

Are CPAL and COLOR supported by chrome?

Chrome definitely supports them on Windows at least, I don't know if it supports them on other operating systems. Here's a test page for the various kinds of color font tables: https://yoksel.github.io/color-fonts-demo/

Re: Show HN: Video Game in a Font

#37
post #20

This is crazy. I can feel the immense possibility from this. I especially like the "feature" of this game, where you can save, load, and even share the game progress just by copying the plain text.

Me too! One day I want to make a multiple game where you have to copy/paste text between two different fonts to solve puzzles!

Re: Show HN: Video Game in a Font

#38
post #28
post #5

Amazing! I absolutely love projects like this, where you put a game in somewhere it clearly wasn't meant to be. I made a game you play in your file browser[0] before, and I have another idea planned using windows error dialogs. 0: https://wheybags.com/dungeons_and_directories/

You're following someone's footsteps and don't even know it. This is years beyond the statute of limitations so I can finally talk about it - in my youth I broke into one of LANL's servers for kicks; some Lotus/IBM Domino machine, saw nothing of interest except for a project directory which even the admin didn't have access to... I didn't want to escalate privileges any further because it'd require permanent changes…

Ha, interesting! Would you be interested in sharing more details? (How you got in, for exwmple)

Re: Show HN: Video Game in a Font

#39
Absolutely awesome! I'm impressed by the level of polish, this is waay beyond the usual POCs you see for hacks like this.

For me, the tl;dr from the technical explanation was this:

> Now, everything in fontemon is baked

Just reading that made me laugh out loud. It's so simple and so ridiculous, i love it.

I recommend reading the entire blog post btw, it's very thoroughly explained and it assumes no knowledge of either fonts or gamedev.

Re: Show HN: Video Game in a Font

#40

Absolutely awesome! I'm impressed by the level of polish, this is waay beyond the usual POCs you see for hacks like this. For me, the tl;dr from the technical explanation was this: > Now, everything in fontemon is baked Just reading that made me laugh out loud. It's so simple and so ridiculous, i love it. I recommend reading the entire blog post btw, it's very thoroughly explained and it assumes no knowledge of eithe…

Thanks! For better or worse, I'm a perfectionist with deadlines (to steal django's slogan) . I tried to make everything as accessible as possible, because I know 12 year old me would want to make his own font-game. I spent a lot of time, adding guard rails to Blender so you can't get lost (I made it impossible to change the camera, to dismiss the side bar menu, I also made it so you never have to go into a sub-menu. Everything you need is available in one central location.)
Post reply on HN