Zombie Jump – Android Studio – BuildBox – AdMob Ads Reward Video
$9.00
17 sales
Review Report: Zombie Jump – Android Studio – BuildBox – AdMob Rewarded Video
Overall Report: 0/10
Zombie Jump is a zombie-themed auto-runner game that promises an endearing and addictive experience. Although conceptually intriguing, the execution doesn’t quite meet our reviews’ standards. This app claims to be a unique Android, BuildBox, and AdMob app, but it lacks real playability and depth.
Let your zombies jump to fame – or not, since that does not seem to be a concern of “Zombie Jump’s creators…
User Reviews
Be the first to review “Zombie Jump – Android Studio – BuildBox – AdMob Ads Reward Video”
Introduction
In this tutorial, we will be creating a popular game known as "Zombie Jump" using Android Studio and BuildBox. We will also integrate AdMob ads to the game and use Reward Videos to earn virtual currency. This game involves jumping over obstacles while avoiding zombies that will try to stop us.
We will cover the following steps in this tutorial:
- Creating the game using BuildBox
- Setting up the game to run in Android Studio
- Implementing AdMob ads
- Setting up Reward Videos
- Testing the game on an Android device
Step 1: Creating the game using BuildBox
Download and install BuildBox on your computer. This is a popular game development engine that allows you to create 2D games easily. Once installed, follow these steps to create the game:
- Open BuildBox and create a new project
- Set the resolution to 480x800
- Set the game speed to 60fps
- Create a new layer for the background
- Create a new layer for the obstacles (e.g. platforms, stones, etc.)
- Create a new layer for the zombie (add a zombie character and animate it to move left to right)
- Add a player character and set its movement to jump using the spacebar
- Add a collision system to the obstacles and zombie to ensure they react to the player
Step 2: Setting up the game to run in Android Studio
Once you have created the game in BuildBox, it's time to set it up to run in Android Studio. This will allow us to run the game on an Android device and test it. Follow these steps:
- Open Android Studio and create a new project
- Choose the "Empty Activity" template
- In the build.gradle file, add the following line:
implementation 'com.buildbox.buildbox-gradle-plugin:buildbox-plugin:1.5.2'
- In the AndroidManifest.xml file, add the following line:
<application...>
and add theBuildBoxActivity
as a new activity
Step 3: Implementing AdMob ads
We will use AdMob to integrate ads into our game. This will allow us to monetize the game and earn virtual currency. Follow these steps:
- Sign up for AdMob and create a new app
- Set up the ad units ( banners, interstitials, etc.)
- In the AndroidManifest.xml file, add the AdMob SDK:
implementation 'com.google.android.gms:play-services-ads:18.3.0'
- Create a new activity in the game to handle the ad rendering:
ad_activity.java
- In the
ad_activity.java
file, add the code to render the ads:AdRequest request = new AdRequest.Builder().build();
AdView adView = findViewById(R.id.adView);
adView.loadAd(request);
- In the BuildBox project file, add the AdMob SDK to the assets folder
Step 4: Setting up Reward Videos
Reward Videos will allow players to earn virtual currency by watching short videos. Follow these steps:
- In the AdMob console, create a new reward video ad unit
- In the
ad_activity.java
file, add the code to render the reward video:VideoAdRequest request = new VideoAdRequest.Builder().build();
VideoView videoView = findViewById(R.id.videoView);
videoView.loadVideo(request);
- In the BuildBox project file, add the reward video ad unit to the assets folder
Step 5: Testing the game on an Android device
Finally, we can test the game on an Android device to ensure everything is working as expected. Follow these steps:
- Connect an Android device to your computer
- Run the game on the device and play it
- Test the AdMob ads and Reward Videos
- Check for any bugs or issues and resolve them as necessary
That's it! By following these steps, you should now have a working version of the Zombie Jump game with AdMob ads and Reward Videos. This will allow you to monetize the game and earn virtual currency.
Here's the complete code for the game:
// ad_activity.java
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.MobileAds;
public class AdActivity extends AppCompatActivity {
private AdView adView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ad);
MobileAds.initialize(this, new OnInitializationCompleteListener() {
@Override
public void onInitializationComplete() {
// Initialize the AdMob SDK
}
});
adView = findViewById(R.id.adView);
AdRequest request = new AdRequest.Builder().build();
adView.loadAd(request);
}
}
// video_activity.java
import com.google.android.gms.ads.rewarded.RewardItem;
import com.google.android.gms.ads.rewarded.RewardedVideoAd;
import com.google.android.gms.ads.rewarded.RewardedVideoAdListener;
public class VideoActivity extends AppCompatActivity {
private RewardedVideoAd rewardedVideoAd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_video);
rewardedVideoAd = new RewardedVideoAd(this, "YOUR_REWARDED_VIDEO_AD_UNIT_ID");
rewardedVideoAd.setRewardedVideoAdListener(new RewardedVideoAdListener() {
@Override
public void onRewarded(RewardItem rewardItem) {
// Reward the player with virtual currency
}
@Override
public void onRewardedVideoAdLoaded() {
// Load the reward video
}
@Override
public void onRewardedVideoAdFailedToLoad(int errorCode) {
// Error loading the reward video
}
});
rewardedVideoAd.loadAd();
}
}
Here's the complete BuildBox project file:
{
"android": {
"target_sdk": 30,
"min_sdk": 19,
"activity_main": {
"class": "MainActivity",
"layout": "activity_main",
"parent_activity": "MainActivity"
}
},
"buildbox": {
"version": "1.5.2"
}
}
This is the complete tutorial on how to use the Zombie Jump game with AdMob ads and Reward Videos using Android Studio and BuildBox.
Here is a complete settings example:
BuildBox Settings
In the BuildBox project, go to Project Settings > Android Settings and configure the following:
- Package Name: com.example.zombiejump
- Application Name: Zombie Jump
- Version Code: 1.0
- Version Name: 1.0
- Default Language: English
- Default Country: United States
- Screen Orientation: Portrait
- Screen Density: MDPI, HDPI, XHDPI, XXHDPI, XXXHDPI
AdMob Settings
In the BuildBox project, go to Project Settings > Monetization > AdMob and configure the following:
- App ID: ca-app-pub-3940256099942544~3347515173
- Ad Unit ID: ca-app-pub-3940256099942544~1712485194
- Reward Video Ad Unit ID: ca-app-pub-3940256099942544~1712485194
- Ad Type: Reward Video
- Reward Type: 500
AndroidManifest.xml Settings
In the AndroidManifest.xml file, add the following code:
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name="com.google.android.gms.ads.video.RewardBaseActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<activity
android:name="com.google.android.gms.ads.video.RewardVideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
Android Studio Settings
In the Android Studio project, go to Settings > Build, Execution, Deployment > Gradle and configure the following:
- Gradle Home: C:Gradle
- Gradle User Home: C:Users.gradle
- Android SDK Location: C:AndroidSdk
- Gradle Version: 6.5.1
- Android Gradle Plugin Version: 4.2.2
Gradle Scripts Settings
In the Android Studio project, go to Gradle Scripts > build.gradle and add the following code:
dependencies {
implementation 'com.google.android.gms:play-services-ads:20.4.0'
implementation 'com.google.android.gms:play-services-reward:20.4.0'
}
Note: The versions of the libraries may vary based on the latest releases.
Here are the featured about Zombie Jump - Android Studio - BuildBox - AdMob Ads Reward Video:
- Android Studio Template: The game is built using Android Studio as a template.
- Build Box 3 Template: The game is also built using BuildBox 3 as a template.
- Rewarded Video Ads: The game features rewarded video ads, providing an additional revenue stream.
- Support 64-bit architectures: The game supports 64-bit architectures, making it compatible with most modern devices.
- Ironsource: The game uses Ironsource as one of its monetization platforms.
- Unique Gameplay: The game has unique and addictive gameplay.
- Latest Admob SDK: The game uses the latest AdMob SDK for monetization.
- Amazing Graphics: The game features amazing graphics.
- Intuitive Experience: The game provides an intuitive user experience.
- Viral Potential: The game has viral potential, making it easily shareable and playable.
- High Replay Value: The game has high replay value, encouraging players to play again and again.
- Google Play Store Ready: The game is ready for publication on the Google Play Store.
These features make Zombie Jump a complete and monetizable mobile game that can be easily reskin and published on the Google Play Store.
$9.00
There are no reviews yet.