Tuesday, November 26, 2013

Wednesday, November 6, 2013

Objects Pool Manager in Unity3d

Standard
Hello All:

Sometimes in our games we require game objects of same type to be instantiated constantly like bullets from a gun or coins on the map. This generation of game objects incur huge amount of overhead on CPU. Here we can use the technique of pooling the objects and make the objects enable/ disable from this pool.


Saturday, October 26, 2013

WWW web request manager in Unity3d -Part 2

Standard
Hello,

This post is continuation of this. Many times, in our games we have logic which continuously interact with back-end logic (can be in php, java or C#). In order to minimize number of requests which client makes to server, we can send web request in batches. In this post I will explain how to implement a Request Manager to manage web request in batches.

Wednesday, October 16, 2013

Saturday, October 5, 2013

Admob Android Plugin for Unity3d

Standard
Hello All:

Sometimes it is good to earn some money even by publishing free games and applications. This is where advertisements come handy. In this post I will explain how to create a unity3d plug-in to show ads using Google's Admob.

Sunday, September 29, 2013

Android Plug-in for Unity3d - Part 2

Standard
Hello All:

Sometimes we want to extend the default behavior of Activity which come with Unity3d. In this post I will explain how to extend UnityPlayerActivity. This post is continuation of this.If you did not see the post please go through it I will be here :).


Wednesday, September 25, 2013

Android Plug-in for Unity3d - Part 1

Standard
Hello All:

In this two parts post I will explain how to create an android plugin to access native APIs of android or to call 3rd party libraries like ads integration. Basic information on how to create android plug-in can be found here.


Monday, September 16, 2013

Issue with resuming application after Home button is pressed on Android

Standard
Hello:

In this post, I am going to show how to fix the issue which comes while resuming application on Android. An application is moved to background when another application is launched or HOME button is pressed on Android devices. Sometimes the application which is moved to background is not resumed (where it was interrupted), resulting in relaunch of the application.

Tuesday, September 10, 2013

Export png images of multiple dimensions using inkscape command line on Windows

Standard
Hello,

Many times for our applications we need *.png of different dimensions. Using Inkscape, we can export png of desired dimension. But this is a tedious and repetitive task. In this post, I will tell how to use InkScape command line options to automate this process.

Friday, August 30, 2013

Tuesday, August 27, 2013

Monday, August 26, 2013

Creating simple event manager in Unity3d

Standard
Hello All:

In this post, I am going to explain how to create a simple game event manager in Unity3d.
For this post you need basic idea of Events and Delegates in C#. You can refer to this tutorial to have an idea of events and delegates in C#.