Live data from Hacker News

Browsercraft: Java Minecraft in the browser

browsercraft.cheerpj.com

81–90 of 107 posts

Re: Browsercraft: Java Minecraft in the browser

#81

I used to love Minecraft as a kid until my kid ruined it for me. This 5-year-old loves to be in Creative mode and put me in Survival mode and set up traps and rounds of enemies for me to fight my way out. Not relaxing at all anymore.

My 7 year old's favourite activity in Minecraft is to blow stuff up. I don't know whether to be concerned or not, but at least we've convinced him that it's really not cool to blow other people's stuff up. Like you say, not very relaxing.

Send that child to the demolition career. There’s good money in blowing up buildings!

Re: Browsercraft: Java Minecraft in the browser

#82

The fact I'm playing this at 20 FPS on Firefox with a RX 7600 shows how much web browsers have regressed in 10 years, not how much they've advanced.

Minecraft back in the day was a Java applet, so the game was running in a native JVM. This demo is running the game in a WebAssembly JVM, so performance is absolutely going to suffer. If the game were actually written for the web platform, it would perform significantly better.

This is a 20-ish year old game. It really shouldn’t matter.

Re: Browsercraft: Java Minecraft in the browser

#83
post #81

Earlier quoted context omitted.

My 7 year old's favourite activity in Minecraft is to blow stuff up. I don't know whether to be concerned or not, but at least we've convinced him that it's really not cool to blow other people's stuff up. Like you say, not very relaxing.

Send that child to the demolition career. There’s good money in blowing up buildings!

Exactly! There is a demand for constructive deconstruction.

Consent is everything?

Re: Browsercraft: Java Minecraft in the browser

#84

The fact I'm playing this at 20 FPS on Firefox with a RX 7600 shows how much web browsers have regressed in 10 years, not how much they've advanced.

This implementation isn't using webworkers either. Moving the java VM to a webworker would likely improve performance 10 fold.

Re: Browsercraft: Java Minecraft in the browser

#85

When I was in fourth grade, I'd take the half a mile walk to the library almost daily which always made my parents happy because they assumed I was going to read, but instead I was hopping onto their computers, going to http://minecraft.net , and playing minecraft on IE :) Thanks for the nostalgia

I used to do that except it was to play Runescape lol. The local library got some really nice Pentium 4 computers too.

Re: Browsercraft: Java Minecraft in the browser

#86
Another comment mentions MinecraftForFree.com...

In middle school, in an attempt to get around the school firewall, I copied the HTML code from that website to my own to play Minecraft at school. Since my domain wasn't on the blocklist, it worked! But when my friends started using it to play, even after they hadn't bought the game, I resolved to add a login wall.

I built a backend proxy in PHP that would POST their credentials to the Minecraft API to make sure they had purchased the game. I still think it's funny to think I had no ethical qualms about circumventing the school firewall, but piracy was where I drew the line.

Re: Browsercraft: Java Minecraft in the browser

#89

The fact I'm playing this at 20 FPS on Firefox with a RX 7600 shows how much web browsers have regressed in 10 years, not how much they've advanced.

> The fact I'm playing this at 20 FPS on Firefox with a RX 7600 Vanilla Minecraft is known for being awful for FPS even outside of a browser. There's a reason most people use a whole slate of performance mods just to get actual decent performance. (I've got a Ryzen 7 with a 3080 and it would frequently hover between 40-50fps even with graphics turned down. Install the performance mods and I can get >120fps with fancy…

A longstanding performance effecting bug was fixed in the recently released 1.21.5 and the difference is night and day at least for vanilla clients.

This one: https://bugs.mojang.com/browse/MC/issues/MC-170134

I now never see below 60 fps when for all my years of playing this bug would bring down my FPS to the teens or 0 all the time no matter what hardware.

Re: Browsercraft: Java Minecraft in the browser

#90
post #82

Earlier quoted context omitted.

Minecraft back in the day was a Java applet, so the game was running in a native JVM. This demo is running the game in a WebAssembly JVM, so performance is absolutely going to suffer. If the game were actually written for the web platform, it would perform significantly better.

This is a 20-ish year old game. It really shouldn’t matter.

[deleted]
Post reply on HN