SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   SRB2 Discussion (https://mb.srb2.org/forumdisplay.php?f=52)
-   -   SRB2 on Web Browser! (https://mb.srb2.org/showthread.php?t=47814)

ChrisHighwind 06-14-2020 05:59 PM

SRB2 on Web Browser!
 
There's now a public beta for SRB2 in a Web Browser, playable on PC, Chromebook, Android, and even iOS!

https://srb2webbeta.netlify.app/

Mods are supported, but netplay is not available.

The web browser version is developed by mazmazz, with help from Jimita and his Android port.

ClassicNC 06-14-2020 06:18 PM

Huh. Ok then...

Unknownlight 06-14-2020 07:14 PM

I did not expect this to work as shockingly well as it does. How does this work?

SIG7 06-14-2020 07:56 PM

Can there be a version to run older versions such as Version 0.95, 1.0s 2.0, and/or 2.1?

NeonSynth 06-14-2020 08:55 PM

Hah, awesome. Seen it on Discord. I'll try it asap when I have a working Wifi again. :)


EDIT: I hope once this is final it can be officially hosted on srb2.org i.e. web.srb2.org or something like that. :D

TehPuertoRicanSpartan 06-14-2020 10:34 PM

Wait...is this possible?
I can't believe they made this...

Icarus 06-14-2020 11:54 PM

Quote:

Originally Posted by PSI Hedgehog Chris (Post 825439)
Mods are supported, but netplay is not available.

I find this illogical, I thought the point of a web browser game was to be able to play online on the go (like any MMO or even FPS such as Quake Live before it became a paid game on Steam).


How does modding work on browser by the way?

SSNTails 06-15-2020 01:12 AM

It's compiled into WebAssembly. WebAssembly is a standard that is kind of like bytecode. The browser compiles and executes the bytecode, and bam, there it is.

When you think about how old SRB2 is though, it's hard to wrap your head around it. Pretty neat!

Digiku 06-15-2020 01:59 AM

Indeed; running in WebAssembly is one part of the puzzle. The other part is supporting the browser-side code, such as keyboard and mouse controls.

I'm not the first person to compile the game to WebAssembly, but I did decide to support all the browser quirks between Safari and Chrome. That takes a lot of effort.

Quote:

Originally Posted by Icarus (Post 825454)
I find this illogical, I thought the point of a web browser game was to be able to play online on the go (like any MMO or even FPS such as Quake Live before it became a paid game on Steam).


How does modding work on browser by the way?

You upload a WAD or PK3 file to the web page, and the game picks it up. It's not stored on a server, just used locally in the game.

I hear Modern Sonic works very well in it.

See this YouTube video for a demonstration, courtesy RetroToaster

Moose the Fat Cat 06-15-2020 04:42 AM

Wow! Truly amazing.

Now I'm re-sharing the game with all of the friends I'd previously been pitching this game to... really no excuse not to give it a try now.

Icarus 06-15-2020 05:06 AM

Quote:

Originally Posted by SSNTails (Post 825464)
It's compiled into WebAssembly. WebAssembly is a standard that is kind of like bytecode. The browser compiles and executes the bytecode, and bam, there it is.

When you think about how old SRB2 is though, it's hard to wrap your head around it. Pretty neat!

I feel a bit honoured to have SSNTails answering to my question, thank you for the answer.


I like the idea of being able to play SRB2 without the need to carry my USB key.

JakeLeB 06-15-2020 07:53 AM

You fools, this is SRB2's attempt to take over our world!

First it invades your desktop, then your phone, then your switch, now your browser! Soon, it will invade your PS4, your XBOX, your vita, your PS3, your PSP, and then...it'll invade YOU.

BOW DOWN TO YOUR HEDGEHOG OVERLORD, SONIC ROBO BLAST 2 IS LOVE, SONIC ROBO BLAST 2 IS LIFE.

Ekitai 06-15-2020 10:43 AM

Neat idea. I'd still rather just download it for better performance, but this is still a nice option for people when they might not just have it available.

Winins 06-15-2020 11:10 AM

Honestly, the best way to play it on a PC is Legacy mode, as the mouselook sucks. And I love challenging myself to not move the mouse throughout the entire level and I use Legacy for that.

FishandChips 06-15-2020 01:07 PM

I can play up to date SRB2 now!

ClassicNC 06-15-2020 04:53 PM

Quote:

Originally Posted by JakeLeB (Post 825481)
You fools, this is SRB2's attempt to take over our world!

First it invades your desktop, then your phone, then your switch, now your browser! Soon, it will invade your PS4, your XBOX, your vita, your PS3, your PSP, and then...it'll invade YOU.

BOW DOWN TO YOUR HEDGEHOG OVERLORD, SONIC ROBO BLAST 2 IS LOVE, SONIC ROBO BLAST 2 IS LIFE.

Casually waiting for SRB2 for the Samsung fridge

MADVAL2 06-15-2020 05:54 PM

Me:plays the game


game:**crashes**



Me:**rage**

FishandChips 06-15-2020 08:10 PM

Quote:

Originally Posted by PSI Hedgehog Chris (Post 825439)
There's now a public beta for SRB2 in a Web Browser, playable on PC, Chromebook, Android, and even iOS!

https://srb2webbeta.netlify.app/

Mods are supported, but netplay is not available.

The web browser version is developed by mazmazz, with help from Jimita and his Android port.

When will net-play be supported?

Unknownlight 06-15-2020 08:11 PM

Quote:

Originally Posted by Ekitai (Post 825484)
Neat idea. I'd still rather just download it for better performance, but this is still a nice option for people when they might not just have it available.

This is the "kids stuck at their classroom Chromebook" option.

Jonster 06-15-2020 09:42 PM

So, I'm trying to download it on mobile but it seem's like it get's stuck at 8 for some reason.


All times are GMT. The time now is 11:29 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.