bob thulfram PDF: 1 to 1 of 1 results fetched - page 1 [au]

Beginning Firefox OS HTML5 Game Programming
You probably know what Mozilla Firefox the browser is, but you may not know that Firefox has started a wide-reaching initiative to create a new operating system for phones and tablets. World-wide and open source, Firefox OS takes a modern browser with the latest HTML5 features and puts it on top of a small Linux kernel. The resulting product runs on inexpensive devices, is free, and has long battery life. The best part of Firefox OS is that all applications can be written in HTML5. Your development environment is any text editor and Firefox. That's all! Firefox has an app store called the Marketplace where you can put your apps up for sale. You can also do in-app purchases and advertising. And of course, one of the most popular app categories is games. This book will show you in great detail how to get started making games for Firefox OS games. Covering all the main HTML5 technologies needed to create games, this book gives you 26 stand-alone code examples and explains the code in each one. All code was tested carefully on two current Firefox OS phones. In addition, three standard game technologies are examined, compared, and contrasted: CSS Sprites, Canvas, and SVG (Scalable Vector Graphics). You will see examples using each of the three to move graphics, detect collisions, and more. Variations within Canvas and SVG are explored as well. You'll also see examples for phone-specific technologies such as Touch, Vibration, Device Orientation, and Screen Orientation. You'll also be shown how to upgrade your Firefox OS phone, how to use the Simulator if you don't have a phone, and how to use the App Manager to put your apps on phones.This book assumes you know the basics of HTML5, CSS, and JavaScript, and that you are interested in making games. Concepts and code are explained carefully along the way and newer options like CSS Sprites and SVG are covered extensively, as well as current JavaScript and HTML5 tips and tricks. In fact, except for the phone-specific chapters, you can use these techniques to make HTML5 games for other platforms. All the code is straight HTML5, CSS, SVG, and JavaScript with no libraries, no jQuery, nothing but pure code. The focus is 100% on Firefox OS games and I hope you will be inspired to create games for this fast-growing platform. The book is written in an informal, friendly style that invites the reader to come along and explore the fun that is Firefox OS! There isn't just one way to write a game, there are a great many, and it is hoped that this book can inform and inspire you to make your own games.Here is a list of the chapters in Beginning Firefox OS Game Programming:Introduction to Firefox OS Game ProgrammingPushing your Game to a DeviceMeasuring Screen Size from the InsideBouncing a Ball in CSSDrawing with Canvas - Part 1Drawing with Canvas - Part 2Drawing with Canvas - Part 3Bouncing SVG - Part 1Bouncing SVG - Part 2Bouncing SVG - Part 3Touch and more SVGScreen OrientationCSS ShellCSS CollisionsCanvas Collisions in ColorSVG CollisionsCSS, Canvas, SVG ComparedHTML5 Audio - Part 1HTML5 Audio - Part 2HTML5 Audio - Part 3HTML5 Audio - Part 4HTML5 Audio - Part 5VibrationDevice OrientationLocal StorageAsynchronous StorageIndexedDB StorageSimple Complete Game - PaddleFox!Submitting a Game to the MarketplaceResources for Going Further
Author: Bob Thulfram
Published by: Bob Thulfram | Publication date: 03/13/2014
Kindle book details: Kindle Edition, 402 pages