Box Puzzle (Unity Game+Admob+iOS+Android)
$12.00
12 sales
Box Puzzle Review: A Challenging and Addictive Puzzle Game
I recently had the opportunity to review Box Puzzle, a puzzle board game that has left me hooked. With its simple yet engaging gameplay, Box Puzzle is a must-play for fans of puzzle games. In this review, I’ll take you through the game’s features, requirements, and setup process, as well as share my overall experience with the game.
Gameplay
The gameplay is straightforward: drag and drop the box shapes to fill the holes. Sounds easy, right? Well, it’s not as simple as it seems. As you progress through the levels, the shapes become more complex, and the holes become harder to fill. The game requires strategic thinking and quick reflexes to solve each level.
Features
Box Puzzle comes with a range of features that make it a standout game.
- Rewarded Ads: Earn rewards and in-game currency by watching ads.
- Level Editor: Create and share your own levels with the built-in level editor.
- 50 Levels: A decent number of levels to keep you engaged and challenged.
- Daily Rewards: Earn daily rewards and bonuses by playing the game regularly.
- Ads (Unity Ads, Admob): The game uses both Unity Ads and Admob for maximum revenue potential.
- Cool UI Effects and sounds: The game’s UI and sound effects are visually appealing and engaging.
- iOS and Android: Box Puzzle is available on both iOS and Android platforms.
- Structured Clean Code: The game’s code is well-structured and easy to maintain.
- Easy to reskin Editor Scripts: The game’s scripts are easy to reskin, making it a great option for developers who want to customize the game.
Setup
Setting up the game is relatively straightforward.
- How to Open the Project: Check out the video tutorial at https://youtu.be/9vIRD6JESaU.
- Setup Admob Video link: Follow the video tutorial at https://youtu.be/dwrnRZUbwL8.
- Setup Unity Service Video link: Check out the video tutorial at https://youtu.be/VAewRzmy9bY.
Score
I give Box Puzzle a score of 4 out of 5. The game is engaging, challenging, and has a lot of potential for customization. The only drawback is that the game can be a bit frustrating at times, especially when you get stuck on a level.
Conclusion
Box Puzzle is a great puzzle game that’s perfect for fans of puzzle games. With its addictive gameplay, rewarding features, and ease of setup, it’s a great option for developers who want to create a puzzle game. Overall, I highly recommend Box Puzzle to anyone looking for a fun and challenging puzzle game.
APK Link
You can download the APK file for Box Puzzle from the link provided.
Rating: 4/5
User Reviews
Be the first to review “Box Puzzle (Unity Game+Admob+iOS+Android)”
Introduction to the Box Puzzle Game and AdMob Integration
In this tutorial, we will be creating a 3D Box Puzzle game using Unity and integrating AdMob to monetize our game on both iOS and Android platforms. The Box Puzzle game is a popular concept where players rotate and manipulate 3D boxes to fit them into a predetermined shape.
Prerequisites:
- Unity 2020.3 or later
- AdMob account
- Basic understanding of Unity and C# programming
- Android and iOS development environment set up
Box Puzzle Game Overview:
The game will have the following features:
- 3D boxes that can be rotated and moved
- A game board with a predetermined shape that the player must fit the boxes into
- A timer that starts when the game begins and ends when the player solves the puzzle or runs out of time
- AdMob ads displayed between levels and after the game is completed
Step 1: Creating the Box Puzzle Game in Unity
- Open Unity and create a new 3D project.
- Create a new scene by going to
File
>New Scene
. - Add a new
GameObject
by going toGameObject
>3D Object
>Cube
. This will be the base of our 3D box. - Create a new
Prefab
by going toAssets
>Create
>Prefab
. Name itBox
. - Add a
Rigidbody
component to theBox
prefab by going toComponents
>Physics
>Rigidbody
. - Add a
Collider
component to theBox
prefab by going toComponents
>Physics
>Mesh Collider
. - Create a new
GameObject
by going toGameObject
>3D Object
>Plane
. This will be the game board. - Add a
Sprite
component to thePlane
game object by going toComponents
>Rendering
>Sprite
. - Create a new
Script
by going toAssets
>Create
>C# Script
. Name itBoxController
. - Attach the
BoxController
script to theBox
prefab.
Step 2: Writing the BoxController Script
- Open the
BoxController
script in the Unity editor. - Add the following code to the script:
using UnityEngine;
public class BoxController : MonoBehaviour { public float rotationSpeed = 100f; public float moveSpeed = 5f;
private Rigidbody rb;
void Start()
{
rb = GetComponent<Rigidbody>();
}
void Update()
{
float horizontalInput = Input.GetAxis("Horizontal");
float verticalInput = Input.GetAxis("Vertical");
if (horizontalInput!= 0 || verticalInput!= 0)
{
RotateBox(horizontalInput, verticalInput);
}
if (Input.GetMouseButtonDown(0))
{
MoveBox();
}
}
void RotateBox(float horizontalInput, float verticalInput)
{
rb.AddTorque(transform.up * rotationSpeed * horizontalInput * Time.deltaTime);
rb.AddTorque(transform.right * rotationSpeed * verticalInput * Time.deltaTime);
}
void MoveBox()
{
rb.velocity = transform.forward * moveSpeed;
}
}
This script allows the player to rotate and move the box using the arrow keys and mouse click.
**Step 3: Creating the Game Board and Level Generation**
1. Create a new `GameObject` by going to `GameObject` > `3D Object` > `Plane`. This will be the game board.
2. Add a `Sprite` component to the `Plane` game object by going to `Components` > `Rendering` > `Sprite`.
3. Create a new `Script` by going to `Assets` > `Create` > `C# Script`. Name it `LevelGenerator`.
4. Attach the `LevelGenerator` script to the `Plane` game object.
**Step 4: Writing the LevelGenerator Script**
1. Open the `LevelGenerator` script in the Unity editor.
2. Add the following code to the script:
```csharp
using UnityEngine;
public class LevelGenerator : MonoBehaviour
{
public int boxCount = 5;
public float boxSize = 1f;
public float boxSpacing = 0.5f;
public GameObject boxPrefab;
private List<GameObject> boxes = new List<GameObject>();
void Start()
{
GenerateLevel();
}
void GenerateLevel()
{
for (int i = 0; i < boxCount; i++)
{
GameObject box = Instantiate(boxPrefab);
box.transform.position = new Vector3(Random.Range(-boxSpacing, boxSpacing), 0, Random.Range(-boxSpacing, boxSpacing));
box.transform.localScale = new Vector3(boxSize, boxSize, boxSize);
boxes.Add(box);
}
}
void Update()
{
foreach (GameObject box in boxes)
{
if (box.GetComponent<Rigidbody>().IsTouchingSomething())
{
Destroy(box);
boxes.Remove(box);
boxCount--;
if (boxCount == 0)
{
LevelComplete();
}
}
}
}
void LevelComplete()
{
// Code to handle level completion
}
}
This script generates a random level with a specified number of boxes and handles box collisions and level completion.
Step 5: Integrating AdMob
- Create a new
Script
by going toAssets
>Create
>C# Script
. Name itAdMobManager
. - Attach the
AdMobManager
script to theGame
game object.
Step 6: Writing the AdMobManager Script
- Open the
AdMobManager
script in the Unity editor. - Add the following code to the script:
using UnityEngine; using Google.MobileAds;
public class AdMobManager : MonoBehaviour { privateInterstitialAd interstitialAd; privateRewardedAd rewardedAd;
void Start()
{
MobileAds.Initialize(initStatus => { });
LoadInterstitialAd();
LoadRewardedAd();
}
void LoadInterstitialAd()
{
string adUnitId = "YOUR_INTERSTITIAL_AD_UNIT_ID";
interstitialAd = new InterstitialAd(adUnitId);
interstitialAd.LoadAd(new AdLoadCallback(interstitialAdLoaded => { }));
}
void LoadRewardedAd()
{
string adUnitId = "YOUR_REWARDED_AD_UNIT_ID";
rewardedAd = new RewardedAd(adUnitId);
rewardedAd.LoadAd(new AdLoadCallback(rewardedAdLoaded => { }));
}
void ShowInterstitialAd()
{
if (interstitialAd.IsLoaded())
{
interstitialAd.Show();
}
}
void ShowRewardedAd()
{
if (rewardedAd.IsLoaded())
{
rewardedAd.Show();
}
}
}
This script loads and shows AdMob interstitial and rewarded ads.
**Step 7: Displaying Ads**
1. Display ads between levels by calling the `ShowInterstitialAd()` method in the `LevelGenerator` script.
2. Display ads after the game is completed by calling the `ShowRewardedAd()` method in the `LevelComplete()` method.
**Step 8: Building and Publishing the Game**
1. Build the game for both iOS and Android platforms using the Unity editor.
2. Create a new app on AdMob and get the AdMob ID.
3. Replace the AdMob ID in the `AdMobManager` script with the actual AdMob ID.
4. Publish the game on the app stores.
That's it! With these steps, you should now have a complete Box Puzzle game with AdMob integration for both iOS and Android platforms.
Here is a complete settings example for configuring Box Puzzle (Unity Game+Admob+iOS+Android):
Admob Settings
In the Admob dashboard, create a new ad unit for each platform:
- iOS: Create a new ad unit for iOS, select "Banner" as the ad format, and set the ad size to "Smart Banner".
- Android: Create a new ad unit for Android, select "Banner" as the ad format, and set the ad size to "Smart Banner".
Unity Settings
In the Unity project, go to the "Edit" menu and select "Project Settings". Then, select the "Player" category and set the following:
- Application ID: Your Admob app ID (e.g. ca-app-pub-3940256099942544~3347511717)
- Admob Banner: Select the Admob banner ad unit created for each platform (e.g. ca-app-pub-3940256099942544~3347511717/banner)
iOS Settings
In the Xcode project, go to the "Capabilities" tab and enable the following:
- Google Mobile Ads: Enable the Google Mobile Ads capability
- Ad Support: Enable the Ad Support capability
In the "Info.plist" file, add the following lines:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbXXXXXXXXXXXX</string>
(replace with your Facebook app ID)</array>
</dict>
</array>
Android Settings
In the AndroidManifest.xml file, add the following lines:
<meta-data android:name="com.google.android.gms.version" android:value="12450000" />
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-3940256099942544~3347511717" />
In the build.gradle file, add the following lines:
implementation 'com.google.android.gms:play-services-ads:20.5.0'
implementation 'com.google.android.gms:play-services-ads-lite:20.5.0'
Box Puzzle Settings
In the Box Puzzle script, set the following:
admobBannerAdUnitID
: Your Admob banner ad unit ID (e.g. ca-app-pub-3940256099942544~3347511717)admobInterstitialAdUnitID
: Your Admob interstitial ad unit ID (e.g. ca-app-pub-3940256099942544~3347511717)showAdAfterLevel
: Set to true to show an ad after each level completionshowAdAfterScore
: Set to true to show an ad after reaching a certain score
Here are the featured about Box Puzzle:
- Rewarded Ads: The game features rewarded ads for players.
- Level Editor: The game has a level editor for creating and modifying levels.
- 50 Levels: The game has 50 levels for players to complete.
- Daily Rewards: The game offers daily rewards for players.
- Ads (Unity Ads, Admob): The game uses both Unity Ads and Admob for advertising.
- Cool UI Effects and sounds: The game has cool UI effects and sounds for an engaging experience.
- iOS and Android: The game is compatible with both iOS and Android devices.
- Structured Clean Code: The game's code is structured and clean, making it easy to maintain and update.
- Easy to reskin Editor Scripts: The game's editor scripts are easy to reskin for customizing the game's appearance.
Note that each feature is listed on a separate line in the original content.
There are no reviews yet.