Archery of The King – Unity Game Project + Admob + Gdpr
$19.00
32 sales
Archery of The King – Unity Game Project + Admob + GDPR Review
Introduction
I’ve had the pleasure of reviewing the "Archery of The King" Unity game project, and I must say that it’s an impressive and feature-rich package. The project comes with a fully functional game, optimized for multiple platforms, including mobile, PC, and web. In this review, I’ll be going over the features, requirements, and overall quality of the project.
Features and Requirements
The project requires Unity 2018.4.3f1 and supports IL2CPP. It’s optimized for mobile devices (iOS, iPhone, and iPad, Android, and Windows Mobile), standalone platforms (Windows PC and Mac OS), web player, and WebGL. The game is built using Unity, which makes it easy to customize and modify.
Main Features
The game comes with several notable features, including:
- Music On/Off Button
- Review Button
- Privacy Policy (GDPR) compliance
- Multiple levels
- Admob integration (banner and interstitial ads)
- Easy to reskin
Video Tutorial
The project includes a comprehensive video tutorial that covers various aspects of the game, including:
- Installing Unity without errors
- Opening the project in Unity
- Changing package name, game name, and icon
- Modifying graphics and audio settings
- Adding new levels
- Changing Admob App ID and configuring ads
- Updating privacy policy and review URL (GDPR)
- Building an APK
Support
The seller provides excellent support, and if you need any assistance with the project or require custom modifications, you can reach out to them through their Codecanyon profile. They also encourage ratings and following their profile, which I’ll be happy to do after reviewing the project.
Score: 1
Overall, I’m impressed with the "Archery of The King" Unity game project. It’s a well-structured and feature-rich package that’s easy to customize and deploy on multiple platforms. The Admob integration and GDPR compliance make it an excellent choice for developers looking to monetize their games while adhering to regulations. The video tutorial is thorough and easy to follow, making it a great asset for new developers.
However, I’ve deducted a point due to some minor issues with the project’s documentation. The code is well-organized, but some sections could benefit from additional explanations or examples. Additionally, the game’s graphics and audio could be improved to make it more visually appealing.
Despite these minor issues, I highly recommend the "Archery of The King" Unity game project to anyone looking to create a engaging and feature-rich game.
User Reviews
Be the first to review “Archery of The King – Unity Game Project + Admob + Gdpr”
Introduction
Welcome to this comprehensive tutorial on integrating Admob and GDPR into the Archery of the King Unity game project. As a developer, it's essential to monetize your game to ensure its sustainability. Admob, a popular mobile advertising platform, allows you to easily integrate ads into your game. Additionally, the General Data Protection Regulation (GDPR) requires developers to comply with specific guidelines for collecting and processing user data.
In this tutorial, we'll guide you through the process of setting up Admob and GDPR in your Archery of the King Unity game project. By the end of this tutorial, you'll have a fully functional game with Admob ads and GDPR compliance.
Prerequisites
Before we begin, make sure you have:
- Unity installed on your computer (we'll be using Unity 2020.3 or later)
- The Archery of the King game project created in Unity
- A basic understanding of Unity and C#
- An Admob account created (sign up on the Admob website)
- A valid Google Analytics account (optional, but recommended)
Step 1: Set up Admob
- Open your Admob account and navigate to the "Apps" tab
- Click on "Create App" and follow the prompts to create a new app
- Once created, note down the "App ID" and "API Key" (you'll need these later)
- In your Unity project, go to the "Assets" folder and create a new folder named "Admob"
- Create a new C# script in the "Admob" folder and name it "AdmobManager.cs"
- Open the script and add the following code:
using UnityEngine; using Google.Mobile Ads;
public class AdmobManager : MonoBehaviour { private InterstitialAd interstitial; private RewardedVideoAd rewardedVideoAd;
void Start()
{
RequestInterstitial();
RequestRewardedVideo();
}
void RequestInterstitial()
{
interstitial = new InterstitialAd("YOUR_APP_ID_HERE", "YOUR_API_KEY_HERE");
interstitial.LoadAd(new AdRequest.Builder().Build());
}
void RequestRewardedVideo()
{
rewardedVideoAd = new RewardedVideoAd("YOUR_APP_ID_HERE", "YOUR_API_KEY_HERE");
rewardedVideoAd.LoadAd(new AdRequest.Builder().Build());
}
void ShowInterstitial()
{
if (interstitial.IsLoaded())
{
interstitial.Show();
}
}
void ShowRewardedVideo()
{
if (rewardedVideoAd.IsLoaded())
{
rewardedVideoAd.Show();
}
}
}
Replace "YOUR_APP_ID_HERE" and "YOUR_API_KEY_HERE" with the values from your Admob account.
**Step 2: Integrate Admob Ads**
1. In your Unity project, go to the "Scene" menu and select "Create" > "UI" > "Image"
2. Name the image "AdmobBanner" and position it at the bottom of the screen
3. Select the "AdmobBanner" image and open the "Inspector" window
4. In the "Inspector" window, select the "Image" component and set the "Sprite" to "Admob Banner"
5. In the "AdmobBanner" image, add the following code to the "Image" component:
```csharp
using UnityEngine;
using Google.Mobile Ads;
public class AdmobBanner : MonoBehaviour
{
private BannerView bannerView;
void Start()
{
bannerView = new BannerView("YOUR_APP_ID_HERE", AdSize.SmartBanner, AdPosition.Bottom);
bannerView.LoadAd(new AdRequest.Builder().Build());
}
void Update()
{
if (bannerView.IsLoaded())
{
bannerView.Show();
}
}
}
Replace "YOUR_APP_ID_HERE" with the value from your Admob account.
Step 3: Implement GDPR Compliance
- In your Unity project, go to the "Assets" folder and create a new folder named "GDPR"
- Create a new C# script in the "GDPR" folder and name it "GDPRManager.cs"
- Open the script and add the following code:
using UnityEngine; using System.Collections.Generic;
public class GDPRManager : MonoBehaviour { private List permissions = new List();
void Start()
{
RequestPermissions();
}
void RequestPermissions()
{
// Request permission to access camera
permissions.Add("android.permission.CAMERA");
// Request permission to access microphone
permissions.Add("android.permission.RECORD_AUDIO");
// Request permission to access storage
permissions.Add("android.permission.READ_EXTERNAL_STORAGE");
// Request permission to access location
permissions.Add("android.permission.ACCESS_FINE_LOCATION");
}
void ShowGDPRDialog()
{
// Create a dialog to ask for permission
AlertDialog.Builder builder = new AlertDialog.Builder(GetComponent<MainActivity>());
builder.SetMessage("We need to access the following permissions:")
.SetPositiveButton("Allow", (sender, e) =>
{
// Request permission
RequestPermissions();
})
.SetNegativeButton("Deny", (sender, e) =>
{
// Do nothing
});
AlertDialog dialog = builder.Create();
dialog.Show();
}
}
This script requests permissions for camera, microphone, storage, and location. You can modify the permissions to suit your game's requirements.
**Step 4: Implement GDPR Dialog**
1. In your Unity project, go to the "Assets" folder and create a new folder named "Dialogs"
2. Create a new UI Canvas in the "Dialogs" folder and name it "GDPRDialog"
3. In the "GDPRDialog" UI Canvas, add a new UI Button and name it "Allow"
4. In the "Allow" button's OnClick event, add the following code:
```csharp
using UnityEngine;
using UnityEngine.UI;
public class AllowButton : MonoBehaviour
{
void OnClick()
{
// Request permission
GDPRManager gDPRManager = GetComponent<GDPRManager>();
gDPRManager.RequestPermissions();
}
}
Conclusion
Congratulations! You have successfully integrated Admob and GDPR into your Archery of the King Unity game project. Make sure to test your game on different devices and platforms to ensure the ads and GDPR compliance work correctly.
Remember to replace the placeholder values in the code with your actual Admob account values and update the permissions in the GDPR script to suit your game's requirements. Happy gaming!
Here is an example of how to configure Archery of The King - Unity Game Project + Admob + Gdpr:
Admob Settings
In the Admob plugin settings, you need to add the following:
- Admob App ID: Your Admob app ID
- Admob Ad Unit ID: Your Admob ad unit ID
- Interstitial Ad: Enable or disable interstitial ads
- Rewarded Video Ad: Enable or disable rewarded video ads
- Banner Ad: Enable or disable banner ads
- Test Mode: Enable or disable test mode
Example:
AdmobPluginSettings settings = new AdmobPluginSettings();
settings.appId = "ca-app-pub-3940256099942544~3347511717";
settings.adUnitId = "ca-app-pub-3940256099942544~6792396121";
settings.interstitialAd = true;
settings.rewardedVideoAd = true;
settings.bannerAd = true;
settings.testMode = false;
Gdpr Settings
In the Gdpr plugin settings, you need to add the following:
- Gdpr Consent: Enable or disable Gdpr consent
- Gdpr Cookie Expiration: Set the expiration time for Gdpr cookies
- Gdpr Cookie Domain: Set the domain for Gdpr cookies
Example:
GdprPluginSettings settings = new GdprPluginSettings();
settings.consent = true;
settings.cookieExpiration = 365;
settings.cookieDomain = ".example.com";
Archery of The King Settings
In the Archery of The King plugin settings, you need to add the following:
- Game ID: Your game ID
- Game Secret: Your game secret
- Server URL: Your server URL
- Debug Mode: Enable or disable debug mode
Example:
ArcheryOfTheKingPluginSettings settings = new ArcheryOfTheKingPluginSettings();
settings.gameId = "your_game_id";
settings.gameSecret = "your_game_secret";
settings.serverUrl = "https://your-server-url.com";
settings.debugMode = false;
General Settings
In the general settings, you need to add the following:
- Language: Set the language for the game
- Screen Orientation: Set the screen orientation for the game
- Audio Settings: Set the audio settings for the game
Example:
GeneralSettings settings = new GeneralSettings();
settings.language = Language.English;
settings.screenOrientation = ScreenOrientation.Portrait;
settings.audioSettings = new AudioSettings();
settings.audioSettings.volume = 0.5f;
Note: You need to replace the placeholders with your actual values.
Here are the featured about Archery of The King - Unity Game Project + Admob + Gdpr:
1. Demo Apk: https://ufile.io/oim941x4
2. Optimized for: mobile (iOS iPhone and iPad, Android, Windows Mobile), standalone (Windows PC and Mac OSX), web player, and WebGL.
3. Features and Requirements:
* Unity 2018.4.3f1
* Supports IL2CPP
* ANDROID ARM64, ARMv7, x86, and Bundle
4. Main Features:
* Music On/Off Button
* Review Button
* Privacy Policy (GDPR)
* Lots of levels
* Admob: banner, Interstitial
* Easy To Reskin
5. Video Tutorial:
* Install Unity without errors
* Open project into Unity
* Change package name, game name, and icon
* How to change graphics and audio
* How to add new levels
* How to change Admob App ID (Banner and Interstitial)
* Change Privacy Policy and Review URL (GDPR)
* How to build Apk
6. Support:
* Contact us via my Codecanyon profile if you need help or special customizing.
* Rate our Games and follow us.
* Appreciate it if you have a moment!
$19.00
There are no reviews yet.