Top Quality Products

Visual Memory Game with AdMob and Leaderboard

4.67
Expert ScoreRead review

$16.00

Added to wishlistRemoved from wishlist 0
Add to compare

52 sales

Visual Memory Game with AdMob and Leaderboard

Introduction

Are you ready for a challenging and addictive game that will put your memory skills to the test? Look no further than the Visual Memory Game with AdMob and Leaderboard, a Java-based game built for Android devices using Android Studio. With its clear graphics, optimized performance for tablets, and engaging sound effects, this game is sure to keep you entertained for hours on end. In this review, we’ll dive into the game’s features, setup and reskin process, and overall performance to help you decide if it’s the right fit for you.

Gameplay

The Visual Memory Game is all about remembering squares and then opening them. As you progress through the levels, the number of squares increases, and you’ll need to remember more squares to open them. The game starts with 16 squares in the first 10 levels, and the number of squares increases by 9 in each subsequent 10-level increment, reaching a maximum of 49 squares in the final levels.

Features

  • Java native source code: The game is built using pure Java, making it a great option for developers who want to learn and work with Java.
  • AdMob Banner and Interstitial integrated: The game features AdMob Banner and Interstitial ads, providing a revenue stream for developers and a way to monetize their app.
  • Google Play Games Leaderboard integrated: Players can compete with each other on the Leaderboard, adding an extra layer of engagement and motivation to beat their high scores.
  • Clear graphics: The game features clean and clear graphics that are easy on the eyes.
  • Optimized for tablets: The game is optimized for tablet devices, making it a great option for players who want a larger screen experience.
  • Background music and sounds: The game features engaging background music and sound effects that add to the overall atmosphere and gameplay experience.

Setup and Reskin

If you’re interested in setting up and reskinning the game, here’s what you’ll need to do:

  • Install latest Android SDK: Make sure you have the latest Android SDK installed on your computer.
  • Open Gradle project in Android Studio: Open the Gradle project in Android Studio to begin building the game.
  • Change Package ID, App Name, icons, graphics and sounds: Customize the game by changing the Package ID, App Name, icons, graphics, and sounds to fit your brand and style.
  • Set up Google Play Games Services: Set up Google Play Games Services to integrate the Leaderboard feature.
  • Set up AdMob ID, Google Play Games App ID and Leaderboard ID: Set up AdMob ID, Google Play Games App ID, and Leaderboard ID to enable the AdMob and Leaderboard features.
  • Build an APK file: Build an APK file using Android Studio to distribute the game.

Performance and Conclusion

Overall, the Visual Memory Game with AdMob and Leaderboard is a well-designed and engaging game that is sure to challenge and entertain players of all ages. With its clear graphics, optimized performance for tablets, and addictive gameplay, this game is a great option for developers and players alike. While it may require some setup and customization, the game is easy to use and requires no prior programming knowledge.

Rating: 4.67/5 stars

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Visual Memory Game with AdMob and Leaderboard”

Your email address will not be published. Required fields are marked *

Introduction

The Visual Memory Game is a popular mobile game that challenges players to remember the location of different objects on a grid. The game is a great way to improve memory and concentration skills, and it's also a lot of fun! In this tutorial, we'll show you how to add AdMob and a leaderboard to your Visual Memory Game using Unity.

Prerequisites

Before you start, make sure you have the following:

  • Unity 2019.4 or later
  • AdMob account
  • Google Play Games account
  • Visual Memory Game project set up in Unity

Step 1: Set up AdMob

To set up AdMob, follow these steps:

  1. Go to the AdMob website and sign in to your account.
  2. Click on the "Create an app" button and select "Mobile" as the platform.
  3. Fill in the required information, such as app name, package name, and store listing URL.
  4. Click on the "Create" button to create the app.
  5. In the AdMob dashboard, click on the "Monetize" tab and select "Rewarded Video" as the ad format.
  6. Click on the "Create" button to create the ad unit.
  7. In the AdMob dashboard, click on the "Settings" tab and select "AdMob SDK" as the SDK.
  8. Click on the "Download" button to download the AdMob SDK.

Step 2: Add AdMob to your Unity project

To add AdMob to your Unity project, follow these steps:

  1. Open your Unity project and go to the "Assets" folder.
  2. Right-click in the "Assets" folder and select "Import Package" > "Custom Package".
  3. Select the AdMob SDK package that you downloaded earlier and click "Open".
  4. In the "Assets" folder, you should see a new folder called "AdMob".
  5. Drag the "AdMob" folder into the "Assets" folder.

Step 3: Set up the leaderboard

To set up the leaderboard, follow these steps:

  1. Go to the Google Play Games website and sign in to your account.
  2. Click on the "Create a game" button and select "New game".
  3. Fill in the required information, such as game name, game description, and game icon.
  4. Click on the "Create" button to create the game.
  5. In the Google Play Games dashboard, click on the "Leaderboards" tab.
  6. Click on the "Create a leaderboard" button and select "Global leaderboard".
  7. Fill in the required information, such as leaderboard name, leaderboard description, and leaderboard icon.
  8. Click on the "Create" button to create the leaderboard.

Step 4: Add the leaderboard to your Unity project

To add the leaderboard to your Unity project, follow these steps:

  1. Open your Unity project and go to the "Assets" folder.
  2. Right-click in the "Assets" folder and select "Import Package" > "Custom Package".
  3. Select the Google Play Games package that you downloaded earlier and click "Open".
  4. In the "Assets" folder, you should see a new folder called "GooglePlayGames".
  5. Drag the "GooglePlayGames" folder into the "Assets" folder.

Step 5: Implement the leaderboard

To implement the leaderboard, follow these steps:

  1. Open the "GameManager" script and add the following code:
    
    using UnityEngine;
    using GooglePlayGames;

public class GameManager : MonoBehaviour { private const string LEADERBOARD_ID = "YOUR_LEADERBOARD_ID";

private void Start()
{
    PlayGamesPlatform.InitializeInstance();
    PlayGamesPlatform.DebugLogEnabled = true;
    PlayGamesPlatform.Activate();
}

private void Update()
{
    if (Input.GetKeyDown(KeyCode.Space))
    {
        ShowLeaderboard();
    }
}

private void ShowLeaderboard()
{
    PlayGamesPlatform.Instance.ShowLeaderboardUI(LEADERBOARD_ID);
}

}

Replace "YOUR_LEADERBOARD_ID" with the actual ID of your leaderboard.

**Step 6: Implement the AdMob**

To implement AdMob, follow these steps:

1. Open the "GameManager" script and add the following code:

using UnityEngine; using AdMob;

public class GameManager : MonoBehaviour { private const string AD_UNIT_ID = "YOUR_AD_UNIT_ID";

private void Start()
{
    RewardedVideoAd.Instance.Initialize(AD_UNIT_ID);
}

private void Update()
{
    if (Input.GetKeyDown(KeyCode.Space))
    {
        ShowAd();
    }
}

private void ShowAd()
{
    RewardedVideoAd.Instance.Show();
}

}


Replace "YOUR_AD_UNIT_ID" with the actual ID of your AdMob ad unit.

**Step 7: Test the game**

To test the game, follow these steps:

1. Build and run the game on a device or emulator.
2. Play the game and earn points by completing levels.
3. When you earn enough points, you should see a leaderboard pop up.
4. Tap on the leaderboard to view the global leaderboard.
5. When you tap on the ad, you should see a rewarded video ad.

That's it! You have now successfully added AdMob and a leaderboard to your Visual Memory Game using Unity.

AdMob Settings

Go to the Firebase console, navigate to your project and click on the "General" tab. Click on the "Android" link under "AdMob Links" and select "Details". Under "App Setup", make sure the Android package name is correct (com.example.visuamemorygame) and upload your app's icon and screenshots.

Create a new AdMob account and navigate to the "AdUnits" tab. Create a new ad unit for Rewarded Video ads and one for Interstitial ads.

In your project's settings.gradle file, add the following line:

github 'com.google.gms:google-services:4.3.3'

In your project's app/build.gradle file, add the following lines:

dependencies {
    implementation 'com.google.firebase:firebase-admob:21.1.0'
}

apply plugin: 'com.google.gms.google-services'

Leaderboard Settings

Go to the Firebase Realtime Database and navigate to the "Data" tab. Create a new leaderboard by clicking on the "+" button and selecting "Create a new leaderboards item". Name your leaderboard ("Visual Memory Game Leaderboard") and set the start date to today.

Click on the "Rules" tab and paste the following code:

{
  ".readAll": true,
  ".writeAll": true,
  "visualMemoryLeaderboard": {
    "$uid": {
      ".validate": "newData.isNumber()"
    }
  }
}

In your game's.java file, import the required Firebase libraries and initialize them:

FirebaseDatabase database = FirebaseDatabase.getInstance();
DatabaseReference leaderboard = database.getReference("leaderboard");

Configure the leaderboard settings in the game's activity:

FirebaseUser firebaseUser = mAuth.getCurrentUser();
String uid = firebaseUser.getUid();

// Code to get the user's score and upload it to the leaderboard...
leaderboard.child("visualMemoryLeaderboard").child(uid).setValue(score);

Visual Memory Game Settings

In the game's activity, import the necessary libraries and initialize the required components:

// Initialize the game panel
Panel gamePanel = findViewById(R.id.game_panel);

// Initialize the list of cards
List<Card> cards = new ArrayList<>();

// Code to add cards to the list...

Set up the game's UI and set the click listeners for each card:

// Set the card clicks
for (Card card : cards) {
    card.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            // Code to handle the card click...
        }
    });
}

Implement the game's logic and rules, such as checking for pairs and determining the winner:

// Code to implement the game logic...
// Code to declare the winner...

Here are the features of the Visual Memory Game with AdMob and Leaderboard:

  1. Java native source code: The game is written in pure Java and is compatible with Android Studio.
  2. AdMob Banner integrated: The game features AdMob banner ads.
  3. AdMob Interstitial integrated: The game also features AdMob interstitial ads.
  4. Google Play Games Leaderboard integrated: The game has a leaderboard that is integrated with Google Play Games.
  5. Clear graphics: The game has clear and clean graphics.
  6. Optimized for tablets: The game is optimized to run smoothly on tablets.
  7. Background music and sounds: The game features background music and sound effects.

Additionally, here are the instructions on how to set up and reskin the game:

  1. Install latest Android SDK: Install the latest Android Software Development Kit.
  2. Open Gradle project in Android Studio: Open the Gradle project in Android Studio.
  3. Change Package ID, App Name, icons, graphics and sounds: Customize the game's package ID, app name, icons, graphics, and sounds.
  4. Set up Google Play Games Services: Set up Google Play Games Services to enable the leaderboard.
  5. Set up AdMob ID, Google Play Games App ID and Leaderboard ID: Set up the AdMob ID, Google Play Games App ID, and Leaderboard ID.
  6. Build an APK file: Compile the game into an Android Package File (APK) file.
Visual Memory Game with AdMob and Leaderboard
Visual Memory Game with AdMob and Leaderboard

$16.00

Shop.Vyeron.com
Logo
Compare items
  • Total (0)
Compare
0