Testing React Native With Jest, react-test-renderer And react-native-testing-library

React Native is a great framework for you to write once and build mobile app with Javascript and React to both Android and iOS platform. Everything is pretty easy until your superior telling you, "We need to start practice TDD approach because there are too many bugs surfaced in production to capture the error early". Sounds [...]

Automatically Set iOS Build Number And Android Version Code In Unity Cloud Build

Did you ever have an experience where you automate the build of your games with Unity Cloud Build, but eventually you realise that you forgot to update the build number for iOS and version code for Android? Then, you have to edit the PlayerSettings and wait for the build again.... If you have a same [...]

Sorting Layer And Sorting Group For 2D Games In Unity 3D

When building on 2D games with Unity3D, one common issue that we will be dealing with is the sorting the layer of the sprites. In the common way, we can use Sorting Layer and Order in layer to solve most of the 2D game sorting issues. You can find the sorting layer and order in the Sprite Renderer component [...]

Tile-Based Movement Using iTween

Shiba's Adventure is the new roguelike RPG game that we developed in iOS and Android that using tile-based movement. The tile-based movement is very easy to implement and today we would like to share with you how do we achieve the movement like this: The secret recipe that we use is iTween! (Oopsss...it's no longer secret now). iTween is lightning fast, [...]

Taking High Quality Screenshots From Unity 3D Editor

Sometimes, you may need to take a good looking screenshot of your game for successful press kit or artwork. It can be tricky and tedious to take a high-resolution from your Unity 3D editor. But don't worry now, we found a great Unity plugin that can help you solve the problem. Install the Instant Screenshot by Saad [...]

How To Destroy Object When It Is Out Of Screen In Unity 3D

Today, I would like to share with you how to destroy game object when it is out of screen or no longer visible in Unity 3D. The answer is pretty simple! Just use Renderer.OnBecameInvisible(), this method will be called whenever the game object is visible by any camera. using UnityEngine; public class DestroyOnOffScreen : MonoBehaviour { [...]