Posts Tagged ‘ unity3d ’

Touch Inputs in Unity3D

This is the one of the most discussed topics in many forums. Even though Unity3D is a multi platform game engine and supports all the mobile devices, the touch input with Unity3D is still tricky and not so easy to achieve. Even when attempted, many a times its not a smooth user experience and sometimes quirky and laggy. After many trials and errors I have come across a way to get the touch input work and I am sharing my way with you. Hopefully it will be of some use to you guys and may be you can take it a step further and can modify it according to your needs.

Please not that this Touch Input is for “Tap Detection” only including Multiple Finger Taps, as most of the devices can now detect upto 5 fingers at a time.

Continue reading

Setting Up Prime31 AdMob Plugin in Android game in Unity3D

Hi guys,

If you are also an independent Game Developer then it is very important to somehow make the game monetize so as to support you as a developer. Ofcourse We can always make our game paid, but then being an indie developer, if we do so we might lose lots of users as they might not just buy our game thinking whether its even worth buying it or not. The only way to make sure that people download our game is by making it free.

The current time has been very favaourable for the indie developers as we now have the option to make our game “freemium” which means that it is free to play but if the user really likes the game they can go ahead and buy some expansion or upgrades from inside the game and thus making sure to support the developer too in doing so along with us being very transparent in leting them know that “its worth it”. The other great way is “Ads”. I, however dislike ads but then its a very good source of revenue considering you have a moderate number of downloads and your game is really worth the replayability. As the more people play everyday, the more the chances of clicking on the ads. There’s lots of options for us in terms of ads like AdMob, MobClick, etc. I prefer to use Admob by google as its a very good option but then again its really very painful to integrate the AdMob SDK inside Unity3D, unless you are familiar with the Eclipse and Google Java Programming. I am not a hardcore programming guy and therefore learning eclipse and making my own plugin seems very time taking to me (though I have tried my hands in it just to see myself with no luck in the end) So I decided to use the Plugin made by Prime31 (http://prime31.com) Its a very good plugin and it says that its really easy to integrate it into the Unity3d Project but I dont think so. I have tried and tried and have failed to do so. There documenation is also not very friendly. So after doing lots of research in the internet I came with some luck and after some trial and error method I have managed to integrate it into my game.

So this is a small tutorial on how to inegrate it into the scene if, you also like me is having a hard time struggling with Prime31 setup.

Following is the step by Step instruction on how to set up the Prime31 Admob Plugin for Android Continue reading

Level Change Transition in Unity3D

In the last topic I covered how to make a loading screen in Unity3D and as we all know that it is very very important to make a loading screen and we find that in almost all the games. Now, in this topic I want to cover to make some kind of transition effect in starting of the level.

If we try to recall all the past games we have played so far, we might notice that almost all the games have some kind of transition as the level starts. And If we take a moment to think about it, we may see the benefit of making those effect in our game. Transition, somehow makes the player prepare for whats about to come in his next level. It gives the player few extra second to be prepared for the next level. Imagine yourself waiting to play next Level of the game while you see a loading screen and then just like that in a moment of mili-second you find yourself in between a jungle or a cave or whatever the level contains. The player might actually be confused but if the same thing happens and you get into that situtation after say 3 second fade-in effect, then that 3 second will actually prepare you and you will be able to adjust youself with the surrounding of the levels.
Continue reading

Making a loading screen in between Levels is Unity3D

Loading is one of the most considered thought while making Levels. We always have to be careful so as not to make our levels too heavy. Long loading makes the user bored from the game resulting in simple uninstallation or bad review. Though there are many ways by which we can optimize the game in order to make it load faster.
Whatver the case may be, it is always a good idea to make a loading screen to appear in between levels so as to make the user aware that the game is working on loading a screen rather than giving an appearance where it seems that the game has just freezed.

As with my progress in my current game I had to make a similar loading screen and was totaly unaware of how to do it in Unity3D. I have a experience in making games for Flash and it was pretty simple in Flash. After doing little experiment of my own I found that, in Unity too its as simple as making a seperate scene and just arranging the screen in a similiar fashion.

Following is the little guide on how to make a Loading Screen in Unity3D:
Continue reading

Exploring Unity3D

This is kind of a late post as I have been exploring Unity3D since 2 Months and I must admit I have learned a lot. Which takes me to the point to desire more, explore and study the game which has already been made and released using Unity3D. I have been following Unity3D forum closely to keep myself updated with the interviews and Tips&Tricks.

I suppose with Unity3D v4.0 coming in a month its becoming more powerful and has more to offer to its users. Also as I have been using JavaScript( or UnityScript) till now, I have decided to move on to C#. I am new to C# but as I have done C and C++ long time ago in school, I guess It just the matter of time when I am comfortable in Scripting using C# as I am now in JavaScript.

I also hope to release few games which I have made in this two Months however all the games are entry level games with not so attractive look and feel but I am quite happy with the Gameplay. I really hope to publish and add the web version here in my Blog. I am also working on a few iOS games in my office and also planning to make a PC/MAC/iOS/Android Game along with my friend. I will update about it as soon as it comes in Action. We are still in planning stage 😉