Space Flight (compete game+admob+android)
$54.00
1 sales
Introduction
I’m excited to review Space Flight, a competitive game developed for Android devices that supports AdMob integration, allowing game developers to monetize their game easily. In this review, I’ll go through the main features of the game, its compatibility, and how it can help you generate revenue using AdMob.
Review
Space Flight is an engaging game that offers a lot of features and options to make it a thrilling experience for players.
- 64-bit Support: The game is built with 64-bit architecture, making it compatible with the latest Android devices and ensuring smooth performance.
- Android Studio Support: The game is developed with Android Studio 3.2.1 and later versions, ensuring that it is compatible with the latest Android development tools.
- Universal Support: The game is designed to run on both smartphones and tablets, making it accessible to a wider range of players.
- Sound On/Off Option: Players can choose to play with sound on or off, allowing them to play the game in any environment they prefer.
- AdMob Integration: The game comes with AdMob support, allowing developers to display banner ads and interstitial ads to generate revenue.
- Endless Game: The game is endless, meaning that players can continue playing without restrictions, making it more engaging and challenging.
- Video Tutorial: A video tutorial is provided to help new players learn the game quickly and easily.
- 24/7 Support: The game developer offers 24/7 support, ensuring that players can get help whenever they need it.
Conclusion
Space Flight is an excellent game that offers a lot of features and options to make it a thrilling experience for players. With AdMob integration, game developers can easily monetize their game and generate revenue. The game’s compatibility with Android Studio and latest Android APIs makes it a great choice for developers looking to build a game for the Android platform.
Rating
I would rate this game 5 out of 5 stars based on its features, compatibility, and ease of integration with AdMob.
LIVE APP DEMO
You can check out the live app demo of Space Flight on the Google Play Store:
https://play.google.com/store/apps/details?id=armys.usacanada.game
Developer Transfer Facility
The game developer also offers a developer transfer facility, allowing other developers to purchase the game and modify it as per their requirements.
BUNDLE OFFER
The game developer is offering a bundle of 7 games that includes Space Flight, which you can purchase on CodeCanyon:
https://codecanyon.net/item/7-mega-bundleandroid-studioadmob-complete-game/24788223
ADDITIONAL AD SUPPORT
The game developer also offers additional Ad support, including Facebook Ads and ChartBoost Ads, which can help you generate more revenue.
If you have any questions or need more information, feel free to message the game developer at ishanjoshibhilwara@gmail.com.
User Reviews
Be the first to review “Space Flight (compete game+admob+android)”
Introduction
Welcome to our comprehensive tutorial on creating a Space Flight game with AdMob integration on Android. In this tutorial, we'll walk you through the entire process of creating a thrilling space combat game, from designing the game to publishing it on the Google Play Store. We'll also cover how to integrate AdMob, a popular mobile advertising platform, to monetize your game.
Prerequisites
Before we begin, please make sure you have the following:
- A computer with Android Studio installed
- A basic understanding of Java and Android development
- A Google Play Games account (optional, but recommended)
Step 1: Setting up the Game
Creating a New Android Studio Project
- Open Android Studio and select "Start a new Android Studio project"
- Choose "Empty Activity" and click "Next"
- Fill in the required information, such as project name, package name, and location
- Select "Java" as the programming language
- Click "Finish" to create the project
Designing the Game
- Create a new layout file
activity_main.xml
in theres/layout
directory -
Add the following code to the layout file:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <SurfaceView android:id="@+id/surface_view" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <Button android:id="@+id/pause_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Pause" /> <Button android:id="@+id/resume_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Resume" /> </LinearLayout>
This layout file consists of a `SurfaceView` for rendering the game, and two buttons for pausing and resuming the game.
### Creating the Game Logic
1. Create a new Java file `Game.java` in the `java/com.example.yourproject` directory
2. Add the following code to the file:
```java
package com.example.yourproject;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
public class Game extends SurfaceView implements SurfaceHolder.Callback {
private Context context;
private SurfaceHolder surfaceHolder;
private Paint paint;
private int width;
private int height;
public Game(Context context) {
super(context);
this.context = context;
surfaceHolder = getHolder();
surfaceHolder.addCallback(this);
paint = new Paint();
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
this.width = widthMeasureSpec;
this.height = heightMeasureSpec;
}
@Override
public void surfaceCreated(SurfaceHolder holder) {
// Initialize game logic here
}
@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
// Update game logic here
}
@Override
public void surfaceDestroyed(SurfaceHolder holder) {
// Clean up game logic here
}
@Override
protected void onDraw(Canvas canvas) {
// Render game graphics here
}
}
This class extends SurfaceView
and implements SurfaceHolder.Callback
. It initializes the game logic, updates it when the surface changes, and cleans up when the surface is destroyed. It also provides a method for rendering game graphics.
Step 2: Adding AdMob Integration
Adding the AdMob Library
-
Add the AdMob library to your project by adding the following line to your
build.gradle
file:dependencies { implementation 'com.google.android.gms:play-services-ads:19.6.0' }
Creating an AdMob AdUnit
- Go to the AdMob website and create a new ad unit
- Fill in the required information, such as ad format, ad size, and targeting
- Copy the ad unit ID
Adding the AdMob Code
- Add the following code to your
Game.java
file:package com.example.yourproject;
import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdSize; import com.google.android.gms.ads.AdView; import com.google.android.gms.ads.MobileAds;
public class Game extends SurfaceView implements SurfaceHolder.Callback {
//...
private AdView adView;
@Override
public void surfaceCreated(SurfaceHolder holder) {
super.surfaceCreated(holder);
MobileAds.initialize(context, new MobileAds初始化());
adView = new AdView(context);
adView.setAdSize(AdSize.SMART_BANNER);
adView.setAdUnitId("YOUR_AD_UNIT_ID");
adsLayout.addView(adView);
}
@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
super.surfaceChanged(holder, format, width, height);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
//...
}
This code initializes the AdMob library, creates an AdView, and sets its ad size and ad unit ID. It also loads an ad request when the surface changes.
**Step 3: Testing and Publishing**
### Testing the Game
1. Run the game on an emulator or a physical device
2. Test the game to ensure it runs smoothly and the AdMob ad loads correctly
### Publishing the Game
1. Go to the Google Play Store and create a new game listing
2. Fill in the required information, such as game title, description, and screenshots
3. Upload your game APK file and wait for it to be approved by Google Play
That's it! With these steps, you've created a complete Space Flight game with AdMob integration and published it on the Google Play Store.
I hope this tutorial has been helpful. If you have any questions or need further assistance, feel free to ask.
Game Settings
To configure the game settings, add the following code in the AndroidManifest.xml
file:
<application
...
android:hardwareAccelerated="true"
android:largeHeap="true"
android:supportsRtl="true"
android:screenOrientation="fullSensor">
...
</application>
Admob Settings
To configure AdMob settings, add the following code in the strings.xml
file:
<resources>
<string name="google_admob_app_id">your_app_id</string>
<string name="google_admob_banner_ad_unit_id">your_banner_ad_unit_id</string>
<string name="google_admob_interstitial_ad_unit_id">your_interstitial_ad_unit_id</string>
</resources>
Replace your_app_id
, your_banner_ad_unit_id
, and your_interstitial_ad_unit_id
with your actual AdMob app ID and ad unit IDs.
Admob Initialization
To initialize AdMob, add the following code in the onCreate
method of your MainActivity
:
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.InterstitialAd;
import com.google.android.gms.ads.MobileAds;
public class MainActivity extends AppCompatActivity {
private AdView bannerAdView;
private InterstitialAd interstitialAd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MobileAds.initialize(this, getString(R.string.google_admob_app_id));
bannerAdView = findViewById(R.id.banner_ad_view);
bannerAdView.loadAd(new AdRequest.Builder().build());
interstitialAd = new InterstitialAd(this);
interstitialAd.setAdUnitId(getString(R.string.google_admob_interstitial_ad_unit_id));
interstitialAd.loadAd(new AdRequest.Builder().build());
}
}
Space Flight Game Settings
To configure the game settings, add the following code in the SpaceFlightGame
class:
public class SpaceFlightGame extends Game {
private int maxSpeed = 10;
private int maxRotation = 10;
private int score = 0;
public SpaceFlightGame() {
// Initialize game settings
this.maxSpeed = 10;
this.maxRotation = 10;
this.score = 0;
}
}
Game Loop
To configure the game loop, add the following code in the onUpdate
method of your SpaceFlightGame
:
@Override
public void onUpdate(long deltaTime) {
// Update game logic
if (isAccelerometerEnabled()) {
// Update player speed and rotation based on accelerometer data
playerSpeed += accelerometerData.getAccelX() * maxSpeed;
playerRotation += accelerometerData.getAccelY() * maxRotation;
}
// Update score
score += 1;
// Update game state
if (isGameOver()) {
// Handle game over logic
}
}
Note: Replace playerSpeed
, playerRotation
, and accelerometerData
with your actual game variables.
Here are the features of the Space Flight (compete game+admob+android) mentioned in the text:
- 64 bit support
- Support for Newest Android Studio 3.2.1 or latest version
- Support for newest API 28 or latest API Version
- Universal (phone & tablet) compatibility
- Sound On/Off Option
- AdMob integration (Banner and Interstitial) for revenue generation
- Endless game
- Video tutorial
- 24/7 Support (help)
Additionally, it appears that the game is available for sale as a bundle of 7 games through CodeCanyon, and it also includes Facebook Ads and Chartboost Ads as extra features.
If you have any further questions, you can email the developer at ishanjoshibhilwara@gmail.com.
There are no reviews yet.