Live data from Hacker News

Show HN: Video Game in a Font

coderelay.io

41–50 of 79 posts

Re: Show HN: Video Game in a Font

#41
post #35
post #30

Earlier quoted context omitted.

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/

Sweet! I might make a FontKid Color!

Re: Show HN: Video Game in a Font

#43
post #29

Earlier quoted context omitted.

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...

Oh yeah. In that case, I did try that, but for whatever reason it didn't perform well or I wasn't happy with the look. (It was probably performance). You can play around with the sprite rendering in the code. This [0] is the line for each individual pixel. And this[1] is where I generate the repeated pixel subroutines.

0: https://github.com/mmulet/font-game-engine/blob/e92a97ecbf8c...

1: https://github.com/mmulet/font-game-engine/blob/e92a97ecbf8c...

Re: Show HN: Video Game in a Font

#44
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…

Sounds like the plot to WarGames! Be glad you didn't cause WW3!

Re: Show HN: Video Game in a Font

#45
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.

I feel the immense possibility of security vulnerabilities from this, but I assume it’s just a font, so, I suppose anything that looks like scripting can’t access any outer API.

Re: Show HN: Video Game in a Font

#46
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/

Adding to the theme of games where there shouldn't be: I had a bit of fun adding the Chrome dino game to DevTools a couple years ago: https://twitter.com/cjamcl/status/1143725364553764864?s=20

Re: Show HN: Video Game in a Font

#47
post #32

Earlier quoted context omitted.

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...

~~I've tried a bunch of different things but I can't figure out where to enter the code. I looked at the hint too but it didn't help in my case.~~

Edit: Figured it out

Re: Show HN: Video Game in a Font

#48
post #6
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/

A kindred spirit! Dungeons and directories is great! I've only played the beginning so far[Edit I've beat the game now and joined the secret club!], but I really laughed at the "You walk through the southern door, and straight into the chasm you saw earlier..." Picture : "you walking straight into the chasm with a smile on your face". I ran into the same problems you did, any variable leads to an exponentially large…

I had a similar "variables" problem when designing a choose-your-own-adventure book with my kids. I wanted your character to be able to reach the same pages but have state -- e.g. have a key or not have a key. I didn't want to have to duplicate pages with different state (which I kind of remember from old CYOA books -- there's be pages with almost the same thing, but now slightly different because you entered the room with a sword or whatever).

In the end, because it's a book and not a computer game, we could just ask the user: "If you have a key, turn to page 43..." and it just depends on the user being honest (or as honest as any reader of a CYOA book is, with nine fingers stuck between pages).

I assume there were similar books in the past that used the same mechanic -- maybe the Fighting Fantasy books? I forget.

Re: Show HN: Video Game in a Font

#49
Perhaps the most interesting consequence of this game design is that you can edit the past, changing a single decision while leaving your other choices in place.

For example, it's possible to go back to the beginning of the input box and edit your character selection while keeping the rest of your gameplay in place.

Seems like this could have a lot of potential as a puzzle game mechanic.

Post reply on HN