It is not news that game developers yearn for easier and more accessible ways to distribute their creations, in fact, this dates back to the era of Nintendo 64 and Playstation 1 games when most companies exchanged assembly for C /C++ for greater portability.
With the birth of the internet, it was no different, who doesn't remember the golden age of Flash games or the famous MMORPGs? They both marked entire generations with games that inspire game developers to this day, but not everything is a bed of roses, with the end of support for Adobe Flash Player in 2020, more precisely on December 31st, and, with the fall of MMORPGs and favor of more dynamic styles like MOBA, that seemed the end of a history of game portability via the web.
With the rise of WebAssembly, the idea of game portability saw a new light. WebAssembly, or wasm, is a low-level language that runs inside the browser transforming it into a virtual machine, its intentions are portability through the browser and running any application natively and, in my opinion, the best part, it's a language-independent implementation, that is, you can use any and all languages you want for the browser, as long as the compiler supports it, most of which already support it.
C/C++ and C# are the most used languages in the games industry, both of which are already compatible with wasm. With C/C++ with the Emscripten compiler and C# with the Unity game engine, there is a tendency, or rather, a possibility of the emergence of a new era of browser-based games, where instead of the player needing to download a launcher, he can simply enter a website and log in to his account.
Just remembering that wasm was not made as a replacement for Javascript, but rather an alternative, so much so that, despite wasm not having access to the DOM, it can “talk” to Javascript, which helps with integration for a simple website or a login system by users.
Although, nowadays, there are many technologies covering wasm, the future of browser games still seems a bit uncertain, between the flash games era and today, there was the rise of online mobile games, so much so that many games of this kind since migrated to smartphones such as, for example, the game Ragnarok.
Dont Forget to Share, Like and Comment.
Image Credits to: Yash Rana; Unity, Nintendo Blast, Talk Android;
Trailer by Tecent.