The project I've been working on for the last 9 months has now launched!
It is a very big, very complicated game where the player manages every aspect of a team of Australian Football players.
The main simulator engine is written in Python, which I generated from the client's specification. It's not often a spec is detailed enough, and so well structured you can generated code from it! In total there is over 10000 lines of code just in the match simulator. The simulator generates a 1MB match log for each football game played, which can then be viewed as a real game thanks to a 3D visualisation written with Unity3D.
Some code statistics:
Sim Visualisation: 50000 lines of C#
Game Server: 27000 lines of Python (10000 auto-generated)
Database: 90 tables, 35 functions.
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
When you start working with threads in your Unity3D project, you will discover that many things need to be done in the main loop. For exampl...
Possibly slightly more correct lighting. The rim light is now only applied in the direction of the sun, rather than being purely based on v...
If you call gameObject.GetComponent , and there is no Collider on that gameObject, null is returned, but you will also see a memory allocati...
Thank to Adrian Boeing I was inspired this morning to hack together a ripple shader for Unity3D. Thanks for the math Adrian. You can see t...
import csv open("output.tsv", "w").write("\n".join("\t".join(e.strip() for e in i) for i in csv.rea...
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
Working with multiple threads is often a necessary evil. This is how I do it safely inside a Unity3D component. There are only certain time...
I've just seen and used a brilliant ssh option. The command: sudo ssh -D localport user@externalhost will set up a local SOCKS proxy l...
UniWeb now includes a tiny embedded web server which you can use to do crazy things. That is all.