Book Image

jQuery Game Development Essentials

By : Selim Arsever
Book Image

jQuery Game Development Essentials

By: Selim Arsever

Overview of this book

jQuery is a leading multi-browser JavaScript library that developers across the world utilize on a daily basis to help simplify client-side scripting. Using the friendly and powerful jQuery to create games based on DOM manipulations and CSS transforms allows you to target a vast array of browsers and devices without having to worry about individual peculiarities."jQuery Game Development Essentials" will teach you how to use the environment, language, and framework that you're familiar with in an entirely new way so that you can create beautiful and addictive games. With concrete examples and detailed technical explanations you will learn how to apply game development techniques in a highly practical context.This essential reference explains classic game development techniques like sprite animations, tile-maps, collision detection, and parallax scrolling in a context specific to jQuery. In addition, there is coverage of advanced topics specific to creating games with the popular JavaScript library, such as integration with social networks alongside multiplayer and mobile support. jQuery Game Development Essentials will take you on a journey that will utilize your existing skills as a web developer so that you can create fantastic, addictive games that run right in the browser.
Table of Contents (17 chapters)
jQuery Game Development Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Making your game run well on mobile devices


Performance issues are probably the single biggest problem you will encounter when developing a browser-based mobile game, the main reason being that a wide variety of devices is available, each with very different capabilities.

Even if you chose to support only iOS, which is probably the simplest ecosystem at the moment, you will still have very large differences in performance, screen resolution, and browser support.

To get an idea of the complexity of the situation, take a look at the supported device for jQuery Mobile (http://jquerymobile.com/gbs/). For your game, you should probably have an approach similar to theirs; select a few device/software versions you will target. Your game should work flawlessly on those.

Then make sure that the game runs without errors on a broader selection of devices. On those devices, performance can be less than ideal. Finally, draw a clear line beyond which you won't even bother to test whether your game runs at...