Monday, 7 September 2015

How to use Enemy in Unity

Enemy Aim AI Unity


An Enemy is a person who is actively or hostile to someone or something.
Enemy aim AI is very useful when you want an enemy to aim towards the player controller.

Proper aiming towards an object takes time in real world scenario, so the enemy will take some amount of time before it locks on the target.

Quaternion stores the rotation of an object and also evaluates the orientation value.

One can directly play with Euler Angles, but there may arise situations of Gimbal Lock.

According to the local coordinate system, if you rotate a model about its X-axis then its Y and Z-axis experience a Gimbal lock and become “locked” together.

It Currently works fine for one enemy, but as soon as there are multiple enemies, the possible solution would be to make the enemies move in a random direction every few frames.

More this blog here: Enemy Aim AI Unity


Enemy Follow Script



We create a script similar to the hero’s movement controls script.

The only additions are the Accelerate and Invoke Repeating functions.

It will create a leaping effect while moving towards the targeted object.

It would look as if the enemy is thinking by itself and trying to catch the targeted object.

This kind of AI is a very useful case of action games, where the enemy follows a player and tries to shoot or attack.

One can change the challenge condition as per the need.

It can also increase the following speed in the script in a condition where it is mandatory that the followers should be able to catch the target object.

More this blog here: Enemy Follow Script


Enemy Obstacle Awareness AI




A Ray cast is used to delete if there is any object having collider within the given range and specified direction.

Ray cast is a static method which returns Boolean value i.e true if there is anything and false if there is nothing.

The front rays are used to detect the obstacles if obstacles are found the cube is rotated in either left or right direction to avoid the obstacle.

When front rays detect the obstacle, it should focus only on the obstacle for that point in time.

The backside rays are used to confirm that obstacle is avoided which front rays previously detected.

More this blog here: Enemy Obstacle Awareness AI





Wednesday, 2 September 2015

How it Works User Interface 4.6 in Unity


Working With Unity UI 4.6



Unity has been hard at work getting the new UI system ready for release in Unity 4.6.

The UI System allows you to create User Interface (UI) fast and intuitively.

This is an introduction to the major features of Unity’s new UI systems.

Unity 4.6 has a newly added feature UI in it. Using Unity UI we can manage our game
User Interface.

Using React Transform tool, we can manage scaling, position and rotation of UI
Element and Pivot tool manages pivot point of UI elements

The UI system in Unity includes a variety of tools for this purpose that can be in various ways.

UI 4.6 provides many built-in components to develop the user-friendly interface.

Read more this blog here: How it Works with Unity UI 4.6


Button Click Effect in UNITY 4.6 UI Using Scripting




In this unity 4.6 tutorial, we all take a look at the basics of using the new UI to create a “world space” text appear via a scripted trigger.

You can give click effect to a button through animation or scripting.

There are following variables in the inspector for Button Click script.
-    First is used to set a scale of a button at a start.
-    Second is used to set the scale or the button when it’s being clicked.



Dynamic Scroll View in Unity 4.6 UI 



This script, when attached to a panel turns it into a scroll view.

You can then attach Dynamic Scroll View to colliders within to make it dynamic.

The images to assign “Dynamic Scroll View” script to panel scroll view game object.

Drag and Drop all the other required objects to that script in the inspector.

A simple scrollbar is used here to scroll the content.

The game object named ‘item’  is used as the content of the scroll view.
Panel scrollbar game object contains Scroll-Rect and Scroll Content contains grid layout group component 

Read more this blog here: Dynamic Scroll View in Unity 4.6 UI

Thursday, 27 August 2015

How to Works Patch Tool, Lasso Tool and Healing Tool in Photoshop


Working with Patch Tool in Photoshop



  • Patch Tool is on of the best tool in Photoshop has to offer.
  • It can save you a ton of time when trying to make some adjustments to your image.
  • Patch tool is used to remove unwanted image elements.
  • The Content-Aware option in the patch tool synthesizes nearby content for seamless blending with the surrounding content. 
  • It will replace the selected area with the chosen area. You can also use this tool for duplication.
  • The Patch Tool retouches image using sampled pixels or pattern*.
  • It works as a combination of the Healing Brush with the Lasso Tool
  • Let’s take a look at the patch tool.
  • Here, I’ve used in Photoshop CC.

        Read this blog here: Working with Patch Tool in Photoshop

How to Work with Lasso Tool in Photoshop



 


        What is Lasso Tool?
  • This is freehand selection tool.
  • The lasso tool allows you to select precise areas of an image by drawing or tracing the selection outline.
  • Select the Lasso tool, and set feathering and anti-aliasing in the options bar.
  • It is usually used to cut out, or select specific sections of a per-existing picture.
  • Access the lasso tool by clicking on the icon located on the tool bar, or process the keyboard shortcut L.
  • Lasso tool is used to copy something onto another picture.
  • Lasso tool one of the most useful tools it comes to selecting a part of an image and will always be used even by the experts.

       Read this blog here: How to Work with Lasso Tool in Photoshop


 
Working with Healing Brush Tool in Photoshop

           
  • The Healing Brush tools always you to fix image imperfection such as scratches, blemishes, etc.
  • Healing brush tool lets you correct imperfections, causing them to disappear in to the surrounding images.
  • Healing brush tool to paint with sampled pixel from an image or pattern.
  • It samples the colors, luminosity and texture of the source area separately and blends it with the destination area.
  • Two options available for giving retouching effect to the game background are
    1.    
    Spot Healing Brush Tool
    2.    
    Healing Brush Tool
  • The Spot Healing Brush tool is used to clone areas and quickly remove the blemishes from the image.
  • Healing Brush Tool is similar to content-aware version of the clone stamp tool.
  • The main difference between Spot Healing Brush and the normal healing brush is that the spot healing brush requires no source point.

        Read this blog here: Working with Healing Brush Tool in Photoshop








Thursday, 9 April 2015

Implements the RevMob, AdMob and AdColony in Unity

Add Implementation in Unity RevMob

  • RevMob SDKs can be used by advertisers who want to report the installation of the advertised app. 
  • Reporting installation is very simple and srarting RevMob session is enough. 
  • Any advertisers who are willing to report advertised app’s installation can use this SDK. 
  • Reporting installation contains number of easy and simple steps and it will start RevMob session. 
  • This SDK basically provides banner ads, interstitial ads, links, and popup.


Read more this blog here :- AddImplementation in Unity RevMob


Add Implementation in Unity using AdMob

  • This blog provides best practices for integrating banner as well as interstitial Ad.
  • Any advertisers who willing to report advertised app’s installation can use this SDK.
  • AdMob is google’s mobile advertising platform specifically designed for mobile apps.
  • AdMob can be annoying fir users, who have their games interrupted by AdMob ads.
  • These mobile advertisements enables developers to offer mobile games for free, since developers can make revenue from the AdMob advertising instead.


Read more this blog here :-  AddImplementation in Unity using AdMob  


Add Implementation in Unity using AdColony

  • AdColony is a premium mobile video ad network and monetization solution. 
  • Unity supports many kind of Ad plugin.
  • It’s provides best practices for integrating video ad 
  • AdColony’s unity plugin for android enables you to easily monetize your Unity app or game with high-impact, visually-stunning HD video ads.


Read more this blog here :- AddImplementation in Unity using AdColony



Saturday, 4 April 2015

Today's Top Three Graphics Blog

1. Create Pixel Art in Photoshop <>

Ø  “The camera scan photograph and encode the image in to pixel”
     
  Ø  The smallest individual unit of your display is Pixel.
 
  Ø  Pixel is a not easy to understand, but to play with difficulty.

  Ø  The Physical size of a pixel depends on how you have set the resolution for the display screen.

  Ø  Pixel art has picked up after the massive success of Floppy Bird game.

  Ø  The pixel is feels awesome to create your own pixel art and to see it at work in your games.

  Ø  Graphics designer must have knowledge about all types of graphics and Pixel art is one of them.

  Ø  Pixel art is quite popular in game development and illustration.

Read this blog here :-
CreatePixel Art in Photoshop.


2. Working with Crop Tools in Photoshop

                                  

  Ø  This blog is how to how to work with Crop Tools.

  Ø  The crop tool allows you to select an area of of an image and discard everything outside this area.

  Ø  In order versions of Photoshop up to CS5, were only three options available in the crop tool menu Crop, Slice & Slice select tool but From Photoshop CS6 on words there is a forth option added to the menu.

  Ø  Crop tool is used to trim the selective areas of an image, it’s reduce the size of the image.

  Ø  Perspective crop tool is used to convert perspective image to flat image.

  Ø  It is used to flatten the image that is captured at different angles.

  Ø  Slice & Slice tool divides the image into various pieces, it is used to websites later.

Read this blog here :- Workingwith Crop Tools in Photoshop


3. Working with History Brush Tool in Photoshop

                                            
 
  ØHistory brush tool is used selectively restore the color, detail, smoothness and attributes of an image.
 

  Ø  It is use and we want to convert color images to black & white images.

  Ø  Art history brush tool is similar to blur tool but it works on the layer and replaces the attributes of the real layer.

  Ø  The opacity sets the opacity level for an element.

  Ø  Opacity level describes the transparency level, whew 1 is not transparent at all. 0.5 is 50% see through, and 0 as completely transparent.


Friday, 3 April 2015

Top Three Blog's in Andorid

1. Android Facebook Integration Tutorial

  • This tutorial is about integrating Facebook into your android application.
  • Android allows your application to connect to Facebook and share data or and kind of updates on Facebook.
  • This is the first way of connecting with Facebook.
  • You have to register your application and then receive some application Id.
  • You have to download Facebook SDK and add it to your project.
  • Facebook expects a signed application to connect to contact it for application to contact it for authorization.
  • When people log into your app with Facebook they can grant permissions to your app so you can retrieve information or performs actions on Facebook on their behalf.
  • And more…


Read more this blog here :- AndroidFacebook Integration Tutorial



2. Instagram integration in Android Application Tutorial

  • Instagram is a social networking service that allows its users to capture photos, modify and share them.
  • Instagram provides an API to get the photos for the logged in user.
  • Instagram is a new but successful player in social domain nowadays.
  • Instagram has captured lot of eyeballs after it got acquire by Facebook. 
  • Instagram is also growing its user base and getting more popular day by day.
  • The following kind of operation in API
  • To get all media files uploaded by user on instagram.
  • To view like and comments for the media files
  • To get followers and following information
  • To get user information
  • And more





3. Integrate DropBox API in Android

What is Dropbox API

  • Dropbox API is the application interface provided for android devices.
  • This API allows your mobile app to store and sync with Dropbox.
  • This Facilitates your mobile app with its own private Dropbox
  • Integrating Dropbox SDK to your android app you have to create a new application on Dropbox developer console.
  • A Dropbox account and uploaded the source files of an Android project you want work on.
  • And more…



Read more this blog here :- IntegrateDropBox API in Android

Wednesday, 18 February 2015

Today's Top Three Android Blogs

1 SQLite Database in Android

This post is describes how to use the SQLite database.

It`s demonstrates the usage of loader framework allow to load data asynchronously.

SQLite Database class for working with  SQLite database in Android to provides methods , query, update and close database.

This Project create a new class in your new project directory and name is DatabaseHelper.

Class is extends in your DatabaseHelper from SQLiteOpeHelper.

It is used DatabaseHelper Class in SQLiteOpenHelper.

The data read and write, inserting records, updating records,delete records, and reading the row in SQLite Database .

The main objectiv in this post to understands in SQLite Database in Android.




2 Android Text in PDF

This  post is understand how it can be generate PDF file in android.

It is used to generate your own PDF file in android.

The data arranging in a text format, graphics,images on this page.   

Text is pdf library allow to create,inspect and maintain document in PDF.

To generate document and reports based on PDF.
Before the project download the zip file, after the extrct zip file and add the three files in this application.

Run this application and to save AndroidText PDF file in sdk card.

This applicatin is create in text to pdf file in android.





3 Android linkedin connectivity code sample

This post is to help you in understand how to LinkedinConnectivity  in android.

In demonstrates android linkedin Auth imlementation using scribe library.

The implements a simple application myconnection.

Before the create this apps in download the jar file and add this file in project.

It was StrictMode.ThreadPolicy since API level 9 then default thread policy has been changed since API  level 11.

It means does not alloews network operation to get execcuted in UIThread.