HTML5 Game Development Insights

HTML5 Game Development Insights

4.11 - 1251 ratings - Source

HTML5 Game Development Insights is a from-the-trenches collection of tips, tricks, hacks, and advice straight from professional HTML5 game developers. The 24 chapters here include unique, cutting edge, and essential techniques for creating and optimizing modern HTML5 games. You will learn things such as using the Gamepad API, real-time networking, getting 60fps full screen HTML5 games on mobile, using languages such as Dart and TypeScript, and tips for streamlining and automating your workflow. Game development is a complex topic, but you don't need to reinvent the wheel. HTML5 Game Development Insights will teach you how the pros do it. The book is comprised of six main sections: Performance; Game Media: Sound and Rendering; Networking, Load Times, and Assets; Mobile Techniques and Advice; Cross-Language JavaScript; Tools and Useful Libraries. Within each of these sections, you will find tips that will help you work faster and more efficiently and achieve better results. Presented as a series of short chapters from various professionals in the HTML5 gaming industry, all of the source code for each article is included and can be used by advanced programmers immediately. What youa€™ll learn a€œFrom The Trenchesa€ tips, hacks, and advice on HTML5 game development Best practices for building Mobile HTML5 games Actionable advice and code for both professional and novices Who this book is for HTML5 Game Development Insights is for the game developer looking to improve their development process at all stages of the game development pipeline; The nuggets of awesome in this book are applicable both to the hobbyist, trying to track down a performance bug in rendering, and the professional, who is looking to speed up loading time by re-packing their artist-generated images. With this book, ita€™s like looking over the shoulder of the top HTML5 game developers! Table of Contents PART 1 1. JavaScript is Not the Language You Think it is 2. Optimal Asset Loading 3. Performance JavaScript 4. Efficient JavaScript Data Structures PART 2 5. Faster Canvas Picking 6. Autotiles 7. Leveraging Flash for HTML5 8. Applying Performance Improvement Techniques Used in Old-School Videogames 9. Optimizing WebGL Usage 10. Playing Around with the Gamepad API PART 3 11. Introduction to WebSockets 12. Multiplayer Real-time Networking PART 4 13. Responsive Game Design: Letting Game Mechanics and Controller Inputs Flow with Your Layout 14. Making a Game That Works on Both Mobile and Desktop 15. Better Than Native: 60fps Fullscreen on Mobile 16. Creating Mobile Web Games with Canvas 2D API 17. Faster Map Rendering PART 5 18. Writing C++ on the Web with Emscripten 19. Making HTML5 Games with TypeScript 20. Best Practices When Implementing the Main Loop PART 6 21. Using Crunch for Super-compressed WebGL Textures 22. Building a 2D Map Editor in HTML5 23. Building Automated Workflows With NodeJS and Grunt 24. Build a Game with Cocos2d-html5 LibraryThe backing store is used as a form of double buffering, as you may be drawing to the canvas object while a monitor refresh event occurs. ... HiDPI screen (such as Macbook Pro with Retina display), some browsers create the backing store at a scale different from a 1:1 pixel ratio; ... needs to upscale the image to the matching backing store resolution before copying those pixels to their screen destination.

Title:HTML5 Game Development Insights
Author:Colt McAnlis, Peter Lubbers, Brandon Jones, Andrzej Mazur, Sean Bennett, Bruno Garcia, Shun Lin, Ivan Popelyshev, Jon Howard, Ian Ballantyne, Takuo Kihira, Jesse Freeman, Tyler Smith, Don Olmstead, Jason Gauci, John McCutchan, Chad Austin, Mario Andres Pagella, Florian d'Erfurth, Duncan Tebbs
Publisher:Apress - 2014-04-16


You Must CONTINUE and create a free account to access unlimited downloads & streaming