Skip to main content

Posts

Showing posts with the label lecture notes HTML5 Game Development

HTML5 Game Development

HTML5 Game Development If you bind up with the texture packer then it gives you lots of hope to move further. Previous discussed topics are: Atlases, JSON Implementation, HTML5, and Texture Packer. For providing a proper output you need to process these three functions: Define variable for Object. Load object with the help of JSON. Draw the object.   FRAME TRIMMING FRAME TRIMMING is a method to remove the unused pixels from the rendered object. After parsing the image from Texture packer, that image contains lots of unused area over the boundary. To make that image work for the game you need to remove the unused pixels and here you need this functionality. Here is an example, your main object is the blue one but you have parsed the rectangular box. To remove those lots of unused area you need to work with frame trimming. For this there is an function named ParseAtlas , The PasreAtlas Defination function is used to remove the unuse...

HTML5 Mobile Device Game Development

                                          Why you use HTML5 for Mobile game development? HTML5 is a Hyper Text Markup Language version 5. HTML5 is used as a skeleton for any web content. It means it is used for presenting content for the WWW and Internet. It is a fifth recommendation of World Wide Consortium (W3C ). HTML5 is rich in dynamic property. It enhances the capabilities of HTML with the high level support of latest multimedia and DOM level 2 HTML. HTML5 is widely used for the Mobile Websites and Mobile Applications. It provides wide range of capabilities for the developers with tools as Offline Web Storage, GeoLocation, Canvas Drawing, CSS3 and many more. The World Wide Consortium (W3C) and Web Hypertext Application Technology Working Group (WHATWG) are current working on the development of HTML5. W3C plan to release a stable HTML5 Recommendation by the e...