Live data from Hacker News

Setris – Tetris with Sand Physics

mslivo.itch.io

131–140 of 191 posts

Re: Setris – Tetris with Sand Physics

#131
post #90

Why doesn't this run in the browser? :( It's 2023 - and no offence intended - but I would rather not download a binary blob from a random Internet page to execute it outside the browser's sandbox. Especially since it looks this game could easily be programmed with WASM and/or vanilla JavaScript.

Because the author owes you nothing.

Try saying that to people who trashed GNOME for more than a decade because of the file picker and when thumbnails were finally implemented they said things like "too little too late".

Re: Setris – Tetris with Sand Physics

#132
post #125

Earlier quoted context omitted.

That's not true at all. The whole reason why graphics on the original NES were so compact is because the color palette was so limited. Not only that, but tiles could only have a maximum of 4 colors within them, one of which was considered the "transparent" color if you wanted blending. So they were only 2 bits. So yes, it does absolutely and unequivocally affect the binary size. Having made NES games for fun before,…

I disagree. A comparison of "higher resolution" in the terms of NES would only mean an increase in nametable size, not in binary size of program. Of course if "increase in resolution" also meant increase in CHR size or sprite count, or color palette size then you would be correct. My point in NES or in modern software, the target resolution you want wouldn't have an affect on binary size. Having made NES games for fu…

I'm saying that the capabilities of the game in question and the original Tetris are also orders of magnitude larger, you just don't see them directly because you're biased to comparing this game to the original due to its visual and gameplay style, and that comparing the two to measure the value of "bloat" is an absurd thing to do.

Re: Setris – Tetris with Sand Physics

#133
post #4

This is nutty, I love it. One word of caution, I wouldn't mention the word Tetris anywhere, just use "falling block classic game" or whatever else, as it's one of the most trigger happy IP I know of after Nintendo. That said it's so far detached from the original you might be fine.

Or as the Chinese seem to like to call it, "Russia block".

Soviet Block

Re: Setris – Tetris with Sand Physics

#134
post #4

This is nutty, I love it. One word of caution, I wouldn't mention the word Tetris anywhere, just use "falling block classic game" or whatever else, as it's one of the most trigger happy IP I know of after Nintendo. That said it's so far detached from the original you might be fine.

Or as the Chinese seem to like to call it, "Russia block".

In Soviet Russia, blocks rotate you.

Re: Setris – Tetris with Sand Physics

#135

Why doesn't this run in the browser? :( It's 2023 - and no offence intended - but I would rather not download a binary blob from a random Internet page to execute it outside the browser's sandbox. Especially since it looks this game could easily be programmed with WASM and/or vanilla JavaScript.

I'm going to assume this isn't a rhetorical question. This is a program written in java using libGDX, and the compiled target depends on JRE. If you read the documentation on it, you will see that libGDX can build with web as a target, but the developer has chosen not to do this as of yet. Perhaps they might, if asked nicely. Or, since you claim for it to be easily programmed in WASM and/or vanilla JS, you could go a…

It looks like a fun game. I did not mean to offend. I don't think there's nothing entitled about giving suggestions for improvement and reaching a wider audience - e.g. through giving the reason why I did not try out the game personally. The sand physics simulation does not look that complex/heavy to me - probably if the author implemented it once in Java they could do it again in JavaScript + Canvas, and it could even be a fun exercise to port the game to a new platform.

Re: Setris – Tetris with Sand Physics

#137

Earlier quoted context omitted.

Your OS has its own sandbox, so it should be absolutely fine unless you run everything as administrator.

It’s shipping for Windows and Linux. Neither of these uses that kind of sandbox by default (or makes it at all easy to achieve). It could trash the user’s home directory, for example.

I beg to differ.

  $ firejail ./bin
Even the very limited default profile hides things like ~/.ssh and makes the rest read-only (with the exception of ~/.cache and such).

Re: Setris – Tetris with Sand Physics

#138
post #132

Earlier quoted context omitted.

I disagree. A comparison of "higher resolution" in the terms of NES would only mean an increase in nametable size, not in binary size of program. Of course if "increase in resolution" also meant increase in CHR size or sprite count, or color palette size then you would be correct. My point in NES or in modern software, the target resolution you want wouldn't have an affect on binary size. Having made NES games for fu…

I'm saying that the capabilities of the game in question and the original Tetris are also orders of magnitude larger, you just don't see them directly because you're biased to comparing this game to the original due to its visual and gameplay style, and that comparing the two to measure the value of "bloat" is an absurd thing to do.

Sorry but sand physics is probably doable in a few kb (yes, that's kilobytes) of JS.

This is different and simpler but just 140 bytes (not k): https://codepen.io/KilledByAPixel/pen/WNGQWZG

Nothing in that game justifies being more than 1mb (being very generous...) minified as a browser app.

Re: Setris – Tetris with Sand Physics

#139

Earlier quoted context omitted.

I'm going to assume this isn't a rhetorical question. This is a program written in java using libGDX, and the compiled target depends on JRE. If you read the documentation on it, you will see that libGDX can build with web as a target, but the developer has chosen not to do this as of yet. Perhaps they might, if asked nicely. Or, since you claim for it to be easily programmed in WASM and/or vanilla JS, you could go a…

It looks like a fun game. I did not mean to offend. I don't think there's nothing entitled about giving suggestions for improvement and reaching a wider audience - e.g. through giving the reason why I did not try out the game personally. The sand physics simulation does not look that complex/heavy to me - probably if the author implemented it once in Java they could do it again in JavaScript + Canvas, and it could ev…

You did not offend me at least. Given the stated goal, you could ask with a curious tone instead and avoid confusing you for someone rude/annoying. That said, you are right that technically, this isn't complicated. Sand physics like this is only a few lines of code. However, someone did mix concepts leading to a novel approach to an otherwise exhaustively cloned game. Tetris was huuuge in its day, and there are hundreds if not thousand commercial clones and variations. The interesting part to me is that novel combination. And, they went so far as to polish it as a game, share it for free, and all you have to do is click a couple of buttons.

So, if this inspires you to want to recreate it in canvas, have at it. It's probably a great exercise. The author can likely just build a target for the web and libGDX takes care of the rest. They might have to solve some build errors, figure out how to host it on itch, etc, and if they cannot be bothered, they don't owe anyone anything. Quite the opposite.

In summary, seemingly disregarding the novelty. Pointing out that it is simple, and that you (paraphrasing) cannot be bothered, is why I said that it could come across as entitled. In any case, have at it :)

Re: Setris – Tetris with Sand Physics

#140
post #4

This is nutty, I love it. One word of caution, I wouldn't mention the word Tetris anywhere, just use "falling block classic game" or whatever else, as it's one of the most trigger happy IP I know of after Nintendo. That said it's so far detached from the original you might be fine.

Ammatis - Combines the Greek for sandy soil with tennis, as a reference and nod to its technology and game legacy.
Post reply on HN