Special Offers see all
More at Powell'sRecently Viewed clear list |
HTML5 Canvas: Native Interactivity and Animation for the Webby Steve Fulton
Synopses & ReviewsPublisher Comments:HTML5 is revolutionizing the way web applications are developed, and this practical, hands-on book puts you right in the middle of the action. You'll learn how to build interactive multimedia applications with HTML5's Canvas, using this new element to draw, animate, compose images, and more. You'll also learn the best way to use existing JavaScript libraries, as well as how to incorporate related aspects such as audio and video. Ideal for web developers and experienced Flash and Silverlight developers, HTML5 Canvas shows you how to build several interactive web games as a way to learn the topics presented. The book also includes tips for Flash developers on how to transfer their skills to HTML5 programming. Now is the time to join the HTML5 revolution, and this is the book to get you started.
Synopsis:No matter what platform or tools you use, the HTML5 revolution will soon change the way you build web applications, if it hasn't already. HTML5 is jam-packed with features, and there's a lot to learn. This book gets you started with the Canvas element, perhaps HTML5's most exciting feature. Learn how to build interactive multimedia applications using this element to draw, render text, manipulate images, and create animation. Whether you currently use Flash, Silverlight, or just HTML and JavaScript, you'll quickly pick up the basics. Practical examples show you how to create various games and entertainment applications with Canvas as you learn. Gain valuable experience with HTML5, and discover why leading application developers rave about this specification as the future of truly innovative web development.
About the AuthorSteve is an R.I.A. and web game developer who has been cultivating an audience for news, stories, blogs and tutorials about Flash, Silverlight, and now the HTML 5 Canvas at their own web site, http://www.8bitrocket.com, for the past 3 1/2 years. He has one of the highest Alexa rankings among Flash game developers blogs. Steve has worked as a web development manager at Mattel Toys for the past 14 years, helping to create Mattels extensive online presence. Jeff is an R.I.A. and web game developer who has been cultivating an audience for news, stories, blogs and tutorials about Flash, Silverlight, and now the HTML 5 Canvas at their own web site, http://www.8bitrocket.com, for the past 3 1/2 years. He has one of the highest Alexa rankings among Flash game developers blogs. Jeff has worked as a web development manager at Mattel Toys for the past 14 years, helping to create Mattels extensive online presence. Table of ContentsPreface; Running the Examples in the Book; What You Need to Know; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Wed Like to Hear from You; Safari® Books Online; Acknowledgments; Chapter 1: Introduction to HTML5 Canvas; 1.1 The Basic HTML Page; 1.2 Basic HTML We Will Use in This Book; 1.3 The Document Object Model (DOM) and Canvas; 1.4 JavaScript and Canvas; 1.5 HTML5 Canvas Hello World!”; 1.6 Debugging with Console.log; 1.7 The 2D Context and the Current State; 1.8 The HTML5 Canvas Object; 1.9 Another Example: Guess The Letter; 1.10 Whats Next; Chapter 2: Drawing on the Canvas; 2.1 The Basic File Setup for This Chapter; 2.2 The Basic Rectangle Shape; 2.3 The Canvas State; 2.4 Using Paths to Create Lines; 2.5 Advanced Path Methods; 2.6 Compositing on the Canvas; 2.7 Simple Canvas Transformations; 2.8 Filling Objects with Colors and Gradients; 2.9 Filling Shapes with Patterns; 2.10 Creating Shadows on Canvas Shapes; 2.11 Whats Next; Chapter 3: The HTML5 Canvas Text API; 3.1 Displaying Basic Text; 3.2 Setting the Text Font; 3.3 Text and the Canvas Context; 3.4 Text with Gradients and Patterns; 3.5 Width, Height, Scale, and toDataURL() Revisited; 3.6 Final Version of Text Arranger; 3.7 Whats Next; Chapter 4: Images on the Canvas; 4.1 The Basic File Setup for This Chapter; 4.2 Image Basics; 4.3 Simple Cell-Based Sprite Animation; 4.4 Advanced Cell-Based Animation; 4.5 Applying Rotation Transformations to an Image; 4.6 Creating a Grid of Tiles; 4.7 Zooming and Panning an Image; 4.8 Pixel Manipulation; 4.9 Copying from One Canvas to Another; 4.10 Whats Next; Chapter 5: Math, Physics, and Animation; 5.1 Moving in a Straight Line; 5.2 Bouncing Off Walls; 5.3 Curve and Circular Movement; 5.4 Simple Gravity, Elasticity, and Friction; 5.5 Easing; 5.6 Whats Next?; Chapter 6: Mixing HTML5 Video and Canvas; 6.1 HTML5 Video Support; 6.2 Converting Video Formats; 6.3 Basic HTML5 Video Implementation; 6.4 Preloading Video in JavaScript; 6.5 Video and the Canvas; 6.6 Video on the Canvas Examples; 6.7 Animation Revisited: Moving Videos; 6.8 Whats Next?; Chapter 7: Working with Audio; 7.1 The Basic <audio> Tag; 7.2 Audio Formats; 7.3 Audio Tag Properties, Functions, and Events; 7.4 Playing a Sound with No Audio Tag; 7.5 Creating a Canvas Audio Player; 7.6 Case Study in Audio: Space Raiders Game; 7.7 Whats Next; Chapter 8: Canvas Game Essentials; 8.1 Why Games in HTML5?; 8.2 Our Basic Game HTML5 File; 8.3 Our Games Design; 8.4 Game Graphics: Drawing with Paths; 8.5 Animating on the Canvas; 8.6 Applying Transformations to Game Graphics; 8.7 Game Graphic Transformations; 8.8 Game Object Physics and Animation; 8.9 A Basic Game Framework; 8.10 Putting It All Together; 8.11 The player Object; 8.12 Geo Blaster Game Algorithms; 8.13 The Geo Blaster Basic Full Source; 8.14 Rock Object Prototype; 8.15 Whats Next; Chapter 9: Combining Bitmaps and Sound; 9.1 Geo Blaster Extended; 9.2 Creating a Dynamic Tile Sheet at Runtime; 9.3 A Simple Tile-Based Game; 9.4 Whats Next; Chapter 10: Mobilizing Games with PhoneGap; 10.1 Going Mobile!; 10.2 Creating the iOS Application with PhoneGap; 10.3 Beyond the Canvas; 10.4 Whats Next; Chapter 11: Further Explorations; 11.1 3D with WebGL; 11.2 Multiplayer Applications with ElectroServer 5; 11.3 Conclusion; Colophon; What Our Readers Are SayingBe the first to add a comment for a chance to win!Product Details
Related Subjects
Computers and Internet » Computer Languages » HTML
|
|||
|
|
||||
|
|
||||