Top Quality Products

Save The Jelly – Android Game with AdMob

$16.00

Added to wishlistRemoved from wishlist 0
Add to compare

1 sales

Save The Jelly – Android Game with AdMob

Save The Jelly – A Fun and Addictive Android Game

I recently had the pleasure of playing "Save The Jelly", a simple yet engaging Android game that has quickly become one of my favorites. The game’s objective is straightforward: as a jelly, you need to avoid falling boxes and collect points to earn a high score. Sounds easy, right? Well, it’s not as simple as it seems, and I found myself hooked from the very first level.

Features

One of the standout features of "Save The Jelly" is its clean and responsive UI. The game’s graphics are simple yet effective, with a cute jelly character that’s easy to control. The game also features AdMob banner and interstitial ads, which are seamlessly integrated into the gameplay. Additionally, social sharing is available, allowing you to share your high scores with friends.

The game’s sound design is also noteworthy, with a catchy background music and sound effects that add to the overall gaming experience. The game’s logo animation is also a nice touch, setting the tone for the fun and playful gameplay that follows.

Technical Details

Under the hood, "Save The Jelly" is built using Unity, a popular game engine that allows for cross-platform development. The game’s C# scripts are clean and well-organized, making it easy to understand and modify the game’s code.

Art and Music

The game’s character art is sourced from GameArt2D, a website that offers a wide range of free game assets. The music, on the other hand, is from OpenGameArt, a non-profit organization that provides free and open-source game assets.

Conclusion

Overall, I highly recommend "Save The Jelly" to anyone looking for a fun and addictive Android game. The game’s simple yet engaging gameplay, combined with its clean UI and responsive controls, make it a joy to play. With its AdMob integration, social sharing, and background music, "Save The Jelly" is a well-rounded game that’s sure to appeal to gamers of all ages.

Rating: 5/5 stars

Score: 0

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 “Save The Jelly – Android Game with AdMob”

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

Introduction

Save the Jelly is a popular mobile game where players help jelly-like creatures escape from falling blocks by tapping on the screen to create a platform for them to jump on. The game is engaging, challenging, and visually appealing, making it an excellent choice for mobile game developers looking to monetize their app with ads.

In this tutorial, we will guide you on how to integrate AdMob ads into your Save the Jelly game on Android. AdMob is a popular ad network that allows you to display ads in your mobile app and earn revenue from them. We will cover the steps to set up AdMob, create a new ad unit, and integrate it into your Save the Jelly game.

Prerequisites

Before you start, make sure you have the following:

  1. An Android device or an emulator.
  2. Eclipse or Android Studio installed.
  3. The Save the Jelly game source code.
  4. A Google AdMob account.
  5. Basic knowledge of Java and Android development.

Step 1: Set up AdMob

  1. Go to the AdMob website (https://www.admob.com) and sign in with your Google account.
  2. Click on the "Add a new app" button and fill in the required information, such as your app name, package name, and store listing ID.
  3. Select the "Android" platform and choose the type of ads you want to display in your app (e.g., banner, interstitial, rewarded video).
  4. Click on the "Create app" button to create your AdMob app.

Step 2: Create a new ad unit

  1. In your AdMob dashboard, click on the "Apps" tab and select the app you just created.
  2. Click on the "Menu" icon (three vertical dots) and select "Ad units".
  3. Click on the "Create ad unit" button.
  4. Select the ad format you want to create (e.g., banner, interstitial, rewarded video).
  5. Fill in the required information, such as the ad unit name, ad format, and target audience.
  6. Click on the "Create" button to create your ad unit.

Step 3: Add the AdMob SDK to your Android project

  1. Open your Android project in Eclipse or Android Studio.
  2. Right-click on your project and select "Properties".
  3. In the "Properties" window, select "Android" from the left-hand menu and click on the "Library" tab.
  4. Click on the "Add" button and select "AdMob Android SDK".
  5. Follow the installation instructions to add the SDK to your project.

Step 4: Initialize the AdMob SDK and create an ad request

  1. Open your AndroidManifest.xml file and add the following line of code inside the application tag:
    <meta-data android:name="com.google.android.gms.version" android:value="@" />
  2. Create a new class called AdRequestHandler and add the following code:
    
    import com.google.android.gms.ads.AdRequest;
    import com.google.android.gms.ads.AdView;

public class AdRequestHandler { private AdView adView;

public AdRequestHandler(Context context) {
    adView = new AdView(context);
    adView.setAdUnitId("YOUR_AD_UNIT_ID");
    adView.setAdSize(AdSize.BANNER);
    adView.loadAd(new AdRequest.Builder().build());
}

public AdView getAdView() {
    return adView;
}

}

Replace `YOUR_AD_UNIT_ID` with the ad unit ID you created in AdMob.

**Step 5: Display the ad in your game**

1. In your game's main activity, create an instance of the `AdRequestHandler` class:
```java
AdRequestHandler adRequestHandler = new AdRequestHandler(this);
  1. Get the ad view from the AdRequestHandler instance:
    AdView adView = adRequestHandler.getAdView();
  2. Add the ad view to your game's layout:
    LinearLayout layout = (LinearLayout) findViewById(R.id.layout);
    layout.addView(adView);
  3. Set the ad view's visibility to visible:

    adView.setVisibility(View.VISIBLE);

    Step 6: Handle ad events

  4. Create an AdListener object and set it to your ad view:

    adView.setAdListener(new AdListener() {
    @Override
    public void onAdLoaded() {
        Log.d("AdMob", "Ad loaded");
    }
    
    @Override
    public void onAdFailedToLoad(int errorCode) {
        Log.d("AdMob", "Ad failed to load: " + errorCode);
    }
    
    @Override
    public void onAdLeftApplication() {
        Log.d("AdMob", "Ad left application");
    }
    
    @Override
    public void onAdOpened() {
        Log.d("AdMob", "Ad opened");
    }
    });
  5. Handle ad events as necessary (e.g., show a toast message when an ad is loaded).

Step 7: Test and optimize your ad implementation

  1. Run your app on a physical device or emulator.
  2. Check if the ad is displaying correctly and if the ad events are being triggered.
  3. Optimize your ad implementation by adjusting the ad unit ID, ad size, and ad format.
  4. Monitor your app's ad performance and earnings in the AdMob dashboard.

That's it! You have successfully integrated AdMob ads into your Save the Jelly game on Android.

App ID and Ad Unit ID

In the strings.xml file, add the following lines:

<string name="app_id">ca-app-pub-3940256099942544~3347515173</string>
<string name="ad_unit_id">ca-app-pub-3940256099942544~6799077711</string>

AdMob Initialization

In the MainActivity.java file, 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 MainActivity extends AppCompatActivity {
    private AdView adView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        MobileAds.initialize(this, "ca-app-pub-3940256099942544~3347515173");
        //...
    }
}

Ad Request

In the MainActivity.java file, add the following code:

AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);

Ad View

In the activity_main.xml file, add the following code:

<com.google.android.gms.ads.AdView
    xmlns:ads="http://schemas.android.com/apk/res-auto"
    android:id="@+id/adView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    ads:adSize="BANNER"
    ads:adUnitId="ca-app-pub-3940256099942544~6799077711">
</com.google.android.gms.ads.AdView>

Requesting Ad Updates

In the MainActivity.java file, add the following code:

adView.setAdListener(new AdListener() {
    @Override
    public void onAdLoaded() {
        // Ad has loaded
    }

    @Override
    public void onAdFailedToLoad(int errorCode) {
        // Ad failed to load
    }

    @Override
    public void onAdOpened() {
        // Ad is opened
    }

    @Override
    public void onAdClosed() {
        // Ad is closed
    }
});

Showing Ad

In the MainActivity.java file, add the following code:

adView.setVisibility(View.VISIBLE);

Hiding Ad

In the MainActivity.java file, add the following code:

adView.setVisibility(View.GONE);

Here are the features of the Save The Jelly Android game:

  1. Made with Unity: The game was developed using Unity, a popular game engine.
  2. AdMob Banner integrated: The game features AdMob banner ads, allowing for monetization.
  3. AdMob Interstitial integrated: The game also features AdMob interstitial ads, which can be displayed at specific points in the game.
  4. Social sharing integrated: Players can share their progress and scores on social media platforms.
  5. Responsive UI: The game's user interface is designed to be responsive, adapting to different screen sizes and devices.
  6. Simple graphic: The game features simple, colorful graphics.
  7. Custom Game LOGO animation: The game's logo has a custom animation.
  8. Clean C# scripts: The game's code is written in clean, readable C#.
  9. Background music and sounds: The game features background music and sound effects.
  10. Documentation: The game comes with documentation, making it easier for developers to understand and modify the code.

Additionally, the game uses:

  1. Character Art from GameArt2D: The game's character art was sourced from GameArt2D.
  2. Music from OpenGameArt: The game's music was sourced from OpenGameArt.
Save The Jelly – Android Game with AdMob
Save The Jelly – Android Game with AdMob

$16.00

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