In my spare time this week, instead of building spaceships, playing games or even drinking beer... I will make a game for the Apple App Store using Unity3D.
Next Wednesday I shall announce my failure, or success.
Who will join me? :-)
RAGE!: Unity3D Bug? kills all progress...
Verdict:
Failure. The above bug sucked my will to code for at least two days, though Unity does appear to be behaving now.
What have I got to show for the weeks effort?
1. I know that terrain meshes run acceptably fast on the iPad in the 1500-2000 vertex range. Meshlab does an excellent job of reducing Unity Terrain meshes to usable vertex counts.
2. A reasonable approximation of a car engine, transmission and differential.
3. An objective / waypoint system for running a race around a terrain.
I will revisit this again later. Sad Face.
Tuesday, November 30, 2010
Monday, November 29, 2010
Server Retirement.
Such a Sad Thing.
simon@metaplay:~$ uptime
12:49:18 up 923 days, 4 min, 1 user, load average: 0.00, 0.00, 0.00
Sunday, November 21, 2010
Friday, November 19, 2010
Carrier #2
Thursday, November 18, 2010
Exploding Spacecraft...
What is the point of a nice spaceship model... If you can't blow it up? Not too much I hear you say. Well, now I can blow arbitrary spaceship models apart! w00T! :-)
Labels:
Games,
Spacecraft,
Unity3D
A Fleet is born...
I'm still working on the shaders. I added a toon lighting model which has definitely improved the lighting, but I'm not sure why my edges are so jaggy! Hmmm.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgri-wkkETVgAuVPbOzUWKM5xFBzKQGdBmKBjtWr26rQS-5cvrSb4pTabRrV-mtZsvMSZSECNcFNKvWMxEnEWoNzwt2kUdLIXY4MkTRxQy2v2_N-eXKxCtPyZPGrCYIye_88yz4ffdw_Vc/s400/fleet2.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgri-wkkETVgAuVPbOzUWKM5xFBzKQGdBmKBjtWr26rQS-5cvrSb4pTabRrV-mtZsvMSZSECNcFNKvWMxEnEWoNzwt2kUdLIXY4MkTRxQy2v2_N-eXKxCtPyZPGrCYIye_88yz4ffdw_Vc/s400/fleet2.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB8OFdvmm_keVW8MmuYRqz9aBRsLvvMqMFrHG-yhB923HNoRqxx8pncdfncEMk8K8vZqB0wUKW8S3diLU-6qszAfWi3tDEL3-08sQypNyI_kjs5MvsMDvG9M_OC0J2ovmD6rxpRQckoAc/s400/fleet1.jpg)
Labels:
Games,
Spacecraft,
Unity3D
Tuesday, November 16, 2010
Monday, November 15, 2010
Spacecraft Development.
Wednesday, November 10, 2010
Non Photo-realistic Rendering.
I'm experimenting with flat shading and full screen pixel shaders. What do you think? Would you buy this game? :-)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3PXbA9vQy3pQo6vnUqvrZpoFBaQSMCoL8DedvwtQnhnOxS_mB5XuPGCiSvgXsFmqwgL2hezQxI3Z36ebdg66sC3y3ePC95TFurHOKesHJDQX80el55oBkS2Fru27-3O8NqsjFvNPC8x8/s400/Screen+shot+2010-11-10+at+10.43.24+PM.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3PXbA9vQy3pQo6vnUqvrZpoFBaQSMCoL8DedvwtQnhnOxS_mB5XuPGCiSvgXsFmqwgL2hezQxI3Z36ebdg66sC3y3ePC95TFurHOKesHJDQX80el55oBkS2Fru27-3O8NqsjFvNPC8x8/s400/Screen+shot+2010-11-10+at+10.43.24+PM.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbQcwcl9icA0hrn74EstI5HBCjw_DkUlM3r2X4DSBYS9MQma5j13eiAFX-JEKtWA9K7r1JoEadxwaj5CH2Edu3V1ax783EFmenzYYQ3QGnejeWFAj0MU5SUsjNt9Z9op69PGdIGRDnfO8/s400/Screen+shot+2010-11-10+at+10.43.45+PM.png)
Labels:
Games,
Spacecraft,
Unity3D
Monday, November 08, 2010
Font Rendering Problems in Unity3D
OSX Web/HTTP Sniffer Tool.
HTTP Scoop from Tuffcode. Great tool, invaluable if you have to work with HTTP.
Tuesday, November 02, 2010
Automagic GUI Scaling in Unity3D
Step 1. Tell you team that everything must fit within 1920x1080 or 1024x768 or whatever resolution you like!
Step 2. Surround all OnGUI method body code with methods BeginGUI and EndGUI from the below class.
Step 3. Scaling across all resolutions... problem solved!
Step 2. Surround all OnGUI method body code with methods BeginGUI and EndGUI from the below class.
Step 3. Scaling across all resolutions... problem solved!
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GUISizer {
static float WIDTH = 1024;
static float HEIGHT = 768;
static List<Matrix4x4> stack = new List<Matrix4x4> ();
static public void BeginGUI() {
stack.Add (GUI.matrix);
Matrix4x4 m = new Matrix4x4 ();
var w = (float)Screen.width;
var h = (float)Screen.height;
var aspect = w / h;
var scale = 1f;
var offset = Vector3.zero;
if(aspect < (WIDTH/HEIGHT)) { //screen is taller
scale = (Screen.width/WIDTH);
offset.y += (Screen.height-(HEIGHT*scale))*0.5f;
} else { // screen is wider
scale = (Screen.height/HEIGHT);
offset.x += (Screen.width-(WIDTH*scale))*0.5f;
}
m.SetTRS(offset,Quaternion.identity,Vector3.one*scale);
GUI.matrix *= m;
}
static public void EndGUI() {
GUI.matrix = stack[stack.Count - 1];
stack.RemoveAt (stack.Count - 1);
}
}
Subscribe to:
Posts (Atom)
Popular Posts
-
These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control...
-
I get many confused emails from people trying to get UniWeb to work in the Unity WebPlayer. It works, but you have to set things up correctl...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
-
I went to the pulse expo this evening, where one of the speakers mentioned that Ubisoft are in town (Perth, Western Australia), looking to...
-
I'm about to release a Tech Tree editor tool for Unity. To test usability and work out how improve the interface, I used it to buil...
-
I've been working on something new. I get a lot of projects where I have to add multiuser functionality. Finally I've made the jump ...
-
I decided to double check my assumptions about Stackless and the GIL on a multicore machine, using the same example provided by David Beazl...
-
In my spare time this week, instead of building spaceships, playing games or even drinking beer... I will make a game for the Apple App Stor...
-
In the 7 years I've been actively involved in web development, I have never seen any of my peers bother implementing proper controls to ...