Discover how to build an Android game and distribute it in the Google
Play app store, using Cocos2d-x and the Eclipse Platform. Plus, author
Todd Perkins shows how to monetize your game further with income from
Google Mobile ads. The course demonstrates how to install and set up
your coding environment; build the game’s core scenes, layers, and
sprites; handle touch and accelerometer data; create classes based on a
detailed game flow chart; and manage misses, wins, and scores. Last,
you’ll prepare your game to support Google ads and in-app purchases.
Uploaded.net
Rapidgator.net
Uploadable.ch
K2s.cc Topics include:
- Installing and downloading Cocos2d-x
- Positioning sprites and adjusting their properties
- Creating simple frame animations
- Designing for multiple screen sizes
- Adding buttons
- Incorporating audio
- Creating the core classes and constants
- Adding the game layers and background
- Displaying challenges at timed intervals
- Displaying the player’s score
- Enabling a pause feature
- Enabling ads and in-game purchases for Google Play and the Amazon Appstore for Android
Table of content
- Introduction
- Welcome
- Using the exercise files
- What you should know before starting this course
- Viewing the finished game
- Installing Cocos2d-x
- Understanding and downloading Cocos2d-x
- Downloading the Android NDK
- Creating a Cocos2d-x project template for Eclipse
- Finishing the project template
- Preparing Eclipse to use C++
- Importing the project into Eclipse
- Adding GLES 2.0 support to your emulator
- Fixing additional compiler issues
- An Introduction to Cocos2d-x
- Understanding scenes, layers, and sprites
- Using scenes, layers, and sprites
- Positioning sprites
- Adjusting basic sprite properties
- Handling touches
- Accessing accelerometer data
- Understanding Cocos2d actions
- Working with sprite sheets
- Creating simple frame animations
- Setting a game to display in portrait mode
- Designing for multiple screens
- Running Java code from C++
- Running C++ code from Java
- Using buttons
- Playing audio
- Creating the Core Classes
- Viewing a flowchart of the game’s core classes
- Creating constants and editing the AppDelegate and Main classes
- Building the GameButton class
- Constructing the custom pop-up menu utility
- Setting up the code in the MainMenu class
- Making the Utils class
- Building the Basic Mole-Whacking Game
- Adding the game layers and the background
- Laying out moles in the Game class
- Animating the moles
- Displaying moles at a specified time interval
- Handling touches in the game
- Displaying the player’s score
- Handling misses
- Controlling the number of moles on the screen
- Adding sound
- Enabling a pause feature
- Displaying the game-over screen
- Saving the player’s high score
- Placing Ads in Your Game
- Preparing your game to support Google ads
- Implementing Google ads in your game
- Adding In-App Purchases
- Handling skins in your game code
- Setting up in-app purchases (IAP) for an Amazon Appstore app
- Implementing Amazon IAP code
- Setting up IAP for Google Play
- Implementing Google Play IAP code
- Going Forward and Getting Help
- Using the Cocos2d-x website
- Viewing additional Android game development resources
- Conclusion
- Goodbye
Rapidgator.net
Uploadable.ch
No comments:
Post a Comment