Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

New Update: Making a Game Out of the Web

2»

Comments

  • skyexileskyexile Member CommonPosts: 692

    This is gonna be great, im gonna import all my scripts over from Planetside 2, cant wait. kids are gonna be so mad.

    derp.

    SKYeXile
    TRF - GM - GW2, PS2, WAR, AION, Rift, WoW, WOT....etc...
    Future Crew - High Council. Planetside 1 & 2.

  • burfoburfo Member Posts: 46
    I like the idea they've presented.  Let's see how it pans out.

    Burfo
    image

  • skyexileskyexile Member CommonPosts: 692

    um i was concerned about this, but a guildie of mine who is a game developer assures me its a good choice and that people like epic games are already on the case:


    http://techreport.com/news/24586/epic-html5-unreal-engine-4-upgrades-the-web-to-a-platform

    SKYeXile
    TRF - GM - GW2, PS2, WAR, AION, Rift, WoW, WOT....etc...
    Future Crew - High Council. Planetside 1 & 2.

  • BetaguyBetaguy Member UncommonPosts: 2,629
    Originally posted by Oldskoo
    Our friends over at  City State Entertainment certainly aren't afraid of taking risks. I am impressed with their vision and willingness to try something new and innovative. This could be a game changer as far as UI's are concerned in the mmo industry if they pull this off. 

    I too think this is a great new innovative idea. Can't wait to get my hands on this title and take it for a spin.

    "The King and the Pawn return to the same box at the end of the game"

  • CSE_AndrewCSE_Andrew Member Posts: 3
    Originally posted by taus01

    No, it is a terrible idea. HTML and JS are shit for client server applications that need performance like an MMO. No matter how much you optimize it. The overhead of JS to get just a small amount of data is ridiculous to a dedicated client server protocol or raw socket communication.

    Its a bad idea no mater how good you are.

     

    From what you're saying, it sounds like you think we're making the ENTIRE game out of the web. Let's make this clear: We're building a standalone 3D client. It will be written in C++, and render to the screen with DirectX. It will speak a custom, compressed binary protocol with our servers to perform low-latency updates to its world state. Period. All of that is exactly what you would expect from a traditional, high-performance, native game.

    The part that will be web-based is the user interface. Now, as the lead client engineer for WAR, I had a lot of oversight on WAR's UI code. Whether you like the game as a whole, I don't think anyone can say "OMG THE UI WAS SO LAGGY". What you may not have known is that Warhammer Online's entire UI was built in another scripting language called Lua -- mostly because World of Warcraft used the very same UI scripting language, and we wanted to attract WoW modders to WAR.

    The performance of JavaScript engines in 2013 absolutely blows away the performance of our 2008 Lua engine. It's not a contest. Take a look at this comparison, as just one example: JavaScript is roughly 11x faster than Lua, on average, and that's comparing against the Lua engine of 2013 rather than the Lua of 2008.

    Maybe your concern is that making roundtrips to the server for AJAX calls will be a slowdown. I'll quote directly, for anyone who watched the video but didn't read the accompanying article:

    First, don’t expect to make XMLHttpRequests directly from your own JavaScript if you want to run within the game. We plan to implement a lightweight JavaScript library to act as an intermediary. When running standalone on the web, this library will still speak AJAX and WebSockets...

    On the other hand, when your (or our) code is running in the game and using that library, for performance reasons some calls will be redirected into the client rather than actually making an HTTP request. We’ll encourage — and very likely enforce — that everyone use that library rather than going directly to our server. That will ensure UI mods can be as responsive as possible by using data the client has already cached locally, while still preserving the ability to work standalone.

    Or maybe you're concerned about rendering and layout performance, rather than the performance of the scripting engine? I'm not. I know where the clock cycles were going on WAR's UI, and I only wish we'd been able to implement some of the optimizations that Chromium and Gecko can give us out of the box. (Really; I've looked at their source code!) There's so much optimization that these teams have spent so many years on; we'd be foolish not to take advantage of that.

    Now, I won't argue, there are some crappy, badly-performing web pages out there. There are also some crappy, badly performing C++, C#, and Java programs out there as well. I'll admit, there are MORE badly-performing web pages out there, but I attribute this to the fact that putting up a web page is so much more accessible than writing in C that people who aren't the strongest programmers have the opportunity to make things. (That's actually part of the reason I want to do this -- by making it accessible to more people, we'll get more stuff created. There will undoubtedly be some bad mods made by bad coders, but you don't have to install them.) On the other hand, there are some really good and responsive web-based interfaces out there. I use chat programs embedded in the webpages of both Gmail and Facebook, so I'm pretty sure you can build an in-game chat window with JS. I manage multiple accounts with Tweetdeck, which has a lot of UI yet runs as a Chrome app. Heck, I even wrote and laid out the article using a wordprocessor that lives on a web page.

    I use these things not because I have to, but because they're some of the best-in-class stuff out there. Not only is this going to work, it's going to be easier and faster than the other MMORPG UI systems I've already done.

  • Corinthian-XCorinthian-X Member Posts: 86
    Originally posted by CSE_Andrew
    Originally posted by taus01

    No, it is a terrible idea. HTML and JS are shit for client server applications that need performance like an MMO. No matter how much you optimize it. The overhead of JS to get just a small amount of data is ridiculous to a dedicated client server protocol or raw socket communication.

    Its a bad idea no mater how good you are.

     

    From what you're saying, it sounds like you think we're making the ENTIRE game out of the web. Let's make this clear: We're building a standalone 3D client. It will be written in C++, and render to the screen with DirectX. It will speak a custom, compressed binary protocol with our servers to perform low-latency updates to its world state. Period. All of that is exactly what you would expect from a traditional, high-performance, native game.

    The part that will be web-based is the user interface. Now, as the lead client engineer for WAR, I had a lot of oversight on WAR's UI code. Whether you like the game as a whole, I don't think anyone can say "OMG THE UI WAS SO LAGGY". What you may not have known is that Warhammer Online's entire UI was built in another scripting language called Lua -- mostly because World of Warcraft used the very same UI scripting language, and we wanted to attract WoW modders to WAR.

    The performance of JavaScript engines in 2013 absolutely blows away the performance of our 2008 Lua engine. It's not a contest. Take a look at this comparison, as just one example: JavaScript is roughly 11x faster than Lua, on average, and that's comparing against the Lua engine of 2013 rather than the Lua of 2008.

    Maybe your concern is that making roundtrips to the server for AJAX calls will be a slowdown. I'll quote directly, for anyone who watched the video but didn't read the accompanying article:

    First, don’t expect to make XMLHttpRequests directly from your own JavaScript if you want to run within the game. We plan to implement a lightweight JavaScript library to act as an intermediary. When running standalone on the web, this library will still speak AJAX and WebSockets...

    On the other hand, when your (or our) code is running in the game and using that library, for performance reasons some calls will be redirected into the client rather than actually making an HTTP request. We’ll encourage — and very likely enforce — that everyone use that library rather than going directly to our server. That will ensure UI mods can be as responsive as possible by using data the client has already cached locally, while still preserving the ability to work standalone.

    Or maybe you're concerned about rendering and layout performance, rather than the performance of the scripting engine? I'm not. I know where the clock cycles were going on WAR's UI, and I only wish we'd been able to implement some of the optimizations that Chromium and Gecko can give us out of the box. (Really; I've looked at their source code!) There's so much optimization that these teams have spent so many years on; we'd be foolish not to take advantage of that.

    Now, I won't argue, there are some crappy, badly-performing web pages out there. There are also some crappy, badly performing C++, C#, and Java programs out there as well. I'll admit, there are MORE badly-performing web pages out there, but I attribute this to the fact that putting up a web page is so much more accessible than writing in C that people who aren't the strongest programmers have the opportunity to make things. (That's actually part of the reason I want to do this -- by making it accessible to more people, we'll get more stuff created. There will undoubtedly be some bad mods made by bad coders, but you don't have to install them.) On the other hand, there are some really good and responsive web-based interfaces out there. I use chat programs embedded in the webpages of both Gmail and Facebook, so I'm pretty sure you can build an in-game chat window with JS. I manage multiple accounts with Tweetdeck, which has a lot of UI yet runs as a Chrome app. Heck, I even wrote and laid out the article using a wordprocessor that lives on a web page.

    I use these things not because I have to, but because they're some of the best-in-class stuff out there. Not only is this going to work, it's going to be easier and faster than the other MMORPG UI systems I've already done.

    Thanks Andrew, I was hoping you would chime in. Though I really doubt that will satisfy him, as he seems to be all-knowing and quick on the trigger to denigrate everything you guys post.

  • JoeShmoe75JoeShmoe75 Member Posts: 20
    I dont really know alot about this technical mumbo-jumbo, but Andrew seems to know what hes doing. I've only played WAR way back at first release, but I dont remember any dislikes or problems with that UI. Didn't play Skyrim to see what hes done there, but I have faith. TBH at this stage what more can you have.
  • ayanamijayanamij Member Posts: 2
    I came across this post from the CU IRC chat and I just wanted to throw in this ... where is this idea that client-side JS is slow? It isn't. It's incredibly fast. Can AJAX requests be slow? Sure. But that isn't because the client isn't performing. And besides, since when are we talking about writing the core client in JS anyhow? As has been stated before, the rendering engine and core functionality has its own client anyhow.
  • BurgundusBurgundus Member Posts: 23

    Thanks for the note Andrew.  I've always liked how Eve in particular let you do things from the web, and even having a browser in game.  I think it's a great idea. 

    Burgy

  • TamanousTamanous Member RarePosts: 3,026
    Originally posted by ayanamij
    I came across this post from the CU IRC chat and I just wanted to throw in this ... where is this idea that client-side JS is slow? It isn't. It's incredibly fast. Can AJAX requests be slow? Sure. But that isn't because the client isn't performing. And besides, since when are we talking about writing the core client in JS anyhow? As has been stated before, the rendering engine and core functionality has its own client anyhow.

    Ya I can't figure out either how people thought this update affected the core client. It clearly mentioned it affected UI planning only and not the game engine. Perhaps the forum warriors geeks should concentrate on understanding verbal and written communication over learning code. 

     

    It's like I tell people at work: I am a client (as in employees) side analyst. There are back room, server side and wiring closet techs too but I have my job because I have a personality and can actually talk and listen to people. :)

    You stay sassy!

  • Plastic-MetalPlastic-Metal Member Posts: 405

    Thanks for posting, Andrew.  [mod edit]

    Keep up the good work, buddy.

    My name is Plastic-Metal and my name is an oxymoron.

    image

  • OldskooOldskoo Member UncommonPosts: 189
    Thanks for your thoughts Andrew. That was pretty cool. 

    image

  • taus01taus01 Member Posts: 1,352
    Originally posted by CSE_Andrew
    Originally posted by taus01

    No, it is a terrible idea. HTML and JS are shit for client server applications that need performance like an MMO. No matter how much you optimize it. The overhead of JS to get just a small amount of data is ridiculous to a dedicated client server protocol or raw socket communication.

    Its a bad idea no mater how good you are.

     

    From what you're saying, it sounds like you think we're making the ENTIRE game out of the web. Let's make this clear: We're building a standalone 3D client. It will be written in C++, and render to the screen with DirectX. It will speak a custom, compressed binary protocol with our servers to perform low-latency updates to its world state. Period. All of that is exactly what you would expect from a traditional, high-performance, native game.

    The part that will be web-based is the user interface. Now, as the lead client engineer for WAR, I had a lot of oversight on WAR's UI code. Whether you like the game as a whole, I don't think anyone can say "OMG THE UI WAS SO LAGGY". What you may not have known is that Warhammer Online's entire UI was built in another scripting language called Lua -- mostly because World of Warcraft used the very same UI scripting language, and we wanted to attract WoW modders to WAR.

    The performance of JavaScript engines in 2013 absolutely blows away the performance of our 2008 Lua engine. It's not a contest. Take a look at this comparison, as just one example: JavaScript is roughly 11x faster than Lua, on average, and that's comparing against the Lua engine of 2013 rather than the Lua of 2008.

    Maybe your concern is that making roundtrips to the server for AJAX calls will be a slowdown. I'll quote directly, for anyone who watched the video but didn't read the accompanying article:

    First, don’t expect to make XMLHttpRequests directly from your own JavaScript if you want to run within the game. We plan to implement a lightweight JavaScript library to act as an intermediary. When running standalone on the web, this library will still speak AJAX and WebSockets...

    On the other hand, when your (or our) code is running in the game and using that library, for performance reasons some calls will be redirected into the client rather than actually making an HTTP request. We’ll encourage — and very likely enforce — that everyone use that library rather than going directly to our server. That will ensure UI mods can be as responsive as possible by using data the client has already cached locally, while still preserving the ability to work standalone.

    Or maybe you're concerned about rendering and layout performance, rather than the performance of the scripting engine? I'm not. I know where the clock cycles were going on WAR's UI, and I only wish we'd been able to implement some of the optimizations that Chromium and Gecko can give us out of the box. (Really; I've looked at their source code!) There's so much optimization that these teams have spent so many years on; we'd be foolish not to take advantage of that.

    Now, I won't argue, there are some crappy, badly-performing web pages out there. There are also some crappy, badly performing C++, C#, and Java programs out there as well. I'll admit, there are MORE badly-performing web pages out there, but I attribute this to the fact that putting up a web page is so much more accessible than writing in C that people who aren't the strongest programmers have the opportunity to make things. (That's actually part of the reason I want to do this -- by making it accessible to more people, we'll get more stuff created. There will undoubtedly be some bad mods made by bad coders, but you don't have to install them.) On the other hand, there are some really good and responsive web-based interfaces out there. I use chat programs embedded in the webpages of both Gmail and Facebook, so I'm pretty sure you can build an in-game chat window with JS. I manage multiple accounts with Tweetdeck, which has a lot of UI yet runs as a Chrome app. Heck, I even wrote and laid out the article using a wordprocessor that lives on a web page.

    I use these things not because I have to, but because they're some of the best-in-class stuff out there. Not only is this going to work, it's going to be easier and faster than the other MMORPG UI systems I've already done.

    Thanks for the lengthy explanation. I will look forward to how this pans out. Most engine use some form of script like Lua, as someone that worked with both Unreal and CryEngine i am very familiar with them. I just had very bad experiences with HTML based UI. Not saying it is not possible, Guildwars is using it, i was merely concerend about the performance.

    Thanks again for the information.

    PS: I would appreciate it if the fans of this game would back off calling me a troll. I know you people like this game and take it personal if someone says something bad about it but that does not give you the right to insult people that have a different opinion.

    "Give players systems and tools instead of rails and rules"

    image
  • KappenWizKappenWiz Member UncommonPosts: 162
    Bunch of stuff from Andrew...
     

    Thanks for the lengthy explanation. I will look forward to how this pans out. Most engine use some form of script like Lua, as someone that worked with both Unreal and CryEngine i am very familiar with them. I just had very bad experiences with HTML based UI. Not saying it is not possible, Guildwars is using it, i was merely concerend about the performance.

    Thanks again for the information.

    PS: I would appreciate it if the fans of this game would back off calling me a troll. I know you people like this game and take it personal if someone says something bad about it but that does not give you the right to insult people that have a different opinion.

    Kudos to you for showing back up. The people here are a little ecstatic right now, so kinda giddy and therefore a little charged up. You did kind of come in here saying this was a horrible idea, silly, and it will be kind of fun to watch it fall on it's a$$, so they reacted.

    Anyway, welcome, big ups to you for responding and hope you keep an eye on the project. If nothing else, Andrew has impressed the hell out of me this week with his knowledge, passion, and grounded personality. It will be fun to watch the team develop this game with him and learn a thing or two, so it will be worth it to stick around for that, if nothing else.

     

  • BowbowDAoCBowbowDAoC Member UncommonPosts: 472

    I'm not a tech guy at all, and even worst when i have read techincal stuff in english :P

    But i have one question ... WIll this make it easier , harder, or wont change a thing on how people can create cheats / radar etc ?

    i think it is something thats need to be thought about early, would hate to have lots of people with radar and cheats :/

     

    image

    Bowbow (kob hunter) Infecto (kob cave shammy) and Thurka (troll warrior) on Merlin/Midgard DAoC
    Thurka on WAR

    image

  • taus01taus01 Member Posts: 1,352
    Originally posted by kappenwiz
    Bunch of stuff from Andrew...
     

    Thanks for the lengthy explanation. I will look forward to how this pans out. Most engine use some form of script like Lua, as someone that worked with both Unreal and CryEngine i am very familiar with them. I just had very bad experiences with HTML based UI. Not saying it is not possible, Guildwars is using it, i was merely concerend about the performance.

    Thanks again for the information.

    PS: I would appreciate it if the fans of this game would back off calling me a troll. I know you people like this game and take it personal if someone says something bad about it but that does not give you the right to insult people that have a different opinion.

    Kudos to you for showing back up. The people here are a little ecstatic right now, so kinda giddy and therefore a little charged up. You did kind of come in here saying this was a horrible idea, silly, and it will be kind of fun to watch it fall on it's a$$, so they reacted.

    Anyway, welcome, big ups to you for responding and hope you keep an eye on the project. If nothing else, Andrew has impressed the hell out of me this week with his knowledge, passion, and grounded personality. It will be fun to watch the team develop this game with him and learn a thing or two, so it will be worth it to stick around for that, if nothing else.

     

    I still think it is a terrible idea, but thats life, people have different opinions. I am a big fan of DAOC, an old school gamer and happy to see many projects including this one trying to go back to the roots and trying to make a difference in the overall mediocre pool of games released in the last 5+ years. It does not mean hoever that i don't speak my mind if i think something is a bad idea. I know i sometimes come off a bit strong in my words and i apologize for it.

    "Give players systems and tools instead of rails and rules"

    image
  • tleartlear Member Posts: 142
    Interesting I was always under impression that LUA was hands down fastest for these things. I write a lot of JS both on client and in nodejs. It is a fun and really good language. Just IMO, now if you were going to this this in Ruby I would be concerned..

    Also crappy mods are gona be a problem, spaghetti jquery maining dom.. etc as will supporting gazillion client side frameworks. Emberjs does not work waaaaa!

    Do you guys have someone who really lives in client side js world? Because that its own thing and I wonder if dealing with all the issues it will present is worth it. Still I am excited to see js used
  • RawcRawc Member Posts: 2

    I know this is a couple days late but I was talking with a buddy and another issue I haven't hear brought up occurred to me. I read that the issue of hacks and radar will be addressed, but what about macro systems that simply the game and add a huge advantage. For those that have not seen this issue in other games I will describe it using RIFT as an example.

      In RIFT, there were different abilities on short re-use timers many of which were only usable if another action occurred (i.e. you dodge, someone dodges you, you miss, block, etc). We were able to put macros together that would put as many abilities on one key as you liked and prioritize them. If an abilities was on cooldown or the pre-requisite action had not occurred it would skip down the list until it reached the next available ability. This took a game that was technical and gave better players a slight advantage and made it mandatory to run these macros to compete at a high level. It made the game so simple it was boring and was a game killer for many.

      Will there be a way to keep these out of the game and require players to use skill? Thank you for any response.

Sign In or Register to comment.