Jump to content
  • Advertisement
  • 07/17/18 05:10 AM

    HTML5
    Why Gaming in the Browser is Inevitable

    Game Design and Theory

    Plains of VR

    Just like applications, games will be migrated to the browser as well. In order to understand the forces that will make this transition happen, we need to understand what makes the Internet, the browsers and websites so successful in the first place, and why is that relevant in the context of games.

    Bit of History

    There is always a reason why a trend develops and decays over time. It's more than just excitement then later on boredom. In the beginning, all the application were developed for the mainframes first, because at the time no single person could afford a computer. Then the PC came along and everything got rewritten for that platform. Then just recently, internet speed, hardware and browsers become fast enough to run the apps we use in the office to trigger another wave of application migration, back to the cloud. Think about Microsoft Office Online. Improvements on the hardware level will disrupt trends build on top of it.

    The Bias

    When a new technology comes along, people tend to focus on the downsides only and argue that the new tech never going to be as good as the old one. The reasonable question would be, what are the downsides and what are the upsides and what the new technology allows me to do and can I live with the downsides. Change is difficult, therefore people tend to stick to the old tech. New customers who are exposed to competing products the first time, evaluate the old and the new tech objectively and then make a decision.

    People tend to confuse the principles that brought a trend to live with the current state of those trends. They say: yes, but at the moment X can’t do what Y can. A set of features was used to create a popular app, service or game, a different set of features will produce a different product. The new product doesn’t have to be superior in every way in order to succeed.

    Not as Black and White as we’d like it to be

    When PC was introduced it wasn’t as fast as consoles at the time. People argued that it's not good for gaming. Today it's the other way around. Nintendo Switch was released with 1 teraflop performance on a market where the competition was PS 4 Pro - 4.2 teraflop - and XBox One X - 6 teraflop and become one the fastest selling consoles of all times. Clearly, there was more to the story than just performance. After all, why do even consoles exist when they are inferior to the PC.

    So what are the upsides of gaming in the browser and what do we have to put up with?

    Upsides:

    • Instant Gaming - fast as loading up a website
    • Cross play - No need to convince your friends to buy the same console to play the same games together.
    • Seamless Updates - No delayed gaming sessions because a new 30GB update just got released.
    • Low Resistance - When something is only one click away, it's more likely to give it a try.
    • One Standard - Porting Games is unnecessary. If you have a browser, you have access to the game.

    Downsides:

    • Limited Graphics - Web standards are behind the cutting edge APIs available on other platforms.
    • Fast Internet Required - You need a reasonably good internet speed. E.g.: 4G on your phone.
    • Deviation from Standards - Some browser vendors make it difficult for devs to use the same codebase.

    Conclusion
    We probably going to see a form of merger in the long run. Apps will merge with websites and the same goes for games, and they partly already did on mobile devices. It's not the question of better or worse, or whether it will provide a better experience for everybody or not. It's more about what will become mainstream? When most people sit down to play a game, what device they will reach out to and what platform will deliver most games?

    Feel free to disagree and leave a comment below if you have something to say :)



      Report Article


    User Feedback


    I believe that games will not become browser based, inevitably. Here's why:

    LIBRARIES!!!

    With the push for higher end graphics, and the want of the consumer to have these higher quality graphics, I think that unless browsers are able to support higher end graphics libraries (like we are seeing with WebGL, but now people are making the move to Vulkan. Will we have Web-kan?) that we won't see a switch to browsers anytime soon, at least for AAA games. Not to mention that of the tools available, there is a limited subset that is available in browsers today. From what I know, there isn't a 3D audio library for browsers, nor is there any ability to add scripting support (I suppose you could add it in the back-end, but that would be a little bit too much for the browser to handle with those get and post requests.)

    PERFORMANCE!!!

    Another thing to mention is the ability for a native program to access the memory specified by the OS, rather than using browser memory. This allows programmers to have access to a larger array of memory, and speeds up memory access, than just requesting the browser to request memory from the OS. Also, with a program like a game, it can take advantage of the OS scheduler and be put into the correct priority that the game needs to, rather than being stuck in a browser and doing goodness-knows-what to the scheduler. 

    I am biased in this regard though: I hate browsers using up almost all of my computers processing time and memory.

    Share this comment


    Link to comment
    Share on other sites


    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Advertisement
  • Advertisement
  • Latest Featured Articles

  • Featured Blogs

  • Popular Now

  • Similar Content

    • By Zippy1970
      I've created a HTML5 2D canvas game and I'm now ready to take the step and convert it to a native Android (and iOS) app. The game works perfectly fine in any desktop or mobile browser. Animations are fast and smooth.
      After some research, I decided Cordova was the way to go to create native apps for Android and iOS. My first priority is Android, simply because I have an Android phone myself and I don't have a Mac (which apparently is required to build iOS apps).
      I have looked at Cocoon.io and although that might be an even better option than Cordova (since it's actually build on top of Cordova), the thing that made me run from it is the fact that it costs $500 just to remove the "build with Cocoon" splash screen...
      After installing all prerequisites (cordova, Android Studio, nodes.js) building my first APK was easy.
      When I ran my game in the Android emulator, the game was abysmally slow... Testing it on my device yielded the same slow results. After searching the internet, I figured it was because on some devices, an old and slow WebView is used by native apps to display HTML5 content. Still strange since my phone uses Android 7.0.0 and the emulator uses Android 8.0.0...
      I quickly found FastCanvas, a PhoneGap/Cordova plugin that adds a very fast canvas "compatible" rendering surface. But it was last updated in 2013 and after trying to get it to work for almost 16 hours straight, I came to the conclusion there's no way to get this to work with the current version of Cordova.
      I then found CrossWalk-WebView. This too was pretty old and a pain to get it to work with the current version of Cordova. And when I did get it to work, I quickly found out it created a few new problems making my game unplayable (noticeably a strange lag when touching the screen. Not the famous 300ms input lag, but after touching the screen, the entire game would freeze for 200ms-300ms). So I had to give up on Crosswalk as well.
      So now I am at a loss. Can anyone offer me suggestions on how to speed up canvas rendering in Cordova? It's pretty darn frustrating that my HTML5 game is finished and I'm ready for publication, only to find out that's not as easy everyone says it is...
      (BTW, I've posted the same question on a few other forums to reach as many game developers as possible.)
    • By Pedro Alves
      i have a problem i can make work the verificay if user existe our not
      i using nodejs ,express,mysql
      i put my link to project in github the code its to big
      https://github.com/Kammikazy/project
      find the soluction to my problem
       
       
       
       
    • By INTwindwolf
      THE PROJECT

      INT is a 3D Sci-fi RPG with a strong emphasis on story, role playing, and innovative RPG features such as randomized companions. The focus is on the journey through a war-torn world with fast-paced combat against hordes of enemies. The player must accomplish quests like a traditional RPG, complete objectives, and meet lively crew members who will aid in the player's survival. Throughout the game you can side and complete missions through criminal cartels, and the two major combatants, the UCE and ACP, of the Interstellar Civil War.
      Please note that all of our current positions are remote work. You will not be required to travel.
      For more information about us, follow the links listed below.
      INT Official website
      Steam Greenlight
      IndieDB page
      Also follow social media platforms for the latest news regarding our projects.
      Facebook
      Twitter
      Website Administrator
      We are seeking a talented and keen Web Administrator. The Web Admin will perform periodic updates, improve the design of the official website and enhance user experience of online content, including a web comic and blogs.
      Your duties include:
      1. Manage online content for company website.
      2. Enhance existing aesthetics and user experience for web properties.
      3. Work with team leads to institute content calendar for company website.
      4. Help implement strategies to increase website traffic.
      5. Proofread content.
      6. Remain current with emerging web technologies.
      7. Attend weekly remote team meeting.
      REQUIREMENTS
      To be successful in this position, following requirements apply:
      HTML, WordPress, CSS expertise. SEO basics Outstanding communication skills. Ability to complete tasks remotely without supervision. REVENUE-SHARE
      This is a great opportunity to get into the game development industry. Being an Indie team we do not have the creative restrictions often imposed by publishers or other third parties. We are extremely conscientious of our work and continuously uphold a high level of quality throughout our project.
      We are unable to offer wages or per-item payments at this time. However revenue-sharing from crowd-funding is offered to team members who contribute 15-20 hours per week to company projects, as well as maintain constant communication and adhere to deadlines. Your understanding is dearly appreciated.
      TO APPLY
      Please send your Cover Letter, CV, Portfolio (if applicable), and other relevant documents/information to this email: JohnHR@int-game.net
      Thank you for your time! Please feel free to contact me via the email provided should you have any questions or are interested to apply for this position. We look forward to hearing from you!
      John Shen
      HR Lead
      Starboard Games LLC
    • By Sir StevenK
      Hi, I begin in the creation of video games and I have just published my first "big" project.
      You can test it on https://www.kongregate.com/games/IndieBaie/monster-tycoon
       
      Don't hesitate to share your feedback.
    • By Krystman
      I recently finished a very comprehensive series on how to make games with Pico-8. I walk through the entire process of developing a polished Breakout/Arkanoid clone from start to finish. I assume absolutely ZERO programming experience. Let me know what you think!
       
       
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!