TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Possible to make a game engine in the browser?

4 pointsby mbalex99over 1 year ago
What would the limitations be if one were to create a game engine that could run in the browser?<p>Browsers now have file system access and WebGPU. What would be the major limitations of what it could do compared to a native engine that runs as a desktop app like Unity or Unreal.

6 comments

clipsyover 1 year ago
Unity[0] and Unreal[1] both have some degree of support for targeting modern web browsers as platforms.<p>[0]: <a href="https:&#x2F;&#x2F;docs.unity3d.com&#x2F;Manual&#x2F;webgl-building.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.unity3d.com&#x2F;Manual&#x2F;webgl-building.html</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;UnrealEngineHTML5&#x2F;Documentation">https:&#x2F;&#x2F;github.com&#x2F;UnrealEngineHTML5&#x2F;Documentation</a>
solardevover 1 year ago
Not only is this possible, there&#x27;s actually a bunch!<p>Unity has a WebGL player, but I guess Unity is dead now.<p>Other WebGL projects are the Quake 1 and Quake 3 Arena games ported to the web: <a href="https:&#x2F;&#x2F;www.netquake.io&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.netquake.io&#x2F;</a> <a href="https:&#x2F;&#x2F;openarena.live&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;openarena.live&#x2F;</a><p>PlayCanvas is a commercial offering: <a href="https:&#x2F;&#x2F;playcanvas.com&#x2F;explore" rel="nofollow noreferrer">https:&#x2F;&#x2F;playcanvas.com&#x2F;explore</a><p>There&#x27;s also a bunch of open-source Javascript game engines: <a href="https:&#x2F;&#x2F;github.com&#x2F;collections&#x2F;javascript-game-engines">https:&#x2F;&#x2F;github.com&#x2F;collections&#x2F;javascript-game-engines</a><p>Of those, BabylonJS seems pretty powerful for 3D: <a href="https:&#x2F;&#x2F;www.babylonjs.com&#x2F;games&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.babylonjs.com&#x2F;games&#x2F;</a><p>Or PixiJS for 2D: <a href="https:&#x2F;&#x2F;pixijs.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;pixijs.com&#x2F;</a><p>Lastly, there&#x27;s also my personal preference... game streaming via GeForce Now (<a href="https:&#x2F;&#x2F;www.nvidia.com&#x2F;en-us&#x2F;geforce-now&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.nvidia.com&#x2F;en-us&#x2F;geforce-now&#x2F;</a>) or Luna (<a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;luna&#x2F;landing-page" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.amazon.com&#x2F;luna&#x2F;landing-page</a>) or Boosteroid (<a href="https:&#x2F;&#x2F;boosteroid.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;boosteroid.com&#x2F;</a>). They&#x27;re like Stadia, but actually alive, and GFN in particular works really, really well. Way better than trying to render graphics locally on my Mac (the RTX 4080 is way more powerful than even the M2 Ultra, and cloud streaming means no heat or noise or battery consumption locally). I hope that, not clientside WebGL&#x2F;JS, becomes the future of web gaming.
dysocoover 1 year ago
Godot has a web editor [1] in case you don&#x27;t know yet.<p>[1]: <a href="https:&#x2F;&#x2F;docs.godotengine.org&#x2F;en&#x2F;stable&#x2F;tutorials&#x2F;editor&#x2F;using_the_web_editor.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.godotengine.org&#x2F;en&#x2F;stable&#x2F;tutorials&#x2F;editor&#x2F;usin...</a>
MichaelEstesover 1 year ago
PlayCanvas is a game engine that runs on browsers, but I’m not certain what it’s future will be, it was bought by SnapChat, but SnapChat has shut down running games in app.
ezedvover 1 year ago
Creating a browser-based game engine with file system access and WebGPU support is promising, but it does come with limitations. Browser-based engines may face performance bottlenecks compared to native desktop engines due to factors like limited hardware access and reliance on web technologies. They might also have restrictions on file system access for security reasons.<p>However, the advantage lies in accessibility and ease of distribution. For complex, resource-intensive games, native engines like Unity or Unreal may still offer superior performance and capabilities, but browser-based engines can reach a broader audience with simpler games or interactive web experiences.<p>In case you need help or assistance with your project, feel free to contact us! <a href="https:&#x2F;&#x2F;www.ratherlabs.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.ratherlabs.com</a>
3crazyoneover 1 year ago
galacean[<a href="https:&#x2F;&#x2F;galacean.antgroup.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;galacean.antgroup.com&#x2F;</a>] is Mobile first high performance web interactive engine, it support you make a game in web browser