Monday, 7 October 2013

useful code?

http://answers.unity3d.com/questions/63456/simple-ai-patrol.html

https://www.assetstore.unity3d.com/#/content/7677


World Building

At the moment where trying to devalop the world which out charicter will be throwen into, in particuler the scenery and so on.


last consept with the houses is only a rough level desing for the bigining of the game, the houses will be changed to a more medevil look.

more consepts on the way!
 

Presentation

http://prezi.com/9cxgmfrqjgor/edit/

Tuesday, 1 October 2013

Code so far

So the challenge right now is to create a graybox beta, to make sure we have code working and then we can get on with design and style when we know we have some thing that works.
So far i have manage to get a camera code that makes the camera for the third person control in unity here is the codec which is in JS:

var Target : Transform;
var distanceFromPlayer = 10;
function LateUpdate()
{
transform.position = Target.position + Vector3(distanceFromPlayer,0,0);
}

This code is basically telling the camera to follow the 'Player' with 10 distance on the x axis so it is fixed in place and can only move side to side even when the character turns the camera will stay in a fixed postion from the player controller.