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 you’ll learn
“From The Trenches” tips, hacks, and advice on HTML5 game development Best practices for building Mobile HTML5 games Actionable advice and code for both professional and novicesWho 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, it?s like looking over the shoulder of the top HTML5 game developers! Table of ContentsPART 11. JavaScript is Not the Language You Think it is 2. Optimal Asset Loading3. Performance JavaScript4. Efficient JavaScript Data StructuresPART 25. Faster Canvas Picking6. Autotiles7. Leveraging Flash for HTML58. Applying Performance Improvement Techniques Used in Old-School Videogames9. Optimizing WebGL Usage10. Playing Around with the Gamepad APIPART 311. Introduction to WebSockets 12. Multiplayer Real-time NetworkingPART 413. Responsive Game Design: Letting Game Mechanics and Controller Inputs Flow with Your Layout14. Making a Game That Works on Both Mobile and Desktop 15. Better Than Native: 60fps Fullscreen on Mobile16. Creating Mobile Web Games with Canvas 2D API17. Faster Map RenderingPART 518. Writing C++ on the Web with Emscripten19. Making HTML5 Games with TypeScript20. Best Practices When Implementing the Main LoopPART 621. Using Crunch for Super-compressed WebGL Textures22. Building a 2D Map Editor in HTML523. Building Automated Workflows With NodeJS and Grunt24. Build a Game with Cocos2d-html5 Library« less