Auralux Release For Browsers Shows Emscripten Is Reaching Indie Devs
New submitter MorgyTheMole writes Porting C++/OpenGL based games using Emscripten and WebGL has been an approach pushed by Mozilla for some time now. Games using the technology are compatible with most modern browsers and require no separate install. We've seen Epic Games demonstrate UnrealEngine 4 in browser as well as Unity show off a variety of games. Now as the technology matures, indie devs are looking to get into the mix, including this near one-to-one port of E McNeill's Auralux, a simplified RTS game, from Android and iOS. (Disclosure: I am a programmer who worked on this title.)
but please leave real development to real developers that use real technologies on real platforms. No, we don't need 8 core machines with 16gb of ram to be able to play a game that late-90s computers could've handled natively. Games do not belong in the browser.
Just tried it a little. And it really seems to work flawlessly. Smooth graphics and gameplay, and music and sound effects come through just fine. And it's a very nice abstract game too; reminds me more than a little of Osmos in both style and pacing.
Trust the Computer. The Computer is your friend.
Just curious if this would work for CrystalSpace 3d. I have experience with that engine, and I've been considering making an Xwing vs TieFighter MOBA.
God spoke to me
I read that headline in the same way as I would read the Jabberwocky. Maybe a better headline would be, "C++ compiled to Javascript in a Real Game." Or something like that.
I guess this kind of thing will become more common as Flash recedes into irrelevance.
"First they came for the slanderers and i said nothing."
If you change the user agent to Chrome - Mac. Seems fairly CPU intensive though, managed to get the fans on my MacBookPro spinning up fairly quickly. That could just be the WebGL implementation in Safari not being so crash hot though.
I don't know that Safari's JavaScript engine can optimize for asm.js yet, so I'd guess it's the JavaScript more than the WebGL. Asm.js JavaScript works everywhere, but Firefox and Chrome detect and optimize for asm.js specifically and get really high performance figures as a result.
Just create a sandboxed version of LLVM and put it into the browser. Or maybe Firefox can adopt NaCl. But translating C into LLVM into JavaScript because a small number of vendors can't be bothered to put an open source plugin into their browser is just ridiculous.
Auralux Release For Browsers Shows Emscripten Has Reached MorgyTheMole
Doesn't mean you should. Congratulations- you managed to write your app in the least effective way possible and got both the performance of javascript and the ease of writing code in C++. You are the biggest idiot on slashdot today. Your reward is getting to write a nice check to Dice for the slashvertisement.
I still have more fans than freaks. WTF is wrong with you people?
A lot of machines are cryptographically locked down to run only executable files approved by the network administrator or by the machine's manufacturer. Indie developers often lack the clout to negotiate with said administrators and manufacturers. The advantage of JavaScript is that you don't need such clout to get an application to run.
If your game is written in C++ and OpenGL you can already compile natively for Windows, OSX, iOS, Android and Linux.
Better known as 318230.
Although I enjoyed the game enough to waste 20 minutes on it, I am less than impressed with a "Pay to not watch the grass grow" model of business. So, while it may run blazingly fast, I'm not going to pay to see if that's the case.
As it is, it seems painfully slow, and more than a bit of a rip-off of games like these ones I can play for free in my browser with no speed issues.
I'm just not seeing the value.
It launched for me after doing that, but didn't actually work. It ran in FireFox, using about 50% of one core of a 2.2GHz i7 (Haswell). The same game runs very happily on a 1GHz ARM core, but I don't know what percentage of the CPU it's using there. Aside from being slow, the UI really sucks (I managed to zoom in, but not to zoom out). On a touchscreen device, I really liked the Auralux UI.
I am TheRaven on Soylent News
Congratulations, you're being a troll. They managed to take their existing app written for a completely different platform, and port it to the web in a way that runs flawlessly on my four year old laptop. Without having to rewrite the whole thing by hand in Javascript. I'd call that a big win, and a really cool achievement.
"I'm too busy to research this and form an educated opinion, but I do have time to tell everyone my uninformed opinion."