HTML5 Game Development – Reel Game Development Using HTML5

Technology is changing every day.  HTML5 is not a new term in the industry, but have you ever wondered why HTML is getting popular day by day? What about the impact it will have in the gaming industry? In this blog we will try to answer the most of common questions and concerns that everyone has in their mind:

  • What is HTML5?
  • Can it really replace Flash (Action Script)?
  • How to create Reel games using HTML5 & Challenges faced

Deciding which tools to use for creating the game

A Few Important Facts About HTML5

HTML5 is the latest generation mark-up language being adopted by the W3C.  By itself, HTML5 as a mark-up language would hold little comparison to the interactive user experience of Flash.  What makes HTML5 interesting is jQuery and Cascading Style Sheet 3.0 (CSS). jQuery’s ability to manipulate the document object model (DOM) and dynamically change the style and behavior is where the rich interactive user experience begins.  It’s the power of the 3 together that make up the new “HTML5″ paradigm is what’s creating the buzz.

  • Why has HTML5 suddenly become more popular? It is due to the fact that it works on all platforms.  It includes all the iOS devices and Android devices/tablets.
  • Flash needs additional plug-ins (Flash Player) to run on any website, while HTML5 needs only a (modern) browser.
  • HTML5 is infant at this stage and Flash is a matured product in the market.
  • At this time Flash is the market leader which has 95-97% of market shares, while HTML5 has 4-5% of market share.
  • Today 30% of Fortune 500 Company’s web sites uses HTML5.
  • Normal end user will not able to tell the difference between HTML5 site and Flash based site.

Comparing HTML5 and Flash

These are two different products; HTML5 is not a replacement of Flash, currently.  HTML5 provides many features which are currently being provided by Flash.  Due to this reason many companies are adopting HTML5

  • HTML5 can be run on any platform, including iOS.  Due to this reason, HTML5 is the next big thing.
  • We don’t need to buy any software for the development purpose.  It will save good amount in licensing fees.  Native app development is always more costly than normal development.
  • End users don’t need to install any plug-ins on the browser to play the contents.

HTML5 Features

Previously, in order to implement a variety of simple functionalities, we needed to depend on the 3rd party API.  But now, we can achieve the same desired effect without using 3rd party products.

Other Features Provided by HTML5

  • 2D drawing API with the canvas element
  • API for playing of video and audio with the video and audio elements
  • API that enables offline Web applications
  • API that allows a Web application to register itself for certain protocols or media types
  • Editing API in combination with a new global ‘content-editable’ attribute
  • Drag & drop API in combination with a ‘draggable’ attribute
  • API that exposes the history and allows pages to add to it to prevent breaking the back button
  • Cross-document messaging with postMessage

Explore HTML5 Using This Diagram:

How to Create Reel Game Using HTML5

In order to create a reel game, we can definitely use HTML5.

  • In order to create game in HTML5, the developer needs to have good understanding of Java Script, JQuery and CSS3, as well as experience.
  • In order to create the game in HTML5, we will need a .Net resource to take care of the web service/WCF service, HTML5 (Java script +JQuery + CSS) for the UI development and graphic resource to create assets for the game.
  • The most challenging part of a reel game is to take care of the reel spinning effect.  Once we take care of it, all other tasks are relatively easy.
  • Animation will be taken care by the JQuery and CSS3 as it has few tags.
  • We can use REST in WCF/web service (we will use Jason).

Challenges We Might Face During HTML5 Game Development

  • It is important to note that HTML 5 standard isn’t finished yet.  It has been under development since 2004.  World Wide Web Consortium (W3C) is still in process of making changes.  It will be standardized in 2014.
  • Each browser works in different ways.  Many times, things work fine on one browser, while it may not give correct results on another browser.  Example: CSS3 has few known issues with IE9.
  • HTML5 uses the CSS2 and CSS3, which has many known issues including performance problems.
  • HTML5 might create a debugging nightmare.  Many errors occur on the runtime.  It is not a language which can compile the code and provide list of issues.
  • At this time HTML5 doesn’t support 3D animation.
  • Peer-to-Peer networking is still currently not available for HTML5 (there are some workarounds).  But then again, you can develop a hybrid app which uses very little native code and relies mostly on HTML5.
  • Many developers claim that the audio feature of HTML5 has an issue.  Many times packets get lost and few browsers favor the type of the audio format used.  For example: Safari favors MP3.
  • In many cases Flash uses the CPU in much better ways than HTML5, in a head to head comparison.

In short HTML5 is the next big thing – once it becomes more mature and standardized.  But, even now it can be used for game development. HTML 5 and Flash have their own Pros and Cons. It is mainly recommended to use HTML5 for following reasons:

  • The object is to run the web site on various devices including iOS environment
  • It saves on license fees of the software (AS)
  • No need to install any plug-ins on the browser to run the web site
  • We are sure that end user is using latest version of the browser
  • You want to make a dynamic application which will adjust as per the device resolution
  • You don’t want to develop a code for the native app
  • If we want, there can be one code base which can run on all browsers

About Authors:

This article is written by Nikhil Koranne, Project Manager, with Chetu, Inc.  Chetu provides industry specific and niche technology solutions. Be it Healthcare, Retail, Finance, Telecom, Gaming, Hospitality, Travel, E-Learning, Supply chain or others. Its services include process and systems design, package implementation, custom development, IT infrastructure management, business intelligence and reporting, systems integration, as well as testing, maintenance and support. Chetu‘s expertise spans across the entire IT spectrum.

Related Post:

What is IT Service and IT Solution for Business?


About sobhifakri

I am search engine professional, Mostly time I spent on the Internet, Research new thinks all time.
This entry was posted in computer and tagged , , , , , , . Bookmark the permalink.

6 Responses to HTML5 Game Development – Reel Game Development Using HTML5

  1. hey there and thank you for your information – I’ve definitely picked up something new from right here. I did however expertise some technical issues using this website, since I experienced to reload the website many times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I am complaining, but sluggish loading instances times will very frequently affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Well I am adding this RSS to my email and could look out for a lot more of your respective fascinating content. Ensure that you update this again very soon.

  2. 519359 329146Hi, Neat post. Theres a difficulty together with your site in internet explorer, would test this IE nonetheless may be the market leader and a big portion of folks will miss your wonderful writing because of this difficulty. 116740

  3. Deedra says:

    This is a comment to the webmaster. Your website is missing out on at least 300 visitors per day. I have found a company which offers to dramatically increase your traffic to your site: They offer 1,000 free visitors during their free trial period and I managed to get over 30,000 visitors per month using their services, you could also get lot more targeted visitors than you have now. Hope this helps 🙂 Take care.

  4. :D! New update! You’ve unquestionably been working on your writing skills. Good work 🙂 Thank you so much for the creativity of well – you!

  5. Nice One this made a very nice read I appreciate you making the effort and sharing this with us.

  6. Hey there! I could have sworn I’ve been to this website before but after reading through some of the post I realized it’s new to me. Nonetheless, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s