5 ms·
That does not teach me how this works, what compiles what, how, where etc. I use dynamic .so/.dll hot-deploy, which can reload native code in microseconds with
by bullen 5y ago
That does not teach me how this works, what compiles what, how, where etc.
I use dynamic .so/.dll hot-deploy, which can reload native code in microseconds without disturbing state.
My game can render 600 non-instanced skin meshed characters on a 10W Jetson Nano.
- meheleventyone 5y agoSorry my point in the demo isn't to tell you how it works (we're compiling TS to JS, not really mind blowing) but to show you what is possible in terms of iteration time with a browser native game engine. I'm also not trying to say you can't have fast iteration time in other ways. Just that the statement about the browser was incorrect.
- bullen 5y agoJavascript is not usable, you wont be able to make anything useful if that is your underlying VM. You need fast turnaround AND performance at the same time. You are sinking your cost into a dead-end proving the articles point.
- meheleventyone 5y ago> Javascript is not usable, you wont be able to make anything useful if that is your underlying VM. I've been making games professionally across a wide gamut of technologies for over sixteen years and that's simply not true. Further there are loads of games written in JS that prove it's not true! Believe it or not I've actually written game code in languages SLOWER than JS for shipping titles!
- bullen 5y agoI would be very interested in real examples!
- meheleventyone 5y agoWell https://dotbigbang.com https://dotbigbang.com at the very top of this page has loads. Krunker (https://krunker.io/ https://krunker.io/) is a browser based multiplayer shooter. CrossCode (http://www.cross-code.com/en/home http://www.cross-code.com/en/home) is another pretty famous one that is also on Steam and very popular. Slither.io (http://slither.io/ http://slither.io/) and really the whole genre that these sorts of games became. The whole Godot Engine IDE (https://editor.godotengine.org/releases/latest/ https://editor.godotengine.org/releases/latest/) has a web version. Game Dev Tycoon (https://store.steampowered.com/app/239820/Game_Dev_Tycoon/ https://store.steampowered.com/app/239820/Game_Dev_Tycoon/) is made with JS. Curious Expedition (https://store.steampowered.com/app/358130/Curious_Expedition/ https://store.steampowered.com/app/358130/Curious_Expedition...) was written in CoffeeScript which is compiled to JS. And so on, and on. There are literally loads including umpteen multiplayer ports of Quake 3 and that sort of thing. Throw in all the JS13k games. Numerous games people have published using the Unity web exporter and so on. All the little web games people have released on itch.io, all the stuff made with Twine and Bitsy. And on, and on. The idea that JS is too slow to make games with is pretty silly and smacks a bit of willful ignorance.
- bullen 5y agoOk, which of those have you worked on during those 15 years? These prove the point, they don't scale or deliver anything that will dislocate roblox. Even wormate (which is way better than slither does not run properly on my android pad)...
- meheleventyone 5y agoCome on you keep moving the goal posts. You said: > Javascript is not usable, you wont be able to make anything useful if that is your underlying VM. And yet all these useful games exist all targeting JS backends. Some of which have made oodles of cash. Of that list I've been making games for dot big bang for the last three years. For other slower languages I worked in for shipping games there is EVE Online a large part of which is written in Python and then APB which had a lot of code written in UnrealScript for Unreal Engine 3 both of which are very much definitely slower than JS. Edit: Another really cool browser based project is this fight simulator: https://www.geo-fs.com/ https://www.geo-fs.com/
- IggleSniggle 5y agoThe fact that some of my favorite games that I’ve paid for in the last 5 years have been built using browser technologies proves this completely unfounded. The V8 is an incredibly good VM. It has compute performance comparable with Rust in Debug mode for a single core, or comparable to the JVM with a single core. That’s plenty for a great many game genres, and for ALL of the game genres that I am personally interested in playing.
- bullen 5y agoI would be very interested in real examples!
- deleted 5y ago[deleted]
- IggleSniggle 5y agoOff the top of my head, I bought (and totally loved): CrossCode, Game Dev Tycoon, Curious Expedition, Screeps, FoundryVTT I feel somewhat confident that there are others, but the devs of these games were somewhat public about what technologies they used. I can easily imagine other very popular games like FTL, Darkest Dungeons, Slay the Spire, etc having made use of browser tech, even though I have no idea if they did or not. The fact that I bought these games (in some cases on multiple platforms), spent countless hours playing them, and never had a complaint about performance, should be evidence enough that browser tech is plenty good for delivering high quality games that people are happy to pay good money for. Heck, the fact that it was possible to do this three decades ago ought to be evidence enough that you don't need something better than V8 (or even a potato) to make great games that "scale" in terms of number of players and in terms of purchases. If you mean VM performance, you can always play the Computer Language Benchmarks Game: https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/javascript.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... You'll find that of course languages like C++ and Rust can perform better. But is that level of performance necessary to pull off a great game with a big paying audience in 2021? Absolutely not.
- 5y ago