Rapid Game Development Using Cocos2d-JS


Book Description

Get a gentle introduction to the Cocos2d-JS framework to begin working with sprite manipulations, animations, and other 2d game development topics. This book covers environment setup and getting started with a framework that works seamlessly across all browsers. Rapid Game Development Using Cocos2d-JS teaches you the overall architecture of Cocos2d-JS and explains the internal working of the framework. You will dive deep into sprites, the most important entity in Cocos2d-JS, animation APIs, and primitive shapes. You’ll also learn about the Cocos2d-JS UI system to get a head start in 2d game development. Finally, you’ll discover the features of Chipmunk (the built-in physics engine) with full examples. What You'll Learn Get a simple head start in Cocos2d-JS Gain an architectural overview of the different blocks of the framework Master sprites, spritesheets, and frame animation Work with the event system in Cocos2d-JS Discover the animation APIs in Cocos2d-JS Leverage the built-in physics engine Who This Book Is For Beginners looking to develop cross-platform mobile/web games with cocos2d-js, developers with intermediate skills on cocos2d-js looking for the reference.




Learning Cocos2d-JS Game Development


Book Description

If you are new to game development or have just gotten your teeth into developing games but desire to learn more, then this book is for you. An understanding of the essentials of JavaScript is required.




HTML5 Game Development Insights


Book Description

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.




Beginning Facebook Game Apps Development


Book Description

Today's Facebook is emerging to become tomorrow's operating system, according to some. Certainly, a WebOS. Web standards-based apps using HTML5, JavaScript, CSS3 and more are now possible on Facebook. Why not get started with developing and selling Facebook game apps on Facebook's App Store? Beginning Facebook Game Apps Development gets you started with building your first game apps that run on Facebook. Become your own "Zynga" and create your own "Civilization" or "Farmville" and more. Build rich Web-based apps that you can sell on Facebook's App Store. Because these apps are built on Web standards, you can build and run on many browsers and—more interestingly—more computers, tablets, smartphones and even other devices and appliances that are Web-connected or enabled.




The Indie Game Developer Handbook


Book Description

The indie game developer’s complete guide to running a studio. The climate for the games industry has never been hotter, and this is only set to continue as the marketplace for tablets, consoles and phones grow. Seemingly every day there is a story of how a successful app or game has earned thousands of downloads and revenue. As the market size increases, so does the number of people developing and looking to develop their own app or game to publish. The Indie Game Developer Handbook covers every aspect of running a game development studio—from the initial creation of the game through to completion, release and beyond. Accessible and complete guide to many aspects of running a game development studio from funding and development through QA, publishing, marketing, and more. Provides a useful knowledge base and help to support the learning process of running an indie development studio in an honest, approachable and easy to understand way. Case studies, interviews from other studies and industry professionals grant an first-hand look into the world of indie game development




Hands-On Game Development with WebAssembly


Book Description

Make your WebAssembly journey fun while making a game with it Key FeaturesCreate a WebAssembly game that implements sprites, animations, physics, particle systems, and other game development fundamentalsGet to grips with advanced game mechanics in WebAssemblyLearn to use WebAssembly and WebGL to render to the HTML5 canvas elementBook Description Within the next few years, WebAssembly will change the web as we know it. It promises a world where you can write an application for the web in any language, and compile it for native platforms as well as the web. This book is designed to introduce web developers and game developers to the world of WebAssembly by walking through the development of a retro arcade game. You will learn how to build a WebAssembly application using C++, Emscripten, JavaScript, WebGL, SDL, and HTML5. This book covers a lot of ground in both game development and web application development. When creating a game or application that targets WebAssembly, developers need to learn a plethora of skills and tools. This book is a sample platter of those tools and skills. It covers topics including Emscripten, C/C++, WebGL, OpenGL, JavaScript, HTML5, and CSS. The reader will also learn basic techniques for game development, including 2D sprite animation, particle systems, 2D camera design, sound effects, 2D game physics, user interface design, shaders, debugging, and optimization. By the end of the book, you will be able to create simple web games and web applications targeting WebAssembly. What you will learnBuild web applications with near-native performance using WebAssemblyBecome familiar with how web applications can be used to create games using HTML5 Canvas, WebGL, and SDLBecome well versed with game development concepts such as sprites, animation, particle systems, AI, physics, camera design, sound effects, and shadersDeploy C/C++ applications to the browser using WebAssembly and EmscriptenUnderstand how Emscripten HTML shell templates, JavaScript glue code, and a WebAssembly module interactDebug and performance tune your WebAssembly applicationWho this book is for Web developers and game developers interested in creating applications for the web using WebAssembly. Game developers interested in deploying their games to the web Web developers interested in creating applications that are potentially orders of magnitude faster than their existing JavaScript web apps C/C++ developers interested in using their existing skills to deploy applications to the web




Building Android Games with Cocos2d-x


Book Description

If you have a basic understanding of the C++ programming language and want to create videogames for the Android platform, then this technology and book is ideal for you.




Developing 2D Games with Unity


Book Description

Follow a walkthrough of the Unity Engine and learn important 2D-centric lessons in scripting, working with image assets, animations, cameras, collision detection, and state management. In addition to the fundamentals, you'll learn best practices, helpful game-architectural patterns, and how to customize Unity to suit your needs, all in the context of building a working 2D game. While many books focus on 3D game creation with Unity, the easiest market for an independent developer to thrive in is 2D games. 2D games are generally cheaper to produce, more feasible for small teams, and more likely to be completed. If you live and breathe games and want to create them then 2D games are a great place to start. By focusing exclusively on 2D games and Unity’s ever-expanding 2D workflow, this book gives aspiring independent game developers the tools they need to thrive. Various real-world examples of independent games are used to teach fundamental concepts of developing 2D games in Unity, using the very latest tools in Unity’s updated 2D workflow. New all-digital channels for distribution, such as Nintendo eShop, XBox Live Marketplace, the Playstation Store, the App Store, Google Play, itch.io, Steam, and GOG.com have made it easier than ever to discover, buy, and sell games. The golden age of independent gaming is upon us, and there has never been a better time to get creative, roll up your sleeves, and build that game you’ve always dreamed about. Developing 2D Games with Unity can show you the way. What You'll Learn Delve deeply into useful 2D topics, such as sprites, tile slicing, and the brand new Tilemap feature. Build a working 2D RPG-style game as you learn.Construct a flexible and extensible game architecture using Unity-specific tools like Scriptable Objects, Cinemachine, and Prefabs.Take advantage of the streamlined 2D workflow provided by the Unity environment. Deploy games to desktop Who This Book Is For Hobbyists with some knowledge of programming, as well as seasoned programmers interested in learning to make games independent of a major studio.




OpenGL ES 2 for Android


Book Description

Printed in full color. Android is booming like never before, with millions of devices shipping every day. It's never been a better time to learn how to create your own 3D games and live wallpaper for Android. You'll find out all about shaders and the OpenGL pipeline, and discover the power of OpenGL ES 2.0, which is much more feature-rich than its predecessor. If you can program in Java and you have a creative vision that you'd like to share with the world, then this is the book for you. This book will teach you everything you need to know to create compelling graphics on Android. You'll learn the basics of OpenGL by building a simple game of air hockey, and along the way, you'll see how to initialize OpenGL and program the graphics pipeline using shaders. Each lesson builds upon the one before it, as you add colors, shading, 3D projections, touch interaction, and more. Then, you'll find out how to turn your idea into a live wallpaper that can run on the home screen. You'll learn about more advanced effects involving particles, lighting models, and the depth buffer. You'll understand what to look for when debugging your program, and what to watch out for when deploying to the market. OpenGL can be somewhat of a dark art to the uninitiated. As you read this book, you'll learn each new concept from first principles. You won't just learn about a feature; you'll also understand how it works, and why it works the way it does. Everything you learn is forward-compatible with the just-released OpenGL ES 3, and you can even apply these techniques to other platforms, such as iOS or HTML5 WebGL.




Learning Cocos2D


Book Description

Build the Next Great iOS Game with Cocos2D! Cocos2D is the powerhouse framework behind some of the most popular games in the App Store. If you’ve played Tiny Wings, Angry Birds, Mega Jump, Trainyard, or even Super Turbo Action Pig, then you’ve played a game that uses Cocos2D or Box2D physics. The beauty of Cocos2D is its simplicity. It’s easy to become overwhelmed when you start developing an iOS game, especially if you look at things like OpenGL ES, OpenAL, and other lower level APIs. Writing a game for the iPhone and iPad does not have to be that difficult, and Cocos2D makes game development fun and easy. Learning Cocos2D walks you through the process of building Space Viking (which is free on the App Store), a 2D scrolling game that leverages Cocos2D, Box2D, and Chipmunk. As you build Space Viking, you’ll learn everything you need to know about Cocos2D so you can create the next killer iOS game. Download the free version of Space Viking from the App Store today! Help Ole find his way home while learning how to build the game. As you build Space Viking, you’ll learn how to Install and configure Cocos2D so it works with Xcode 4 Build a complete 2D action adventure game with Cocos2D Add animations and movement to your games Build your game’s main menu screen for accessing levels Use Cocos2D’s Scheduler to make sure the right events happen at the right times Use tile maps to build scrolling game levels from reusable images Add audio and sound effects with CocosDenshion—Cocos2D’s sound engine Add gravity, realistic collisions, and even ragdoll effects with Box2D and Chipmunk physics engines Add amazing effects to your games with particle systems Leverage Game Center in your game for achievements and leader boards Squeeze the most performance from your games along with tips and tricks