Candy Blast (Unity+Admob+Android+IOS)
$20.00
5 sales
Candy Blast (Unity+Admob+Android+IOS) Review
Introduction
Candy Blast is a popular matching game that has been made available for both Android and iOS platforms using Unity. The game is designed to be easy to play and fun, with the goal of popping the same candies by matching them and reaching the target score. The game also features Admob ads, making it a great option for those looking to monetize their game.
Gameplay
The gameplay is simple and straightforward. Players are presented with a grid of candies and must match three or more of the same candies in a row to pop them. The goal is to reach the target score by using the limited number of moves available. The game becomes increasingly challenging as the levels progress, with new candies and obstacles being introduced.
Features
The game features a range of features that make it easy to play and customize. These include:
- Ready-to-publish: The game is ready to be published on the app stores, with no additional setup required.
- Admob integration: The game features Admob ads, making it easy to monetize the game.
- Mobile optimization: The game is optimized for mobile devices, providing a smooth and responsive gaming experience.
- Easy to reskin: The game’s assets can be easily replaced with new graphics and sounds, making it easy to customize the game.
- Unity template: The game is built using Unity, making it easy to modify and customize.
Pros and Cons
Pros:
- Easy to play and fun
- Admob ads provide a revenue stream
- Mobile optimization provides a smooth gaming experience
- Easy to reskin and customize
Cons:
- Limited number of levels
- Some players may find the gameplay too simple
- Admob ads can be intrusive
Conclusion
Overall, Candy Blast is a fun and easy-to-play matching game that is perfect for those looking to create a simple and enjoyable game. The Admob integration makes it easy to monetize the game, and the mobile optimization provides a smooth gaming experience. While some players may find the gameplay too simple, the game is a great option for those looking to create a casual game.
Rating: 0/5
Recommendation:
I would recommend Candy Blast to developers who are looking to create a simple and fun matching game. The game is easy to play and customize, making it a great option for those who are new to game development. However, players who are looking for a more challenging game may want to look elsewhere.
User Reviews
Be the first to review “Candy Blast (Unity+Admob+Android+IOS)”
Introduction to Candy Blast
Candy Blast is a popular match-three puzzle game where players swap adjacent candies to create sets of three or more identical candies in a row. This tutorial will guide you on how to implement Candy Blast using Unity, Admob, and iOS and Android platforms.
Prerequisites
Before you start, make sure you have:
- Unity version 2020.3 or higher installed
- Admob account set up
- Basic understanding of Unity programming and game development
- iOS and Android development set up on your machine (for testing)
Getting Started with Unity
To get started, create a new Unity project and navigate to the Assets folder. Right-click on the folder and select Import Package > Custom Package. Choose the Unity Ads package ( Unity will prompt you to download the package if it's not already installed).
Setup Admob in Unity
- Go to Window > Ads > Google AdMob
- Sign in to your Admob account
- Set up your ad network ID and other settings
Setup Candy Blast Game Mechanics
- Create a new 2D game object (e.g., CandyPrefab) in your Unity project
- Set up the Candy game object with the necessary properties (e.g., image, scale, etc.)
- Create a new Script (e.g., CandyMovement.cs) to handle candy movement and interactions
- Attach the script to the Candy game object
- Set up the Candy movement mechanics (e.g., swapping adjacent candies)
CandyMovement Script
Here's a basic example of the CandyMovement script:
using UnityEngine;
public class CandyMovement : MonoBehaviour
{
public enum CandyColor { Red, Blue, Yellow, Green }
private CandyColor color;
private GameObject candy;
void Start()
{
color = (CandyColor)Random.Range(0, 4);
candy = Instantiate(GetCandyPrefab(color));
candy.transform.position = transform.position;
}
public void SwapCandies(GameObject candy1, GameObject candy2)
{
// Check if candies are adjacent and identical
if (AreAdjacent(candy1, candy2) && AreIdentical(candy1, candy2))
{
// Swap candies
GameObject temp = candy1;
candy1 = candy2;
candy2 = temp;
candy1.transform.position = candy2.transform.position;
candy2.transform.position = temp.transform.position;
// Check for match-three combinations
CheckForMatches(candy1, candy2);
}
}
public void CheckForMatches(GameObject candy1, GameObject candy2)
{
// Check if candies have matches
if (AreAdjacent(candy1, candy2))
{
// Remove matching candies
Destroy(candy1);
Destroy(candy2);
// Update score and notify Admob of ad refresh
Admob.RequestReward();
}
}
bool AreAdjacent(GameObject candy1, GameObject candy2)
{
// Check if candies are adjacent horizontally or vertically
// (Left/Right and Up/Down directions)
if (Mathf.Abs(candy1.transform.position.x - candy2.transform.position.x) == 1 &&
Mathf.Abs(candy1.transform.position.y - candy2.transform.position.y) == 0)
{
return true;
}
else if (Mathf.Abs(candy1.transform.position.x - candy2.transform.position.x) == 0 &&
Mathf.Abs(candy1.transform.position.y - candy2.transform.position.y) == 1)
{
return true;
}
else
{
return false;
}
}
bool AreIdentical(GameObject candy1, GameObject candy2)
{
// Check if candies are identical (same color)
if (candy1.GetComponent<Renderer>().material.color == candy2.GetComponent<Renderer>().material.color)
{
return true;
}
else
{
return false;
}
}
GameObject GetCandyPrefab(CandyColor color)
{
// Load the desired candy prefab based on color
switch (color)
{
case CandyColor.Red:
return Resources.Load<GameObject>("CandyRed");
case CandyColor.Blue:
return Resources.Load<GameObject>("CandyBlue");
case CandyColor.Yellow:
return Resources.Load<GameObject>("CandyYellow");
case CandyColor.Green:
return Resources.Load<GameObject>("CandyGreen");
default:
return null;
}
}
}
Testing and Admob Integration
- Test your Candy Blast game on both Android and iOS platforms
- Add Admob ad units (Rewarded, Interstitial, and Banner) to your game
- Implement Admob callbacks and ad refresh mechanisms
Tips and Optimizations
- Use Unity's built-in animation system to animate candy movement and rotations
- Optimize your game by reducing redundant calculations and using Unity's caching mechanisms
- Add sound effects and visual effects to enhance the user experience
This tutorial covers the basic implementation of Candy Blast using Unity, Admob, and iOS and Android platforms. For a full-featured game, consider adding additional features such as scorekeeping, level design, and leaderboard integration.
Remember to check the Unity documentation and Admob SDK for more detailed information and guidelines on implementing Admob ads in your game. Happy coding!
Admob Settings
In the Admob console, create a new app and add the following settings:
- App name: Candy Blast
- Package name: com.candyblast
- Admob ID: [your_admob_id]
Android Settings
In the AndroidManifest.xml file, add the following code:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.candyblast"
android:versionCode="1"
android:versionName="1.0">
...
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<application>
...
<activity android:name="com.unity3d.player.UnityPlayerActivity"
android:screenOrientation="fullSensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />
</application>
</manifest>
iOS Settings
In the Info.plist file, add the following code:
<key>GADApplicationIdentifier</key>
<string>[your_admob_id]</string>
<key>GADClientId</key>
<string>[your_admob_id]</string>
<key>UISupportedExternalAccessoryProtocols</key>
<array>
<string>com.google.iid</string>
</array>
Unity Settings
In the Unity editor, go to Edit > Project Settings > Player > Other Settings and add the following code:
- Scripting Backend: IL2CPP
- Architecture: ARMv7
- Target API Level: Android 10 (or latest)
- Graphics API: OpenGLES 3.0
In the Unity editor, go to Edit > Project Settings > Admob and add the following code:
- Admob App ID: [your_admob_id]
- Admob Ad Unit ID: [your_admob_ad_unit_id]
Additional Settings
In the Unity editor, go to Edit > Project Settings > Build Settings and make sure the following settings are enabled:
- Android > Enable ARMv7 support
- iOS > Enable ARMv7 support
- iOS > Enable 64-bit support
Note: Replace [your_admob_id] and [your_admob_ad_unit_id] with your actual Admob app ID and ad unit ID.
Here are the features extracted from the content:
- Ready to Publish: The game is ready to be published, with source files available.
- Admob Integration: Admob ads (Banner and Interstitial) are integrated into the game.
- Mobile Optimization: The game is optimized for mobile devices.
- Easy Reskin: The game can be easily reskinned to change its appearance.
- Unity Template: The game is built using Unity, a popular game engine.
- Matching Game: The game is a matching game, where players match candies to progress.
- Target Score: Players must reach a target score to complete levels.
- Limited Moves: Players have limited moves to reach the target score.
- High Score: The goal is to make the highest score possible.
- Free Unity Download: Unity version 2019.4.18f1 or later can be downloaded for free.
Additionally, there are 16 other featured games listed, each with its own set of features and links to purchase.
There are no reviews yet.