Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
OpenRCT2 – RollerCoaster Tycoon 2 in browser using emscripten (github.com/mstrodl)
61 points by goodburb on Dec 4, 2024 | hide | past | favorite | 11 comments


How does this compare to a previous port? https://olydis.medium.com/roller-coaster-tycoon-in-the-brows... I'm curious if the author ran into the same challenges.


It doesn't list any scenarios when I go to create a new game.

Note: when it is loading and asks "Select your RCT2 data path Pick your RCT2 Data Directory" it actually wants you to pick the parent directory containing Data/


So what's the use case for running it in your browser other than just for the sake of it? Would it be possible to host the game files on a server and then load the game in a browser on another system?


Emscripten's user agent (browser) Javascript is quite cryptic and was rather difficult to adapt Emscripten-compiled WASM to custom web apps. (Had to look at Emscripten example web app.) Congrats.


Hmm, since it runs in the browser, I wonder why they didn't put it on github pages (github.io)?

Or to put it differently, if I need to compile it first, what is the advantage over the desktop version?


I simply opened the link[1] then selected the folder of the RCT2 installation. It's in the Github header bar.

Note that save data is in browser local storage, no way to export for now.

Runs well on recent Android tablet and Chromebook with mouse, despite a debug build which affects performance.

[1] https://orct2.csh.rit.edu/


Thank you, it worked for me!

I saw the building steps in the description, but missed the link in the About section.


Screenshots anyone? (Or anywhere)


https://imgur.com/a/https-orct2-csh-rit-edu-sBxOvWT

8 FPS Firefox, 40 FPS (original game limit) on Chrome.

Like OpenTTD, multiplayer doesn't work since there is no websocket server support yet.


Thanks!


I just tried it. It looks like OpenRCT2, but in a browser.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: