Journal #6417

Posted 14 years ago2010-02-26 11:17:37 UTC
Unbreakable UnbreakableWindows 7.9 Rating!
Hi Im back, thought I'd hit it alot harder than I did... anyway

Heres something I did today, so don't laugh its basically a room, I was just testing out the software. so the stuff I put into the maya file took me like 2mins to make.. lol

Step 1. Download the Unity Web Viewer (just click the link I supply)
Step 2. once plugin is installed on my site you'll be able to move around.
Controls;
wsad for movement
Spacebar to jump

remember this is only a test.. I KNOW IT SUCKS!

http://www.mikeverret.ca/test.html
oh and also remember to click the sreen first, then you can move around.. :)

11 Comments

Commented 14 years ago2010-02-26 11:44:16 UTC Comment #39072
Welcome back.

I should try my hand at Unity sometime, seems like it's a good way to kill time.
Commented 14 years ago2010-02-26 13:58:16 UTC Comment #39071
...what do you mean 'kill time' its great for an online portfolio.. you can create a level design in Maya, and then run it through unity. and then host it for potential employers to view.. and it really doesn't take long.
Commented 14 years ago2010-02-26 16:03:27 UTC Comment #39074
Yay! Another Unity person! I have a friend!

You need the lock-mouse script. Freeb this Javascript.

function Start ()
{
// Start out in paused mode in web player

if (Application.platform == RuntimePlatform.OSXWebPlayer ||
    Application.platform == RuntimePlatform.WindowsWebPlayer)
{
	SetPause(true);
}
else
{
	SetPause(false);
	Screen.lockCursor = true;
}
}

function OnApplicationQuit ()
{
Time.timeScale = 1;
}

function SetPause (pause : boolean)
{
Input.ResetInputAxes();
var gos : Object[] = FindObjectsOfType(GameObject);
for (var go : GameObject in gos)
	go.SendMessage("DidPause", pause, SendMessageOptions.DontRequireReceiver);

transform.position = Vector3.zero;

if (pause)
{
	Time.timeScale = 0;
	transform.position = Vector3 (.5, .5, 0);
	guiText.anchor = TextAnchor.MiddleCenter;
}
else
{
	guiText.anchor = TextAnchor.UpperLeft;
	transform.position = Vector3(0, 1, 0);
	Time.timeScale = 1;
}
}

function DidPause (pause : boolean)
{
if (pause)
{
    // Show the button again
    guiText.enabled = true;
	guiText.text = "Click to start playing";
}
else
{
    // Disable the button
    guiText.enabled = true;
    guiText.text = "Escape to show the cursor";
}
}

function OnMouseDown ()
{
// Lock the cursor
Screen.lockCursor = true;
}

private var wasLocked = false;

function Update ()
{
if (Input.GetMouseButton(0))
	Screen.lockCursor = true;
// Did we lose cursor locking?
// eg. because the user pressed escape
// or because he switched to another application
// or because some script set Screen.lockCursor = false;
if (!Screen.lockCursor && wasLocked)
{
    wasLocked = false;
    SetPause(true);
}
// Did we gain cursor locking?
else if (Screen.lockCursor && !wasLocked)
{
    wasLocked = true;
    SetPause(false);
}
}

Place it on your camera and it'll work. It'll make it so the mouse doesn't float around when you look.
Commented 14 years ago2010-02-26 16:07:32 UTC Comment #39076
Yay! Another Unity person! I have a friend!

Hey, I was using Unity before you pups were even born. I still don't trust it cause it's Apple and I hate Apple but it has some useful tech over other editors.

Actually a guy had Unity player stuff to show off his models for his portfolio. You could rotate it and shit but honestly it still took too long to buffer and no employer would wait. Also web player seriously bogs down visuals to run nicely whereas a real .exe export it much better.

There's a thread on Unity Showcase forums called Jargon or something. Now that pushes the engine. Makes even my fan overheat.
Commented 14 years ago2010-02-26 18:02:58 UTC Comment #39080
Welcome back!
Commented 14 years ago2010-02-26 22:11:47 UTC Comment #39078
Habboi: Unity editor works on windows now, right? So it's no longer Apple?
Commented 14 years ago2010-02-26 22:59:10 UTC Comment #39073
Unbreakable: I meant it as a bit of a hobby for myself. I map/mod purely as a hobby, I'm not really considering a job in the games industry... at least not yet.

For someone who is, I get what you mean.
Commented 14 years ago2010-02-27 09:19:08 UTC Comment #39070
Apple never had anything to do with it except for providing the platform.

Unity is very nice, but it lacks a good structure which can become quite frustrating when trying to program for it. I prefer XNA/flash over Unity.
Commented 14 years ago2010-02-27 16:21:56 UTC Comment #39077
I say Apple cause it feels like one, you drag and drop and it sometimes feels like you lack control.
Commented 14 years ago2010-02-27 16:41:06 UTC Comment #39075
Things about unity that bother me so far:
? No Selection drag box.
? Multiple selection modification sucks.
? Free version is very buggy.
Commented 14 years ago2010-02-28 00:30:34 UTC Comment #39079
Welcome back! =)

checking out your room now..
edit:
movement keys don't work for me (i can just move my head with the mouse)
room is as you said, but pretty neat you can view it through a webpage...

i'll have to check out this "unity engine" a little more..

)

You must log in to post a comment. You can login or register a new account.