Top Quality Products

Asteroids – Unity Retro Game With AdMob Ads

$19.00

Added to wishlistRemoved from wishlist 0
Add to compare

1 sales

LIVE PREVIEW

Asteroids – Unity Retro Game With AdMob Ads

Asteroids – Unity Retro Game With AdMob Ads Review

Introduction

In a world where retro gaming is making a comeback, Asteroids – Unity Retro Game With AdMob Ads is a complete game template that brings back the nostalgic feeling of classic arcade games. Developed using Unity, this game is a faithful recreation of the original Asteroids game, with the added bonus of AdMob ads for monetization.

Gameplay

The gameplay is straightforward and easy to pick up. The player controls a triangular spacecraft that can rotate left and right, shoot straight forward, and thrust forward. The goal is to destroy asteroids and saucers, which is a classic and addictive formula. The ship’s movement is smooth and responsive, making it easy to navigate through the game’s increasingly challenging levels.

Controls

The controls are well-designed and intuitive. On PC and WebGL, players can use the W, A, D, or arrow keys for thrust and rotation, and the space key for shooting. On Android and iOS devices, the game uses on-screen controls, which work seamlessly.

Graphics and Sound

The graphics are retro-style, with a pixelated aesthetic that is reminiscent of the original Asteroids game. The sound effects and music are also retro-inspired, adding to the game’s nostalgic charm.

AdMob Integration

The game comes with AdMob ads integrated, which can be easily set up by following the provided instructions. To set up the ads, players need to put their app ID from the AdMob console in the game’s settings, and then enter their interstitial ad ID in the "Menus.cs" script.

Conclusion

Asteroids – Unity Retro Game With AdMob Ads is a complete game template that is perfect for developers looking to create a retro-style game with AdMob ads. The game is easy to play, with smooth controls and addictive gameplay. The AdMob integration is also seamless, making it easy to monetize the game. Overall, I would give this game a score of 0 out of 10, which is a testament to its quality and completeness.

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 “Asteroids – Unity Retro Game With AdMob Ads”

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

Introduction

Are you looking to create a retro-style asteroid game with AdMob ads in Unity? Look no further! In this tutorial, we will walk you through the process of setting up and integrating AdMob ads into the popular Asteroids game in Unity.

Asteroids is a classic arcade game that was first released in 1979. It has been a beloved game for decades, and its retro-style graphics and gameplay are still enjoyable today. Adding AdMob ads to the game is a great way to monetize your project and generate revenue.

What you will need

  • Unity Hub (latest version)
  • Asteroids Unity Package (download from the Unity Asset Store)
  • AdMob account (sign up for a free account)
  • Android Studio or Xcode (depending on the platform you want to publish to)

Setting up AdMob

  1. Go to the AdMob website and sign in to your account.
  2. Click on the "New Ad Unit" button and select the type of ad you want to use (e.g. interstitial, rewarded video, banner).
  3. Choose the platform you want to target (e.g. Android, iOS).
  4. Enter a name for your ad unit and set up the ad settings as desired.
  5. Click on the "Create Ad Unit" button to create the ad unit.

Adding AdMob to the Asteroids Game

  1. Open the Asteroids Unity package and create a new scene by clicking on "File" > "New" > "Scene".
  2. Add the AdMob SDK to your project by dragging and dropping the AdMob plugin into the "Assets" folder.
  3. In the Unity editor, click on "Window" > "AdMob" to open the AdMob window.
  4. Select the ad unit you created in the AdMob window and set up the ad settings as desired.
  5. To display the ad, you can use the AdMob plugin's methods to load and display the ad.

Displaying Ads in the Game

To display ads in the game, you can use the following methods:

  1. LoadAd(): This method loads an ad into the game and makes it ready to be displayed.
  2. ShowAd(): This method displays the loaded ad to the user.
  3. HideAd(): This method hides the displayed ad.

Here is an example of how to display an ad in the game:

using UnityEngine;
using AdMob;

public class AdController : MonoBehaviour
{
    private AdMobPlugin plugin;

    void Start()
    {
        plugin = GetComponent<AdMobPlugin>();
    }

    void LoadAd()
    {
        plugin.LoadAd(AdType.INTERSTITIAL);
    }

    void ShowAd()
    {
        plugin.ShowAd();
    }

    void HideAd()
    {
        plugin.HideAd();
    }
}

In this example, the AdController script is used to load and display ads in the game. The LoadAd() method is called when the user enters the game, and the ShowAd() method is called when the user reaches a certain point in the game. The HideAd() method is called when the user quits the game.

Adding Ads to the Game UI

To display ads in the game UI, you can use Unity's UI system to create a canvas and add an ad display object to it.

Here is an example of how to add an ad display object to the game UI:

using UnityEngine;
using UnityEngine.UI;

public class AdDisplay : MonoBehaviour
{
    public AdMobPlugin plugin;
    public Canvas canvas;
    public AdDisplayObject adDisplayObject;

    void Start()
    {
        plugin = GetComponent<AdMobPlugin>();
        canvas = GetComponent<Canvas>();
        adDisplayObject = GetComponent<AdDisplayObject>();
    }

    void LoadAd()
    {
        plugin.LoadAd(AdType.INTERSTITIAL);
        adDisplayObject.gameObject.SetActive(true);
    }

    void ShowAd()
    {
        plugin.ShowAd();
        adDisplayObject.gameObject.SetActive(true);
    }

    void HideAd()
    {
        plugin.HideAd();
        adDisplayObject.gameObject.SetActive(false);
    }
}

In this example, the AdDisplay script is used to display ads in the game UI. The LoadAd() method is called when the user enters the game, and the ShowAd() method is called when the user reaches a certain point in the game. The HideAd() method is called when the user quits the game.

Publishing the Game

To publish the game to the app stores, you will need to set up the game for release. This includes setting up the game's icon, loading screens, and other graphics.

Here are the steps to publish the game to the Google Play Store:

  1. Go to the Google Play Console and log in to your account.
  2. Click on the "Create Application" button to create a new app.
  3. Fill out the app's metadata, such as the app's name, description, and keywords.
  4. Upload the game's icon and other graphics.
  5. Set up the game's store listing, including the game's title, description, and screenshots.
  6. Set up the game's pricing and distribution.
  7. Click on the "Publish" button to publish the game.

Here are the steps to publish the game to the Apple App Store:

  1. Go to the App Store Connect portal and log in to your account.
  2. Click on the "Create App" button to create a new app.
  3. Fill out the app's metadata, such as the app's name, description, and keywords.
  4. Upload the game's icon and other graphics.
  5. Set up the game's store listing, including the game's title, description, and screenshots.
  6. Set up the game's pricing and distribution.
  7. Click on the "Submit for Review" button to submit the game for review.

That's it! With these steps, you should be able to create a retro-style asteroid game with AdMob ads in Unity. Good luck with your project!

Here is an example of how to configure the Asteroids - Unity Retro Game With AdMob Ads:

AdMob Banner Ads

To configure AdMob banner ads, go to the AdMob panel in the Unity editor and set the following settings:

  • AdMob App ID: Your AdMob app ID
  • AdMob Banner ID: Your AdMob banner ad ID
  • Banner Position: Bottom Center
  • Banner Size: 320x50
  • Test Mode: Enable or disable test mode as needed

AdMob Interstitial Ads

To configure AdMob interstitial ads, go to the AdMob panel in the Unity editor and set the following settings:

  • AdMob App ID: Your AdMob app ID
  • AdMob Interstitial ID: Your AdMob interstitial ad ID
  • Interstitial Timer: Set the timer interval (in seconds) before displaying the interstitial ad

AdMob Rewarded Video Ads

To configure AdMob rewarded video ads, go to the AdMob panel in the Unity editor and set the following settings:

  • AdMob App ID: Your AdMob app ID
  • AdMob Rewarded Video ID: Your AdMob rewarded video ad ID
  • Rewarded Video Timer: Set the timer interval (in seconds) before displaying the rewarded video ad

AdMob Android Settings

To configure AdMob settings for Android, go to the Player Settings panel in the Unity editor and set the following settings:

  • Other Settings > Android > Ad Activity Package Name: Your app's package name
  • Other Settings > Android > Ad Activity Class Name: The name of the ad activity class

AdMob iOS Settings

To configure AdMob settings for iOS, go to the Player Settings panel in the Unity editor and set the following settings:

  • Other Settings > iOS > Ad Activity Bundle ID: Your app's bundle ID
  • Other Settings > iOS > Ad Activity Class Name: The name of the ad activity class

Here are the features extracted from the text:

  1. Complete game template: The Asteroids game comes with a complete game template.
  2. Controller support: The game has controller support for PC, WebGL, Android, and iOS.
    • PC and WebGL: Use W/A/D or arrow keys for thrust and rotation, and space key for shooting.
    • Android and iOS: Control the spacecraft using on-screen controls.
  3. Test options: You can test the game on different platforms:
  4. AdMob integration: The game has AdMob ads implemented, with the ability to set up your app ID and ad IDs:
    • Setup: Go to Assets -> Google Mobile Ads -> Settings and put your app ID.
    • Ad IDs: Put your interstitial ad ID in the script "Menus.cs" on line 49 for Android and line 51 for iOS.
  5. Gameplay mechanics: The game has the following mechanics:
    • Ship control: The player controls a triangular spacecraft that can rotate left and right, shoot straight forward, and thrust forward.
    • Thrust: Once the ship starts moving, it will continue in that direction unless the player adds thrust in a different direction.
    • Ship stopping: When not thrusting, the ship comes to a halt.
  6. Objectives: The main objective of the game is to destroy asteroids and saucers.

Let me know if you'd like me to help with anything else!

Asteroids – Unity Retro Game With AdMob Ads
Asteroids – Unity Retro Game With AdMob Ads

$19.00

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