Monday 25 January 2010

The results are in!

I got a 1st :D *YAY HANDS UP*

Friday 15 January 2010

Ragnarok Posters



samples of possible Ragnarok posters

Thursday 14 January 2010

Title Screen


A screenshot of the title screen

Wednesday 13 January 2010

Great Balls of Fire

I have successfully managed to create FIRE BALLS to be used anywhere on the Terrain! :D

Tuesday 12 January 2010

That's a Spicey Fire Ball!






Just a few shots showing the game play and some nice scenery too.

Monday 11 January 2010

Third Eye for the Norse Guy

I am currently working on a movable camera for my character and I have this script so far but i cannot get it to work. I will try to get it work over the next few days;

var target : Transform;
var distance = 10.0;

var xSpeed = 250.0;
var ySpeed = 120.0;

var yMinLimit = -20;
var yMaxLimit = 80;

var zoomRate = 20;

private var x = 0.0;
private var y = 0.0;

@script AddComponentMenu("Camera-Control/Mouse Orbit")

function Start () {
var angles = transform.eulerAngles;
x = angles.y;
y = angles.x;

// Make the rigid body not change rotation
if (rigidbody)
rigidbody.freezeRotation = true;
}

function LateUpdate () {

if (target) {
if (Input.GetMouseButton(0))
{
x += Input.GetAxis("Mouse X") * xSpeed * 0.02;
y -= Input.GetAxis("Mouse Y") * ySpeed * 0.02;
var test = 0;
test = y;
}
distance += -(Input.GetAxis("Mouse ScrollWheel") * Time.deltaTime) * zoomRate * Mathf.Abs(distance);
if (distance < 2.5)
{
distance = 2.5;
}
if (distance > 20)
{
distance = 20;
}


y = ClampAngle(y, yMinLimit, yMaxLimit);

//Debug.Log("y: "+y+" test: "+test);

if( y == yMinLimit && test == yMinLimit)
{
// This is to allow the camera to slide across the bottom if the player is too low in the y
distance += -(Input.GetAxis("Mouse Y") * Time.deltaTime) * 10 * Mathf.Abs(distance);
}

var rotation = Quaternion.Euler(y, x, 0);
var position = rotation * Vector3(0.0, 2.0, -distance) + target.position;

//Debug.Log("Distance: "+distance);
transform.rotation = rotation;
transform.position = position;
}
}

static function ClampAngle (angle : float, min : float, max : float) {
if (angle < -360)
angle += 360;
if (angle > 360)
angle -= 360;
return Mathf.Clamp (angle, min, max);
}

Norse Gods Can't Jump

I have come to the horrible conclusion that I cannot figure how to get my character to jump :(, I have tried multiple scripts with multiple variations of those scripts, for example;

private var walkSpeed : float = 1.0;
private var gravity = 100.0;
private var moveDirection : Vector3 = Vector3.zero;
private var charController : CharacterController;


function Start()
{
charController = GetComponent(CharacterController);
animation.wrapMode = WrapMode.Loop;
}


function Update ()
{
if(charController.isGrounded == true)
{
if(Input.GetAxis("Vertical") > .1)
{
if(Input.GetButton("Run"))
{
animation.CrossFade("run");
walkSpeed = 25;
}
else
{
animation["walk"].speed = 1;
animation.CrossFade("walk");
walkSpeed = 6;
}
}
else if(Input.GetAxis("Vertical") < -.1)
{
animation["walk"].speed = -1;
animation.CrossFade("walk");
walkSpeed = 6;
}
else
{
animation.CrossFade("idle");
}


// Create an animation cycle for when the character is turning on the spot
if(Input.GetAxis("Horizontal") && !Input.GetAxis("Vertical"))
{
animation.CrossFade("walk");
}


transform.eulerAngles.y += Input.GetAxis("Horizontal");
// Calculate the movement direction (forward motion)
moveDirection = Vector3(0,0, Input.GetAxis("Vertical"));
moveDirection = transform.TransformDirection(moveDirection);

}

moveDirection.y -= gravity * Time.deltaTime;
charController.Move(moveDirection * (Time.deltaTime * walkSpeed));
}

This doesn't work for a Third Person Controller.

Sunday 10 January 2010

Target Practice





Various screenshots of the quests.

Portal in Unity



Couple of screenshots

Saturday 9 January 2010

Not Admitting Defeat ......yet

I have managed to create a lot of elements of the game that I wanted so far however i still cannot figure our how to create armor for upgrades within the game, I will try to do this in the 7 days I have left but it may not happen.

On the bright side I have created a playable 'quest' element (the first of many I hope) for my game and I am currently working on interaction with NPC's, I will post screeshots of my quest sometime today. (It's only little but it works!)

I have also decided to create a pathway for the character to follow as the game level itself is huge and the player could get lost and ultimately bored with the game play.

Tuesday 5 January 2010

Particle Systems





Screen shots of particle systems and the entrance and exit of the game level.

Portal in Cinema 4D



Quick shot of the portal in Cinema 4D.

Good Locations





A few good location shots from my level in Unity 3D to show the bridges and NPC's

The Map



A few screen shots of the map of my level made in Unity 3D