Live data from Hacker News

Show HN: Arcade – Play retro games streamed inside a browser

arcadeup.io

11–20 of 26 posts

Re: Show HN: Arcade – Play retro games streamed inside a browser

#15

Okay, I changed the wallpaper and removed the start-up program, and shut the computer down, does this affect everybody?

We give every new session a freshly cloned VM. Changes you make will remain for your session but be reverted over when the machine is reclaimed for the next user.

Re: Show HN: Arcade – Play retro games streamed inside a browser

#16

This is beyond awesome. How did you do it?

h264 frames/opus packets over websockets. Broadway.js is doing the video decoding, something similar to (EDIT: opus.js) for the audio.

All decode loops are in webworkers, separate websocket connection for each data stream (video,audio,input). Broadway has a lovely option to use WebGL for pushing the pixels to a canvas as well, which really helps free up the CPU.

Put it all together, and you'd be surprised how close you can push an (up-to-date) browser towards realtime sans plugin.

Re: Show HN: Arcade – Play retro games streamed inside a browser

#17
post #14

I strongly object to Warcraft III being called "retro" - and an expansion no less. It makes me feel old.

Ha, yeah. Warcraft III is a long way from being retro. It was released in 2002 (expansion in 2003).

Really? That was 12-13 years ago.

For comparison's sake, I feel like in 2002, I was thinking of games like the Sierra point-and-clicks (Leisure Suit Larry, King's Quest, Space Quest, Police Quest, Conquests of the Longbow, et al) as retro and most of those would have been in that age bracket.

Re: Show HN: Arcade – Play retro games streamed inside a browser

#18
post #4

What is the expected latency? Would this work with an FPS? Looks like its using Broadway.js?

I've haven't gotten around to measuring it yet, but back of the envelope calculation is "between 100ms-200ms" delay from input event sent to h264 frame rendered. This is assuming virtually no network delay, so you'd be doing well with ~300ms end-to-end latency from your browser currently.

This would not work for an FPS, especially when you look at the variance in latency. There are lots of ways to shave milliseconds and stabilize latency though, so that statement is definitely not future-proof.

Yes, Broadway.js ;) Highly recommend though the documentation can be a bit "terse"

Re: Show HN: Arcade – Play retro games streamed inside a browser

#20
post #14

Earlier quoted context omitted.

Ha, yeah. Warcraft III is a long way from being retro. It was released in 2002 (expansion in 2003).

Really? That was 12-13 years ago. For comparison's sake, I feel like in 2002, I was thinking of games like the Sierra point-and-clicks (Leisure Suit Larry, King's Quest, Space Quest, Police Quest, Conquests of the Longbow, et al) as retro and most of those would have been in that age bracket.

Not even close to that age bracket. Those Sierra classics were relased from 24-31 years ago, at least twice as old as WC3.

Leisure Suit Larry in the Land of the Lounge Lizards - 1987 King's Quest: Quest for the Crown - 1984 Space Quest: The Sarien Encounter - 1986 Police Quest: In Pursuit of the Death Angel - 1987 Conquests of the Longbow: The Legend of Robin Hood - 1991

Post reply on HN