Zamba : (Android Studio+Admob+Reward Video ads+Inapp purchase+Leaderboards)
$25.00
2 sales
Review: Zamba Destroyer Game Template
Introduction: Zamba Destroyer is an addictive and visually stunning entertainment game that will have you hooked from the get-go. With its simplicity and engaging gameplay, it’s no wonder that it’s a top contender among mobile games. In this review, we’ll be taking a closer look at the game’s features, pros, and cons to help you decide if this game template is right for you.
Game Template Features:
- Supports Android 13
- Follows Google Play guidelines strictly
- High-quality HD graphics and beautiful UI
- Soothing music that blends perfectly with the gameplay
- Admob ads implemented (banner, interstitial, and reward videos)
- Unlock multiple characters
- Share button
- Smart rating screen to improve your game rating in Google Play
- More Games button
- Privacy Policy
- Reset Game Button
- Info Screen
- Reskin-friendly with a step-by-step video guide
Pros:
- The game’s UI and graphics are top-notch, making it visually stunning and engaging.
- The reward video ads are implemented smoothly, providing a seamless experience for players.
- The game’s simplicity and easy-to-learn mechanics make it accessible to a wide range of players.
- The reskin guide makes it easy for even non-programmers to customize the game.
Cons:
- The game could benefit from more varied game modes or levels to keep players engaged for longer.
- Some players may find the game’s music a bit too repetitive or not to their taste.
Extended License Features:
- Remove ads in-app purchase
- BB file
- Google Leaderboards
- OneSignal Push Notifications
- Android code for galaxy store, huawei, ziaomi, etc.
- Other ad providers like mobpub, facebook, huawei
Conclusion: Zamba Destroyer is an impressive game template that offers a lot of value for the price. With its engaging gameplay, high-quality graphics, and smooth implementation of Admob ads, it’s a great option for anyone looking to create a successful mobile game. However, it could benefit from some additional features or content to keep players engaged for longer. Overall, we give Zamba Destroyer a score of 0 out of 10.
Recommendation: If you’re interested in purchasing this game template, we recommend taking a closer look at the demo APK and extended license features to see if it fits your needs.
User Reviews
Be the first to review “Zamba : (Android Studio+Admob+Reward Video ads+Inapp purchase+Leaderboards)”
Introduction
Welcome to this comprehensive tutorial on how to use the Zamba game engine to create a mobile game with Android Studio, AdMob, Reward Video ads, In-app purchases, and Leaderboards. Zamba is a popular game engine that allows developers to create 2D games for Android and iOS devices. In this tutorial, we will guide you through the process of setting up a new project in Android Studio, integrating AdMob for monetization, adding Reward Video ads, implementing In-app purchases, and creating Leaderboards.
Prerequisites
Before starting this tutorial, make sure you have the following:
- Android Studio installed on your computer
- A basic understanding of Java or Kotlin programming language
- A Google Play Console account for AdMob and Google Play Store
- A Zamba game engine account for creating and publishing your game
Step 1: Setting up a new project in Android Studio
- Open Android Studio and click on "Start a new Android Studio project" button.
- Choose "Empty Activity" as the project template and click "Next".
- Fill in the project details, such as project name, package name, and location.
- Click "Finish" to create the project.
Step 2: Integrating AdMob
- Open the project structure in Android Studio and navigate to the "app" folder.
- Create a new folder called "admob" and add the AdMob SDK to it.
- Add the following dependencies to the "build.gradle" file:
dependencies { implementation 'com.google.android.gms:play-services-ads:20.6.0' }
- Create a new Java class called "AdMobManager" and add the following code:
import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView; import com.google.android.gms.ads.MobileAds;
public class AdMobManager { private AdView adView;
public AdMobManager(Context context) {
MobileAds.initialize(context);
adView = new AdView(context);
adView.setAdSize(AdSize.BANNER);
adView.setAdUnitId("YOUR_AD_UNIT_ID");
}
public void loadAd() {
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
public void showAd() {
adView.setVisibility(View.VISIBLE);
}
public void hideAd() {
adView.setVisibility(View.GONE);
}
}
5. Replace "YOUR_AD_UNIT_ID" with your actual AdMob ad unit ID.
**Step 3: Adding Reward Video ads**
1. Create a new Java class called "RewardVideoManager" and add the following code:
```java
import com.google.android.gms.ads.reward.RewardItem;
import com.google.android.gms.ads.reward.RewardVideoAd;
public class RewardVideoManager {
private RewardVideoAd rewardVideoAd;
public RewardVideoManager(Context context) {
rewardVideoAd = new RewardVideoAd(context, "YOUR_REWARD_VIDEO_AD_UNIT_ID");
}
public void loadAd() {
rewardVideoAd.loadAd(new AdRequest.Builder().build());
}
public void showAd() {
rewardVideoAd.show();
}
public void onReward(RewardItem rewardItem) {
// Handle reward
}
}
- Replace "YOUR_REWARD_VIDEO_AD_UNIT_ID" with your actual AdMob reward video ad unit ID.
Step 4: Implementing In-app purchases
- Create a new Java class called "InAppPurchaseManager" and add the following code:
import com.android.billingclient.api.BillingClient; import com.android.billingclient.api.BillingClientState; import com.android.billingclient.api.BillingFlowParams; import com.android.billingclient.api.Purchase;
public class InAppPurchaseManager { private BillingClient billingClient;
public InAppPurchaseManager(Context context) {
billingClient = BillingClient.newBuilder(context).setListener(new BillingClientStateListener() {
@Override
public void onBillingSetupFinished(int responseCode) {
// Handle billing setup
}
@Override
public void onBillingServiceDisconnected() {
// Handle billing service disconnection
}
}).build();
}
public void initiatePurchase(String sku) {
BillingFlowParams flowParams = BillingFlowParams.newBuilder()
.setSku(sku)
.setType(BillingClient.SkuType.INAPP)
.build();
billingClient.launchBillingFlow(flowParams);
}
public void onPurchase(Purchase purchase) {
// Handle purchase
}
}
**Step 5: Creating Leaderboards**
1. Create a new Java class called "LeaderboardManager" and add the following code:
```java
import com.google.android.gms.games.Leaderboards;
import com.google.android.gms.games.Leaderboards.LeaderboardScore;
public class LeaderboardManager {
private Leaderboards leaderboards;
public LeaderboardManager(Context context) {
leaderboards = new Leaderboards(context);
}
public void submitScore(String leaderboardId, int score) {
leaderboards.submitScore(leaderboardId, score);
}
public void getLeaderboardScore(String leaderboardId, int score) {
leaderboards.getLeaderboardScore(leaderboardId, score);
}
}
Step 6: Integrating Zamba game engine
- Download and install the Zamba game engine on your computer.
- Create a new Zamba project and add the following code to the "main.lua" file:
local game = require("game")
local function onGameStart() -- Initialize AdMob and Reward Video ads local admobManager = AdMobManager.new() admobManager.loadAd()
-- Initialize In-app purchases
local inAppPurchaseManager = InAppPurchaseManager.new()
inAppPurchaseManager.initiatePurchase("YOUR_SKU")
-- Initialize Leaderboards
local leaderboardManager = LeaderboardManager.new()
leaderboardManager.submitScore("YOUR_LEADERBOARD_ID", 0)
end
game.onGameStart = onGameStart
3. Replace "YOUR_SKU" with your actual In-app purchase SKU and "YOUR_LEADERBOARD_ID" with your actual Leaderboard ID.
**Conclusion**
In this tutorial, we have covered the basics of using the Zamba game engine to create a mobile game with Android Studio, AdMob, Reward Video ads, In-app purchases, and Leaderboards. By following these steps, you should be able to create a fully functional game that can be published on the Google Play Store. Remember to replace the placeholder values with your actual AdMob ad unit ID, reward video ad unit ID, In-app purchase SKU, and Leaderboard ID.
Project Structure and Configuration
- In Android Studio, create a new project.
- In the Project Structure dialog, add a new folder named
admob
. - Within the
admob
folder, create two files:AdmobSetup.java
andAndroidManifest.xml
.
AndroidManifest.xml
- In the
AndroidManifest.xml
file, add the following code:<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.yourapplication"> <application ...> <!-- AdMob settings --> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="ADMOB_APP_ID" android:value="ca-app-pub-INSERT_YOUR_APP_ID/INSERT_YOUR_AD_UNIT_ID" /> </application> </manifest>
Replace
ca-app-pub-INSERT_YOUR_APP_ID/INSERT_YOUR_AD_UNIT_ID
with your AdMob app ID and ad unit ID.
AdmobSetup.java
- In the
AdmobSetup.java
file, add the following code:package com.example.yourapplication;
import com.google.android.gms.ads.MobileAds; import com.google.android.gms.ads.reward.RewardItem; import com.google.android.gms.ads.reward.RewardedVideoAd; import com.google.android.gms.ads.reward.RewardedVideoAdListener;
public class AdmobSetup { public static final String AD_MOB_APP_ID = "ca-app-pub-INSERT_YOUR_APP_ID/INSERT_YOUR_AD_UNIT_ID"; public static final String REWARD_VIDEO_AD_UNIT_ID = "ca-app-pub-INSERT_YOUR_APP_ID/INSERT_YOUR_REWARD_VIDEO_AD_UNIT_ID"; private RewardedVideoAd mRewardedVideoAd;
public void init() {
MobileAds.initialize(this, AD_MOB_APP_ID);
mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(this);
mRewardedVideoAd.setRewardedVideoAdListener(new RewardedVideoAdListener() {
@Override
public void onRewarded(RewardItem rewardItem) {
// Handle the reward
}
@Override
public void onRewardedVideoAdLoaded() {
// Ad is loaded, show the reward video ad
showRewardedVideoAd();
}
@Override
public void onRewardedVideoAdLeftApplication() {
// The user closed the app
}
@Override
public void onRewardedVideoAdFailedToLoad(int errorCode) {
// Ad failed to load, handle the error
}
@Override
public void onRewardedVideoAdOpened() {
// Ad is opened
}
@Override
public void onRewardedVideoAdClosed() {
// Ad is closed
}
});
}
private void showRewardedVideoAd() {
if (mRewardedVideoAd.isLoaded()) {
mRewardedVideoAd.show(this);
} else {
// Ad is not loaded, load it again
loadRewardedVideoAd();
}
}
private void loadRewardedVideoAd() {
mRewardedVideoAd.loadRewardedVideoAd(REWARD_VIDEO_AD_UNIT_ID);
}
}
Replace `INSERT_YOUR_APP_ID`, `INSERT_YOUR_AD_UNIT_ID`, and `INSERT_YOUR_REWARD_VIDEO_AD_UNIT_ID` with your AdMob app ID, ad unit ID, and reward video ad unit ID, respectively.
**Gradle Dependencies**
1. In the `build.gradle` file, add the following dependencies:
dependencies { implementation 'com.google.android.gms:play-services-ads:19.3.0' implementation 'com.google.android.gms:play-services-rewards:19.3.0' }
**Reward Video Ad Display**
1. In your activity, call the `init` method of the `AdmobSetup` class to initialize the AdMob setup.
2. To show the reward video ad, call the `showRewardedVideoAd` method when the ad is loaded.
3. To load the reward video ad, call the `loadRewardedVideoAd` method when the ad is not loaded.
**Leaderboards and In-app Purchase**
1. In your activity, use the Android Market BillinApi class to handle in-app purchases and leaderboards.
2. Implement the `In-app Purchase` and `Leaderboards` settings as described in the Android documentation.
Here are the features related to Zamba Destroyer:
- Android Studio: Developed using Android Studio.
- Admob Ads: Admob ads Implemented (banner, Interstitial and Reward Videos).
- Reward Video Ads: Supports Reward Video Ads.
- In-app Purchase: Supports In-app Purchase.
- Leaderboards: Supports Google Leaderboards.
- Android 13 supported: Supports Android 13.
Note that there are no specific features listed for unlocking characters, smart rating screen, or more games button. These are likely additional features that can be reskinned or added to the game.
$25.00
There are no reviews yet.