Tuesday 31 December 2013

2D Vehicle / Car Physics In unity 4.3 2D Physics engine (with source code)

Hello Readers, I'am presenting all of you my new incomplete 2D Car physics game. It has many bugs and missing features and the physics is not as realisic as it it should but these features will be added in later updates for now it is only for testing. If anybody has some suggestion, please comment.
Download Link for the source code --
Click here to download my 2D car physics game

Monday 30 December 2013

2D Charcter Movement -- Update 3 (new features -- kick and punch fighting animation)

Hello, Readers This is my third update of character movement I've added the kick and punch animation. press 'x' for kick and 'e' for punch. This is a minor update but i think i'll let you know about this and share it with you. thanks for reading. Click here To download 2D character movement update 3Download Links ---


Sunday 29 December 2013

2D Character Movement Update 2 -- (new feature -- Image flipping)

Hello readers, there is a major update of my 2d character system which is a optimize feature also used in unity 2d Platformer complete project on asset store that is image flipping. Image flipping is essential features of a 2d game, it allows us to be exempted from creating left and right sprites such as 2 animation for idle (idleright and idleleft). In image flipping we use only one animation sequence and just flips it when player changes the direction. That is why my first update of 2d char... was 6mbs but it reduced to 3mb after using image flipping which is a good thing. Thanks for reading my blog.
DOWNLOAD LINK FOR 2D CHARACTER MOVEMENT UPDATE 2 ---

Click here to download 2D Character Movement Update 2

Unity 2D Character movement -- update 1 (new features - jump system and animation included)

I've created a good jump and animation system in my 2D character movement game. It's working as good as it should. That is why i wanted to share this with all of you. Like always i've created the sprite in 3ds max and render it out to import in unity. I will aso share my example folder with all of you. You can download the unitypackage from --
Click here to download the unity 2D character movement package

Thanks for Reading my blog.

Friday 27 December 2013

Unity Tutorial - How to Make One Way Platform in unity 4.3 2d

Hello Readers, I'll Show you how to make simple one way platform. It is simple, useful and efficient technique to achieve this result. Here is the procedure --
1.Make a Simple platform using Box collider.
2.Make a new game object children of the platform and add a box collider just below the original platform as shown in image and tick its 'is trigger' checkbox so that we can check player's collision in it.
3. Create a new Script to the game object we create in step 2 and assign the following script --

function Start () {
//the collider of the main visible platform
var collider : BoxCollider2D;
//this variable is true when the players is just below the platform so that its Box collider can be disabled that will allow the player to pass through the platform
var oneway : boolean;
}

function Update () {
//Enabling or Disabling the platform's Box collider to allowing player to pass
if (oneway)
  platform.enabled=false;
 if (!oneway)
  platform.enabled=true;  
}
//Checking the collison of the gameobject we created in step 2 for checking if the player is just below the platform and nedded to ignore the collison to the platform
function OnTriggerStay2D(other: Collider2D) {
     oneway = true;
}

function OnTriggerExit2D(other: Collider2D) {
//Just to make sure that the platform's Box Collider does not get permantly disabled and it should be enabeled once the player get its through
     oneway = false;
}

I've made a simple ball game to illustrate the application of the one way platforms. You can download the example project folder below. --

Click Here to download the One way Platform Example proect folder



Download Animated 2d Sprites for Unity 4.3 2d features (How to make animated sprites)

Hi, Viewers I've made some 2d animated sprites for unity 3d that i want to share with you.
The procedure to make such sprites is so simple that you you can also make this.This is the procedure. --
1.First you should have good 3d modelling and rendering software like 3ds max, maya etc. you can download the free software like blender, or buy anyone.
2. Download or model a good character and animate it using bones. You can use free bip files provided by autodesk to make run and walk cycles.
3. Create a camera with orthographic projection.
4. Render the animation with alpha (opacity) channel. ( hint - use .png format for best results.)
5.render the animation in a sequence of image files frame by frame.
6.Open all of the sequence in unity and assign them in a animation and use it in animation controller.

You can Download an example of animated sprites here --
Click Here To Download Animated Sprites


2D Character Movement in Unity 4.3 2D

This is my second post on my blog. This Post is for unity's user who want to create 2d Player movement in unity 4.3. I've renderd this sprite in 3ds max (by using the free soldier model made by mixamo) with alpha channel so that i can get a good animated sprite in unity. And scripted this very simple character movement based on rigidbody2d.addforce. This is a simple project showing the capabilities of new unity 3d 2d engine. You can download the unitypackage or so called project from here -

Download Project Folder.

Thanks for viewing my blog

Welocome To My Physicist3d's Blog

Welcome, all my friends My real  name is Sudhir. I am a beginner 3d modeler and programmer. I created this blog to share my works. I use 3ds max (student Version) for 3d modelling and unity for game developing and programming. I'am a student and learning programming, so it may look so perfect as a professional does. I hope you will like the blog. Thanks for viewing