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.
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...
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...
This script takes a screenshot and saves it to the user desktop. It has options to use an alpha background, and also upscale the image. Usef...
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...
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
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...
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...
Space is awesome. Especially when it is generated using Perlin noise, and some cool shaders. You can try it out over here.
import csv open("output.tsv", "w").write("\n".join("\t".join(e.strip() for e in i) for i in csv.rea...